What's new

Multiple vpn servers

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Make

New Around Here
Hi Guys,

I've setup 2 OpenVPN servers and when e.g. phone is connected to 2nd server, I cannot reach out the 1st server clients.
Any advice what I could do and how?

OpenVPN server 1: 10.0.5.0 / 255.255.255.0
OpenVPN server 2: 10.0.6.0 / 255.255.255.0


And another thing; when "Username/Password Authentication" is enabled and "Username / Password Auth. Only" is not enabled --> client specific settings can be done in Common name level. Problem is that all has same common name "client" (see screenshot).
If I enable "Username / Password Auth. Only" --> then client specific settings can be done in username level.
 

Attachments

  • pic.png
    pic.png
    37.5 KB · Views: 457
Hi Guys,

I've setup 2 OpenVPN servers and when e.g. phone is connected to 2nd server, I cannot reach out the 1st server clients.
Any advice what I could do and how?

OpenVPN server 1: 10.0.5.0 / 255.255.255.0
OpenVPN server 2: 10.0.6.0 / 255.255.255.0


And another thing; when "Username/Password Authentication" is enabled and "Username / Password Auth. Only" is not enabled --> client specific settings can be done in Common name level. Problem is that all has same common name "client" (see screenshot).
If I enable "Username / Password Auth. Only" --> then client specific settings can be done in username level.



zjQKx55.jpg

https://i.imgur.com/zjQKx55.jpg


n2mcX5Y.jpg

https://i.imgur.com/n2mcX5Y.jpg


TXcf3QL.jpg

https://i.imgur.com/TXcf3QL.jpg


Not sure if this applies to your certain case but configured my AC86U OpenVPN Gateway Server as detailed above.

By using TAP>TUN creates the bridge connection necessary for OpenVPN Server 2 remote connected clients to be able to ping / browse shares / remote desktop into OpenVPN Server 1 connected clients and vice versa as successfully configured on my OpenVPN Gateway Server to use TAP / UDP via port 1194 for OpenVPN Server 1 settings and TAP / UDP via port 389 for Server 2 settings.

By configuring the AC86U OpenVPN Gateway Server this way allows ALL clients on both OpenVPN servers to exist on a single LAN with no additional firewall rules required and achieve the possible throughput detailed below!;)

https://i.imgur.com/1ORcgLZ.png

https://i.imgur.com/hv2LARi.jpg


End to end TAP udp via port 1194 OpenVPN tunnel throughput pictured above of XMission's Utopia active ethernet fiber network 1 Gbps up/down throughput on both ends.





https://i.imgur.com/z3vpFiE.png

https://i.imgur.com/2jU9pZ3.jpg


Pictured above is the normal https://xmission.com/utopia throughput attained on either end of this test over the Utopia fiber network...


FWIW: RT-AC86U gateway OpenVPN Server router is able to achieve the above throughput for remote OpenVPN clients running under Merlin's latest RT-AC86U_384.6_alpha2-g5b076fc87 test build...
 
zjQKx55.jpg

https://i.imgur.com/zjQKx55.jpg


n2mcX5Y.jpg

https://i.imgur.com/n2mcX5Y.jpg


TXcf3QL.jpg

https://i.imgur.com/TXcf3QL.jpg


Not sure if this applies to your certain case but configured my AC86U OpenVPN Gateway Server as detailed above.

By using TAP>TUN creates the bridge connection necessary for OpenVPN Server 2 remote connected clients to be able to ping / browse shares / remote desktop into OpenVPN Server 1 connected clients and vice versa as successfully configured on my OpenVPN Gateway Server to use TAP / UDP via port 1194 for OpenVPN Server 1 settings and TAP / UDP via port 389 for Server 2 settings.

By configuring the AC86U OpenVPN Gateway Server this way allows ALL clients on both OpenVPN servers to exist on a single LAN with no additional firewall rules required and achieve the possible throughput detailed below!;)

https://i.imgur.com/1ORcgLZ.png

https://i.imgur.com/hv2LARi.jpg


End to end TAP udp via port 1194 OpenVPN tunnel throughput pictured above of XMission's Utopia active ethernet fiber network 1 Gbps up/down throughput on both ends.





https://i.imgur.com/z3vpFiE.png

https://i.imgur.com/2jU9pZ3.jpg


Pictured above is the normal https://xmission.com/utopia throughput attained on either end of this test over the Utopia fiber network...


FWIW: RT-AC86U gateway OpenVPN Server router is able to achieve the above throughput for remote OpenVPN clients running under Merlin's latest RT-AC86U_384.6_alpha2-g5b076fc87 test build...



Thanks for the answer.
I tried but I'm not able to connect android device when using TAP, also the internet traffic will increase.

I've added below rows to Custom Configuration box, but still not able to connect from 2nd server client (10.0.6.0 255.255.255.0):
push "route 10.0.5.0 255.255.255.0"
push "route 10.0.2.0 255.255.255.0"
push "dhcp-option DNS 10.0.5.1"
push "dhcp-option DNS 10.0.2.1"
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Members online

Top