Error message windows 8.1

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

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

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
xkroslak
OpenVpn Newbie
Posts: 1
Joined: Sat Jan 10, 2015 10:13 am

Error message windows 8.1

Post by xkroslak » Sat Jan 10, 2015 10:41 am

Hello,

I have this kind of issue:

Sat Jan 10 11:37:59 2015 OpenVPN 2.3.6 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO]
[PKCS11] [IPv6] built on Dec 1 2014
Sat Jan 10 11:37:59 2015 library versions: OpenSSL 1.0.1j 15 Oct 2014, LZO 2.08
Sat Jan 10 11:37:59 2015 WARNING: No server certificate verification method has
been enabled. See http://openvpn.net/howto.html#mitm for more info.
Sat Jan 10 11:37:59 2015 UDPv4 link local (bound): [undef]
Sat Jan 10 11:37:59 2015 UDPv4 link remote: [AF_INET]176.101.177.254:1194
Sat Jan 10 11:37:59 2015 WARNING: this configuration may cache passwords in memo
ry -- use the auth-nocache option to prevent this
Sat Jan 10 11:37:59 2015 [synology.com] Peer Connection Initiated with [AF_INET]
176.101.177.254:1194
Sat Jan 10 11:38:02 2015 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Sat Jan 10 11:38:02 2015 open_tun, tt->ipv6=0
Sat Jan 10 11:38:02 2015 TAP-WIN32 device [Ethernet 4] opened: \\.\Global\{6AB66
35E-A98E-4A0D-87E9-CB869F0B0025}.tap
Sat Jan 10 11:38:02 2015 Notified TAP-Windows driver to set a DHCP IP/netmask of
192.168.2.6/255.255.255.252 on interface {6AB6635E-A98E-4A0D-87E9-CB869F0B0025}
[DHCP-serv: 192.168.2.5, lease-time: 31536000]
Sat Jan 10 11:38:07 2015 ROUTE: route addition failed using CreateIpForwardEntry
: Access is denied. [status=5 if_index=11]
Sat Jan 10 11:38:17 2015 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\W
INDOWS\System32\Wbem
Sat Jan 10 11:38:17 2015 ERROR: Windows route add command failed [adaptive]: ret
urned error code 1
Sat Jan 10 11:38:17 2015 ROUTE: route addition failed using CreateIpForwardEntry
: Access is denied. [status=5 if_index=11]
Sat Jan 10 11:38:17 2015 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\W
INDOWS\System32\Wbem
Sat Jan 10 11:38:17 2015 ERROR: Windows route add command failed [adaptive]: ret
urned error code 1
Sat Jan 10 11:38:17 2015 ROUTE: route addition failed using CreateIpForwardEntry
: Access is denied. [status=5 if_index=11]
Sat Jan 10 11:38:17 2015 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\W
INDOWS\System32\Wbem
Sat Jan 10 11:38:17 2015 ERROR: Windows route add command failed [adaptive]: ret
urned error code 1
Sat Jan 10 11:38:17 2015 Initialization Sequence Completed


I tried to run it as admin several times and still no change.

Server is running on Windows 7 and my client is on Win 8.1 x64
I have the newest version of openVPN client

Here´s config of client side: (unfortunatelly i dont have server side :( )

dev tun
tls-client

remote 176.101.177.254 1194

dhcp-option DNS 8.8.8.8
dhcp-option DNS 8.8.4.4

pull

proto udp
script-security 2

ca XXXXXXX.crt

comp-lzo

reneg-sec 0

auth-user-pass XXXXXXX.txt

Does anybody have the same experience and can help ?

Many thanks

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: Error message windows 8.1

Post by Traffic » Mon Jan 12, 2015 5:43 pm

xkroslak wrote:Sat Jan 10 11:38:17 2015 ROUTE: route addition failed using CreateIpForwardEntry
: Access is denied. [status=5 if_index=11]
Run as admin ..
xkroslak wrote:I tried to run it as admin several times and still no change
You must use openvpn-gui.exe <right-click>>"run as admin" .. even if you are logged in as admin.

Or use the openvpn windows service to start your client.

Post Reply