• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 259
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Worried about phishing attacks?

90% of attacks start with a phish. It’s critical that IT admins and MSSPs have the right security in place to protect their end users from these phishing attacks. Check out our latest feature brief for tips and tricks to keep your employees off a hackers line!

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