1

I would like to be able to extend multiple networks between different physical locations without having to run a separate VPN connection for each network. Here's my example:

VPN Network is 192.168.1.0/24 using an OpenVPN server.

Assume 2 locations with the following setup: ASUS router running VPN client connected to 192.168.1.0. Has clients on 192.168.10.0/24 and 192.168.20.0/24.

I would like clients on both the 192.168.10.0/24 and 20.0/24 networks at each location to be able to talk to each other over the single VPN connection that is already established from the routers. Is this possible? Can someone point me to any relevant configuration options for OpenVPN? Perhaps I'm overthinking this and it's easier than it seems?

8
  • 1
    Try this guide from the OpenVPN wiki, and come back with any specific problems you have: community.openvpn.net/openvpn/wiki/RoutedLans – heavyd Oct 5 '17 at 14:34
  • Thanks for pointing me to that page, it has some good information. It doesn't quite cover what I'm looking to do though. In that example each "client" only has one LAN that is unique from the other client. In my case we have clients that are sharing the same LANs. I'd like to bridge each of those LANs between the two client locations using the same VPN connection. – Justin Bennett Oct 5 '17 at 14:49
  • So, you are saying both locations have both a 192.168.10.0/24 and a 192.168.20.0/24 network? – heavyd Oct 5 '17 at 14:54
  • Yes, exactly. I'd like those two networks at each location to be extended over the single VPN connection, if possible. My searching has turned up examples similar to the one you linked, but nothing quite like what I'm looking for, which maybe means it isn't possible (or maybe just not feasible). – Justin Bennett Oct 5 '17 at 15:01
  • I don't think you're going to be able to do that. The OpenVPN server needs to know which client to send traffic to for a particular subnet and can only have one client matching a single subnet, so the client subnets need to be unique. – heavyd Oct 5 '17 at 15:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.