Page 1 of 1

Error: route addition failed using CreateIpForwardEntry

Posted: Sun Nov 25, 2012 8:32 pm
by Sikiduck
Hi guys!

A friend of mine are trying to connect by using OpenVPN. But he gets the error:
ERROR: Windows route add command failed [adaptive]: returned error code 1
ROUTE: route addition failed using CreateIpForwardEntry: Access is denied. [status=5 if_index=19]
ERROR: Windows route add command failed [adaptive]: returned error code 1
Initialization Sequence Completed
He have tried running OpenVPN as administrator.

Whats the problem? :(

How can it be fixed? Please help!

Re: Error: route addition failed using CreateIpForwardEntry

Posted: Tue Nov 27, 2012 2:45 pm
by maikcat
hi there,

with so little info given no one can help you...

post configs, openvpn version used , windows version used

Michael.

Re: Error: route addition failed using CreateIpForwardEntry

Posted: Tue Nov 27, 2012 3:37 pm
by Sikiduck
Oh my bad.

Here is a picture btw:
Image


OpenVN version: 2.2.2 (newest).
OS: Windows 7

I'm not sure what u mean by configs, but this is how the .opvn looks like:

Code: Select all

client
dev tun1
proto tcp
remote 195.60.76.223 443 # - Your server IP and OpenVPN Port
dhcp-option DISABLE-NBT
resolv-retry infinite
nobind
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
ca vpnbook.crt
auth-user-pass
comp-lzo
verb 2
cipher AES-256-CBC
Myself got no problem getting it to work. But my friend and some of hes friend have the same problem as descripted above. So the config works for some and some not.
And yeah we use the EXECT same files and configs..

Re: Error: route addition failed using CreateIpForwardEntry

Posted: Tue Nov 27, 2012 6:35 pm
by maikcat
try running the GUI with ADMIN rights,right click on it and select connect...

Michael.

Re: Error: route addition failed using CreateIpForwardEntry

Posted: Wed Nov 28, 2012 3:29 pm
by Sikiduck
Have tried running as administrator :(