OpenVPN + Windows 7

Sp00n

n00b
Joined
Apr 25, 2006
Messages
39
Why doesn't the dialer for windows work properly?

It just will not route properly, and if it does, then it only does it for a couple of minutes and then drops it for no apparent reason. I've added the standard fix of "route-method exe route-delay 2" but this makes no difference, it connects without an issue but I just cannot see anything on the other sides subnet.

I've tried manually adding the route which is very hit and miss so now I don't know what to do, grrr.

Has anyone had much luck with this?
 
Last edited:
What kind of VPN server are you remoting into? I've been using OpenVPN on my Win7 laptop for quite a while, works great. VPN'ing into Untangle clients of mine.
 
I'm using open vpn right now on my Lenovo T510, with windows 7 64bit professional. Open vpn is working great.

Did you give it permission to run ?
 
Right click on icon, "Run as administrator".

Unfortunately this is what I have been doing, doesn't seem to make any difference.

For the record I am connecting to a dgteam netgear DG834GT.

When I connect sometimes I can ping the netgear, most of the time I can't but if I can it won't last and it brings down everything including my net access so it's also defaulting to the remote gateway, I don't want this either but that's another issue.

Here's the connect log would looks fine to me:

Wed Sep 15 09:06:25 2010 OpenVPN 2.0.9 Win32-MinGW [SSL] [LZO] built on Oct 1 2006
Wed Sep 15 09:06:25 2010 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Wed Sep 15 09:06:25 2010 Static Encrypt: Cipher 'DES-EDE3-CBC' initialized with 192 bit key
Wed Sep 15 09:06:25 2010 Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Sep 15 09:06:25 2010 Static Decrypt: Cipher 'DES-EDE3-CBC' initialized with 192 bit key
Wed Sep 15 09:06:25 2010 Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Sep 15 09:06:25 2010 LZO compression initialized
Wed Sep 15 09:06:25 2010 TAP-WIN32 device [Local Area Connection 2] opened: \\.\Global\{F78E2B26-D52C-46D0-8CD4-D1DFF8B5F15D}.tap
Wed Sep 15 09:06:25 2010 TAP-Win32 Driver Version 8.4
Wed Sep 15 09:06:25 2010 TAP-Win32 MTU=1500
Wed Sep 15 09:06:25 2010 Successful ARP Flush on interface [15] {F78E2B26-D52C-46D0-8CD4-D1DFF8B5F15D}
Wed Sep 15 09:06:25 2010 Data Channel MTU parms [ L:1577 D:1450 EF:45 EB:135 ET:32 EL:0 AF:3/1 ]
Wed Sep 15 09:06:25 2010 Local Options hash (VER=V4): '931da659'
Wed Sep 15 09:06:25 2010 Expected Remote Options hash (VER=V4): '931da659'
Wed Sep 15 09:06:25 2010 UDPv4 link local: [undef]
Wed Sep 15 09:06:25 2010 UDPv4 link remote: x.x.x.x:1194
Wed Sep 15 09:06:35 2010 Peer Connection Initiated with x.x.x.x:1194
Wed Sep 15 09:06:38 2010 TEST ROUTES: 0/0 succeeded len=-1 ret=1 a=0 u/d=up
Wed Sep 15 09:06:38 2010 Initialization Sequence Completed
 
back when i had issues I found a solution somewhere saying to add these two lines to your client config:

route-method exe
route-delay 2

never had issues since
 
I've added the standard fix of "route-method exe route-delay 2" but this makes no difference

As I have said, it is still dropping the connection with or without those 2 additional lines :(
 
Os sorry, missed that somehow. other than that and admin mode i don't know, never had any issues otherwise :(
 
I didn't have any issues when I was running this on windows XP and nothing has changed router end, it just doesn't seem to play nicely with windows 7. I've even setup a new box to test it on but it's just as flaky.

At this rate I might end up going back to PPTP :eek: :(

/edit seems to be behaving today :\ ffs.
 
Last edited:
Nope, it's still utterly crap, it will connect, route for about 3 seconds and then just fail out.

Don't have a problem with an XP client.
 
Dunno...maybe something weird with your rig.
Latest NIC drivers?
Run a TCP/Winsock repair (netsh reset)


I just got done doing remote work to several different networks via OpenVPN on my Win7 laptop, at least the version for Untangle works fine.
 
Back
Top