Quantcast
Channel: Active questions tagged openvpn - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 834

Allowing only one connection among multiple openvpn servers

$
0
0

Just wondering it's possible to allow only one connection among multiple openvpn servers?

For example, if I have 3 openvpn servers like below, I want the client to connect only one of the servers among 3.

It looks 3 openvpn servers share some information. Is it possible?

server1.conf

server 172.16.0.0 255.255.255.0dev tunproto tcpport PORTkeepalive 10 120push "route x.x.x.x 255.255.255.0"ca cacert.pemcert server1.crtkey server1.keydh dh1024.pem

server2.conf

server 10.0.110.0 255.255.255.0dev tunproto tcpport PORTkeepalive 10 120push "route x.x.x.x 255.255.255.0"ca cacert.pemcert server2.crtkey server2.keydh dh1024.pem

server3.conf

server 10.0.50.0 255.255.255.0dev tunproto tcpport PORTkeepalive 10 120push "route x.x.x.x 255.255.255.0"ca cacert.pemcert server3.crtkey server3.keydh dh1024.pem

Thank you.


Viewing all articles
Browse latest Browse all 834

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>