일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
- SWIFT
- 애플
- kmip
- git
- Android
- albumbook
- OTP
- SSL
- 앨범북
- fido
- 안드로이드
- MYSQL
- apple
- OSX
- 2FA
- MSYS2
- WebAuthn
- 인증
- Nodejs
- SSH
- SwiftUI
- 앱스토어
- Xcode
- FIDO2
- css
- otpkey
- MFA
- 앱리소스
- appres
- openssl
- Today
- Total
인디노트
How to create multi-server vpn 본문
Easier than you might have thought.
First: Can you create a single server VPN?
If yes, then its very easy for you to create multi-server.
The simple and short answer is -- Just create more .conf files, and start openvpn as a daemon. For more detailed explanation, read on.
I'll give you example for 3 server VPN.
Go to your default openvpn directory. example:
CODE: SELECT ALL
cd /etc/openvpn
create server01.conf, server02.conf, server03.conf. Example:
CODE: SELECT ALL
touch ./server01.conf
touch ./server02.conf
touch ./server03.conf
Configure each server.conf to be a new server.
server01.conf:
CODE: SELECT ALL
port 1194
proto udp
dev tun
server 10.8.1.0 255.255.255.0
server02.conf:
CODE: SELECT ALL
port 1194
proto udp
dev tun
server 10.8.2.0 255.255.255.0
server03.conf:
CODE: SELECT ALL
port 1194
proto udp
dev tun
server 10.8.3.0 255.255.255.0
restart openvpn as daemon.
Centos
CODE: SELECT ALL
service openvpn restart
Debian
CODE: SELECT ALL
/etc/init.d/openvpn restart
i found a multi-server vpn provider somewhere on the net, they claimed they 5 servers and i found out that they only have one security certificate on the installer they provided and 5 ovpn files.
here's 5 the client config
CODE: SELECT ALL
client
dev tun
remote xxx.xxx.xx.xx
ca crt/ca.crt
CODE: SELECT ALL
client
dev tun
remote qqq.qqq.qq.qq
ca crt/ca.crt
CODE: SELECT ALL
client
dev tun
remote yyy.yyy.yy.yy
ca crt/ca.crt
CODE: SELECT ALL
client
dev tun
remote zzz.zzz.zz.zz
ca crt/ca.crt
CODE: SELECT ALL
client
dev tun
remote www.www.ww.ww
ca crt/ca.crt
'개발 플랫폼 및 언어' 카테고리의 다른 글
JDK Command Line 에서 다운로드 (0) | 2018.11.09 |
---|---|
httpd: bad user name daemon (0) | 2018.11.09 |
레드햇 OpenLDAP (0) | 2018.11.06 |
디렉토리를 제외한 파일목록만 가져오기 (0) | 2018.11.04 |
7. Makefile의 실제 예제 (0) | 2018.11.04 |