Welcome, Guest. Please login or register.
Did you miss your activation email?
Wednesday 27 November 2024, 07:09:57 pm

Login with username, password and session length

Download the latest community FREE version  HERE
14261 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  VPN Support
| | |-+  OpenVPN Windows 7 route problem
0 Members and 0 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: OpenVPN Windows 7 route problem  (Read 24775 times)
oversten
Jr. Member
*
Offline Offline

Posts: 1


« on: Monday 26 September 2011, 02:38:14 am »

Hi All,
hoping somebody can help me with my VPN problem.
Just set up EFW and configured the VPN through OpenVPN.

My problem is that when my win 7 machine has connected to VPN I can PING everything on my orange network 192.168.14.0 and the EFW 192.168.13.1.
However I can not PING anything else on the 192.168.X network.

After doing some tracert I realized that the row thats added to the routing table is incorrect, the row looks like this:
  192.168.13.0  255.255.255.255         On-link    192.168.13.151
Where 192.168.13.151 is the IP i recevied from EFW vpn server.
Problem is that On-Link makes this route use "default system gateway" and that is not the correct one, I want it to use 192.168.13.1.

I tried to push the correct route from the server but this results in two routes to the same network and Win7 seems to choose the "On-Link route anyway".
At the moment I have solved this by adding a bat-file to route-up where I delete routes for 192.168.13.0 and adds ONE back again with the correct gateway.
This solution isn't ideal though since I have to change this bat-file for every client since the tap-adapter has different interface numbers on every client.

Does anybody know of a solution to this problem, either natively or a way to more dynamically change the routes on connect through for example route-up

/Mattias
Logged
mrkroket
Hero Member
*****
Offline Offline

Posts: 495


« Reply #1 on: Tuesday 27 September 2011, 12:59:19 am »

About OpenVPN clients, routing issues can be from three causes:
1-On the firewall there are incorrect rules for the VPN firewall. You must set the correct rules to allow the traffic pass from VPN to X.
2-Clients doesn't properly add their routes. This is a known problem in Windows Vista/7 machines. I think you can set a line on the client's config file to fix that. As a dirty easy workaround run OpenVPN as administrator. Search the very same problem on Google, is typical.
3-Target machine doesn't have a route to reach the Client. Check all routes (forward and backwards) with traceroute, to ensure that the traffic does what you expected.
Logged
tuneo
Jr. Member
*
Offline Offline

Posts: 1


« Reply #2 on: Monday 23 January 2012, 03:35:43 am »

I am facing same issue and workaround by bridge openVPN connection to Blue zone then go to VPN Firewall and put
Blue - OpenVPN : Any --> Green
Green --> Blue - OpenVPN
and it seem to work well

I don't know why bridge to Green generate routing problem. But now I move to next
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.094 seconds with 19 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com