Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

have set up a vpn client on my laptop connecting to a openvpn server on a vps. It was working just fine until i restarted my laptop. I get this connection log in the vpn client:

http://pastebin.com/nhguVL4G

I can no longer ping 10.8.0.1 and it appears as if my internet traffic is not passing through the vpn at all anymore. I had it setup to route all traffic over the vpn. Any ideas what might be going wrong? Thanks for any advice.

P.S i am connected via wireless to a buffalo router but the vpn client is only my laptop and the openvpn server is pushing 8.8.8.8 to my laptop.

share|improve this question
    
Which OS is client running: Windows XP or Windows 7? –  quanta Nov 1 '11 at 11:42
    
windows 7 ultimate –  Daniel Gratz Nov 1 '11 at 12:13

2 Answers 2

The problem is the access denied on route.exe command. If you're using windows vista/7 then you must run openvpn with elevated privileges.

share|improve this answer
    
Will try it out probably that's indeed the problem. Thanks! –  Daniel Gratz Nov 1 '11 at 12:14
    
Definitely the problem, this just solved it for me. THANK YOU! –  Shackrock Nov 14 '12 at 0:07
NOTE: FlushIpNetTable failed on interface [22] {88C21B16-3D85-4B9C-A65F-10F89A2DEACB} (status=5) : Access is denied.  
C:\WINDOWS\system32\route.exe ADD 208.111.39.186 MASK 255.255.255.255 192.168.11.1
ROUTE: route addition failed using CreateIpForwardEntry: Access is denied.   [status=5 if_index=11]
Route addition via IPAPI failed [adaptive]
Route addition fallback to route.exe
The requested operation requires elevation.

Firstly, you should run OpenVPN as Administrator:

enter image description here

Secondly, add the following to the client config file:

route-method exe
route-delay 2
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.