Client to Client from 2 access servers

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
duckman
OpenVpn Newbie
Posts: 1
Joined: Wed Apr 13, 2022 7:52 pm

Client to Client from 2 access servers

Post by duckman » Wed Apr 13, 2022 8:02 pm

After look through much documentation (mostly looks outdated or for non Access Server) I am at a loss.
I have a cloud network. One VPC in the US and one in Europe.
Both regions have an openvpn server for clients to connect too.
I need to get conenct vpn clients in Europe able to connect to vpn clients in the US but can't seem to. I really only need it to go one way. I can ping the OpenVPN Servers eth0 interfaces back and forth and I do have the routing for the client subnets in my router tables. I have also been able to ping from one of the VPN clients all the way to the US server but the echo replies do not come back.


The directions for bridging seem to be for something other than the Access server version and I am not sure which way to go.
I've tried both NAT and without NAT and Mixed with one server being NAT and the other.

Can anyone point me to some documents where this is clearly explained on the latest version of OpenVPN Access Server?


Thank you so much. I've been at this for 2 weeks now :)

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1333
Joined: Tue Feb 16, 2021 10:41 am

Re: Client to Client from 2 access servers

Post by openvpn_inc » Wed Apr 13, 2022 11:19 pm

Hello duckman,

Please forget about bridging. Wouldn't work in a cloud environment anyway, most likely, and it's also not a proper way to do this.

You need to set up at least one server with a site-to-site connection to the other site. You need routing set up in both directions. Since you mention VPC I assume this about Amazon AWS. Then you need to disable source/destination checking on the two machines forming the site-to-site connection. On top of that you'll need to put routes in place in both sites for the VPN client subnets. Then all should be able to route.

To diagnose problems try using tcpdump to monitor ICMP ping request/reply and see where it stops exactly.

It can be done but what you want is also one of the more difficult things to achieve because of all the places you need to put the routes and ensure that routing is done in all places, and not just NAT.

Kind regards,
Johan
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply