I can't seem to connect to my VPN and i can't seem to understand why, anyone any ideas, error code is below
Wed Oct 28 17:48:15 2015 ROUTE: route addition failed using CreateIpForwardEntry: Access is denied. [status=5 if_index=3]
Wed Oct 28 17:48:15 2015 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Wed Oct 28 17:48:15 2015 ERROR: Windows route add command failed [adaptive]: returned error code 1
Wed Oct 28 17:48:15 2015 ROUTE: route addition failed using CreateIpForwardEntry: Access is denied. [status=5 if_index=4]
Wed Oct 28 17:48:15 2015 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Wed Oct 28 17:48:15 2015 ERROR: Windows route add command failed [adaptive]: returned error code 1
Wed Oct 28 17:48:15 2015 ROUTE: route addition failed using CreateIpForwardEntry: Access is denied. [status=5 if_index=4]
Wed Oct 28 17:48:15 2015 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Wed Oct 28 17:48:15 2015 ERROR: Windows route add command failed [adaptive]: returned error code 1
Wed Oct 28 17:48:15 2015 Warning: address 192.168.1.1 is not a network address in relation to netmask 255.255.255.0
Wed Oct 28 17:48:15 2015 ROUTE: route addition failed using CreateIpForwardEntry: Access is denied. [status=5 if_index=4]
Wed Oct 28 17:48:15 2015 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Wed Oct 28 17:48:15 2015 ERROR: Windows route add command failed [adaptive]: returned error code 1
Wed Oct 28 17:48:15 2015 ROUTE: route addition failed using CreateIpForwardEntry: Access is denied. [status=5 if_index=4]
Wed Oct 28 17:48:15 2015 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Wed Oct 28 17:48:15 2015 ERROR: Windows route add command failed [adaptive]: returned error code 1
Wed Oct 28 17:48:15 2015 Initialization Sequence Completed
the ovpn is anyone need's it to help.
dev tun
tun-mtu 1500
mssfix 1450
persist-tun
persist-key
cipher AES-256-OFB
auth RSA-SHA512
tls-client
client
resolv-retry infinite
remote example.com 1194 udp
lport 0
auth-user-pass auth.txt
pkcs12 pfSense-udp-1194-example.p12
tls-auth pfSense-udp-1194-example-tls.key 1
ns-cert-type server
Windows route add command failed
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.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Wed Oct 28, 2015 5:51 pm
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: Windows route add command failed
Using the OpenVPN-GUI on W7/8/10 etc ..SparkySam wrote:route addition failed using CreateIpForwardEntry: Access is denied
- Being logged in as administrator is not sufficient for OpenVPN to work.
You must select OpenvpnGUI.exe and <right-click>:"Run As Administrator" ..
-
- OpenVpn Newbie
- Posts: 1
- Joined: Sun Mar 01, 2020 2:06 pm
Re: Windows route add command failed
hello,
I have similar problem
Sun Mar 01 14:58:59 2020 ROUTE: route addition failed using CreateIpForwardEntry: Obiekt ju¿ istnieje. [status=5010 if_index=9]
Obiekt ju¿ istnieje - mins: object already exists
the trick wit run as Administrator dont work:(
and full log:
I have similar problem
Sun Mar 01 14:58:59 2020 ROUTE: route addition failed using CreateIpForwardEntry: Obiekt ju¿ istnieje. [status=5010 if_index=9]
Obiekt ju¿ istnieje - mins: object already exists
the trick wit run as Administrator dont work:(
and full log:
Code: Select all
Sun Mar 01 14:58:50 2020 OpenVPN 2.4.8 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Oct 31 2019
Sun Mar 01 14:58:50 2020 Windows version 6.2 (Windows 8 or greater) 64bit
Sun Mar 01 14:58:50 2020 library versions: OpenSSL 1.1.0l 10 Sep 2019, LZO 2.10
Enter Management Password:
Sun Mar 01 14:58:51 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]31.42.11.127:1194
Sun Mar 01 14:58:51 2020 Attempting to establish TCP connection with [AF_INET]31.42.11.127:1194 [nonblock]
Sun Mar 01 14:58:52 2020 TCP connection established with [AF_INET]31.42.11.127:1194
Sun Mar 01 14:58:52 2020 TCP_CLIENT link local: (not bound)
Sun Mar 01 14:58:52 2020 TCP_CLIENT link remote: [AF_INET]31.42.11.127:1194
Sun Mar 01 14:58:53 2020 [server] Peer Connection Initiated with [AF_INET]31.42.11.127:1194
Sun Mar 01 14:58:54 2020 open_tun
Sun Mar 01 14:58:54 2020 TAP-WIN32 device [Połączenie lokalne 2] opened: \\.\Global\{64789AB7-C7AB-4E56-A2E1-0DDF7145ABC7}.tap
Sun Mar 01 14:58:54 2020 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.10/255.255.255.252 on interface {64789AB7-C7AB-4E56-A2E1-0DDF7145ABC7} [DHCP-serv: 10.8.0.9, lease-time: 31536000]
Sun Mar 01 14:58:54 2020 Successful ARP Flush on interface [9] {64789AB7-C7AB-4E56-A2E1-0DDF7145ABC7}
Sun Mar 01 14:58:59 2020 ROUTE: route addition failed using CreateIpForwardEntry: Obiekt już istnieje. [status=5010 if_index=9]
Sun Mar 01 14:58:59 2020 env_block: add PATH=C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Sun Mar 01 14:58:59 2020 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Sun Mar 01 14:58:59 2020 Initialization Sequence Completed
Last edited by Pippin on Sun Mar 01, 2020 2:15 pm, edited 1 time in total.
Reason: Formatting and merge
Reason: Formatting and merge
-
- OpenVPN Protagonist
- Posts: 11139
- Joined: Fri Jun 03, 2016 1:17 pm