Solved

Basic Open VPN Config

Posted on 2008-06-13
4
247 Views
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 255.255.255.255 - 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.
0
Comment
Question by:Crazy_Penguins
  • 2
  • 2
4 Comments
 
LVL 11

Accepted Solution

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

route -p 10.10.10.0 255.255.255.0 <Gateway IP Address>
0
 

Author Comment

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

Expert Comment

by:rowansmith
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....
0
 

Author Comment

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

ROUTE ADD -P 10.10.10.0 MASK 255.255.255.0 10.8.0.13 METRIC 3

Open in new window

0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

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). …
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
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…
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…

813 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now