Basic Open VPN Config

Posted on 2008-06-13
Last Modified: 2010-04-12
I recently started helping a company that uses OpenVPN - I have never used the product and need a basic how-to on editing current config file.  It's a linux box.

My current issue - when a employee connects, it configures the route on his laptop with a subnet of - and it can only see the linux box, instead of the entire subnet.

Main office is 10.10.10.x
Client home is 10.10.8.x

Let me know if you need more information.
Question by:Crazy_Penguins
  • 2
  • 2
LVL 11

Accepted Solution

rowansmith earned 500 total points
ID: 21783828
Add a route on the client

route -p <Gateway IP Address>

Author Comment

ID: 21784352
Will this keep the route after reboots / etc...
LVL 11

Expert Comment

ID: 21784565
Yes you can use the -p (persistent) option

Which gets stored in the registry and is applied every time the system reboots.

If the VPN is not up then route will not do anything....

Author Comment

ID: 21969094
Here is what wound up working in my case.  The is the VPN adapter IP.


Open in new window


Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Cisco VPN Client and Windows 10 9 167
VPN doubts 4 81
Juniper VPN for Mac and windows OS 5 55
Draytek (Site to Site VPN using IPSec) 6 61
One of the Top 10  common Cisco VPN problems are not-matching shared keys. This is an easy one to fix, but not always easy to notice, see the case below. A simple IPsec tunnel between fast Ethernet interfaces of routers SW1 (f1/1) and R1(f0/0). …
For a while, I have wanted to connect my HTC Incredible to my corporate network to take advantage of the phone's powerful capabilities. I searched online and came up with varied answers from "it won't work" to super complicated statements that I did…
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question