OpenVPN to connect remote networks, peer to peer instead of client/server possible

networkingopenvpnvpn

I would like to connect two remote networks using OpenVPN. I am very new to this we are very small and don't have a sys/network admin. What are the possible setups to have both networks both live on a common LAN via OpenVPN?

I would prefer to use the UDP peer model rather than client/server. Is there a way to set that up instead? I can't see how because no computer on existing network A has a routable address to any computer on existing network B and vice versa.

Best Answer

The peer to peer feature of OpenVPN, just means either side can initiate the connection. It doesn't have any method to bypass NATs.

OpenVPN has a very simple protocol, and is very easy to get through a firewall and setup port forwarding for. On either network you could pick any port, forward that to the system inside the network that will terminate the OpenVPN connection. Then adjust the configuration to use that port. By default OpenVPN uses 1194.

You didn't mention what type of routers you have on these two networks, but some routers have a VPN on them. Or if these are small consumer routers it is likely you could install a firmware on them that will include OpenVPN. Which you can use to create the VPN from the routers which will have a public address, and will allow you allow access to whole network.

Related Topic