Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 1 down vote accepted

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.

share|improve this answer
One is a cisco router which does include a VPN, the other is an actiontec "came with the internet service" dsl-modem/router. I have no idea how would would get a firmware for the actiontec that included OpenVPN. How is that possible? – John Robertson Jan 14 '11 at 18:27
Is replacing the Actiontec router with a Cisco router an option? That may be a better solution, in any cases you should be able to forward the required ports to a device behind the router on either site. – Zoredache Jan 14 '11 at 18:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.