• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 255
  • Last Modified:

Basic Open VPN Config

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
Crazy_Penguins
Asked:
Crazy_Penguins
  • 2
  • 2
1 Solution
 
rowansmithCommented:
Add a route on the client

route -p 10.10.10.0 255.255.255.0 <Gateway IP Address>
0
 
Crazy_PenguinsAuthor Commented:
Will this keep the route after reboots / etc...
0
 
rowansmithCommented:
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
 
Crazy_PenguinsAuthor Commented:
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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now