인디노트
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 |