Basic Open VPN Config

Posted on 2008-06-13
Medium Priority
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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 11

Accepted Solution

rowansmith earned 2000 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

Looking for the Wi-Fi vendor that's right for you?

We know how difficult it can be to evaluate Wi-Fi vendors, so we created this helpful Wi-Fi Buyer's Guide to help you find the Wi-Fi vendor that's right for your business! Download the guide and get started on our checklist today!

Question has a verified solution.

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

I've had to do a bit of research to setup my VPN connection so that Clients can access Windows Server 2008 network shares.  I have a Cisco ASA 5510 firewall.  I found an article which was extremely useful: It had a solution if you use ASDM to config…
Secure VPN Connection terminated locally by the Client.  Reason 442: Failed to enable Virtual Adapter. If you receive this error on Windows 8 or Windows 8.1 while trying to connect with the Cisco VPN Client then the solution is a simple registry f…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), 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…
Suggested Courses

650 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