Error: route addition failed using CreateIpForwardEntry

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
Sikiduck
OpenVpn Newbie
Posts: 4
Joined: Tue Nov 20, 2012 5:36 pm

Error: route addition failed using CreateIpForwardEntry

Post by Sikiduck » Sun Nov 25, 2012 8:32 pm

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!

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Error: route addition failed using CreateIpForwardEntry

Post by maikcat » Tue Nov 27, 2012 2:45 pm

hi there,

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

post configs, openvpn version used , windows version used

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

Sikiduck
OpenVpn Newbie
Posts: 4
Joined: Tue Nov 20, 2012 5:36 pm

Re: Error: route addition failed using CreateIpForwardEntry

Post by Sikiduck » Tue Nov 27, 2012 3:37 pm

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..

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Error: route addition failed using CreateIpForwardEntry

Post by maikcat » Tue Nov 27, 2012 6:35 pm

try running the GUI with ADMIN rights,right click on it and select connect...

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

Sikiduck
OpenVpn Newbie
Posts: 4
Joined: Tue Nov 20, 2012 5:36 pm

Re: Error: route addition failed using CreateIpForwardEntry

Post by Sikiduck » Wed Nov 28, 2012 3:29 pm

Have tried running as administrator :(

Post Reply