Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 have a main office with a network and a subsidiary office that have a network with this address, i want to link this office :

Allow PC on the main office to access PC in the subsidiary and PC in subsidiary office to access PC on main office; in addition i want to allow some roadwarrior user to connect to main office Network with their notebook.

I want to use OpenVPN, and in subsidiary office i have a router with DD-WRT on board that theorically can connect to VPN Server on main office and distribute connection to each client.

What's the best way to implement a similar VPN?

Do i need to setup a routed or a bridged VPN ?

How to configure VPN serveR ?

share|improve this question
up vote 1 down vote accepted

Set up an OpenVPN server in the main office in client/server mode using x509 certificates and using the 'client-config-dir' option. Place a client-config file for the dd-wrt router in the client-config-dir directory

Configure the dd-wrt to connect as a regular client, but make sure to use a fixed IP and using an 'iroute' statement to tell the openvpn server that the network is behind the dd-wrt "client".

The road warriors can connect as regular clients to the OpenVPN server.

Most of this is explained in the OpenVPN HOWTO pages, especially the part 'expanding the scope' for information on the ccd-file and 'iroute' statements.



share|improve this answer

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.