Tuesday, May 7, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 3353  / 2 Years ago, sat, february 19, 2022, 8:28:00

I need to configure openvpn on server with one IP (213.11.23.155, vpn.example.com) for multiple networks, for example:



Network 1 computers:



125.16.1.1



125.16.1.2



Network 2 computers:



125.16.2.1



125.16.2.2



125.16.2.3


More From » openvpn

 Answers
0

Indeed you will want to start OpenVPN will multiple configs which reside in /etc/openvpn. Please take note that you'll need to make sure that port #### will have to have a different value for each configuration and that you'll be using, as well as those ports opened up on your firewall.



Also, please note that the 125.16/16 subnet is not allocated for personal use. If you use that space in your configuration it will interfere with connectivity to those actual machines. For internal network purposes you'll want to use the subnets listed here:



10.0.0.0    10.255.255.255  (10/8 prefix)
172.16.0.0 172.31.255.255 (172.16/12 prefix)
192.168.0.0 192.168.255.255 (192.168/16 prefix)


Simple config modifications would be as follows:



Config 1:



port 1194
server 10.20.30.0 255.255.255.0


Config 2:



port 1195
server 10.20.40.0 255.255.255.0

[#39606] Sunday, February 20, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
donurp

Total Points: 328
Total Questions: 128
Total Answers: 123

Location: Faroe Islands
Member since Thu, Apr 8, 2021
3 Years ago
donurp questions
;