Windows route add command failed
Posted: Tue Apr 05, 2011 11:18 am
I'm not quite sure this is the right place to go to or not, I certainly hope so!
I'm trying to install my OpenVPN on my computer, but it won't work on my PC.
I've already installed it on my Mac and iPhone, it works great. But the PC is giving me issues. (I'm using the same .crt .ca .ovpn files)
What I don't understand is that I already have set my route "route 192.168.1.1 255.255.255.0 vpn_gateway 3" in my .ovpn file... and yet it seems to try to connect on 192.168.1.0
Here is the log I get:
Thanks
I'm trying to install my OpenVPN on my computer, but it won't work on my PC.
I've already installed it on my Mac and iPhone, it works great. But the PC is giving me issues. (I'm using the same .crt .ca .ovpn files)
What I don't understand is that I already have set my route "route 192.168.1.1 255.255.255.0 vpn_gateway 3" in my .ovpn file... and yet it seems to try to connect on 192.168.1.0
Here is the log I get:
Any help is MUCH appreciated!!Tue Apr 05 19:01:18 2011 [QWVPN] Peer Connection Initiated with "MyServer":80
Tue Apr 05 19:01:20 2011 TAP-WIN32 device [Local Area Connection 3] opened: \\.\Global\{A38066FE-CE4F-45CC-944A-9AA90C6054B7}.tap
Tue Apr 05 19:01:20 2011 Notified TAP-Win32 driver to set a DHCP IP/netmask of 10.8.0.14/255.255.255.252 on interface {A38066FE-CE4F-45CC-944A-9AA90C6054B7} [DHCP-serv: 10.8.0.13, lease-time: 31536000]
Tue Apr 05 19:01:25 2011 ROUTE: route addition failed using CreateIpForwardEntry: Access is denied. [status=5 if_index=13]
The requested operation requires elevation.
Tue Apr 05 19:01:25 2011 ERROR: Windows route add command failed [adaptive]: returned error code 1
Tue Apr 05 19:01:25 2011 ROUTE: route addition failed using CreateIpForwardEntry: Access is denied. [status=5 if_index=18]
The requested operation requires elevation.
Tue Apr 05 19:01:26 2011 ERROR: Windows route add command failed [adaptive]: returned error code 1
Tue Apr 05 19:01:26 2011 ROUTE: route addition failed using CreateIpForwardEntry: Access is denied. [status=5 if_index=18]
The requested operation requires elevation.
Tue Apr 05 19:01:26 2011 ERROR: Windows route add command failed [adaptive]: returned error code 1
Tue Apr 05 19:01:26 2011 WARNING: potential route subnet conflict between local LAN [192.168.1.0/255.255.255.0] and remote VPN [192.168.1.0/255.255.255.0]
Tue Apr 05 19:01:26 2011 Warning: address 192.168.1.1 is not a network address in relation to netmask 255.255.255.0
Tue Apr 05 19:01:26 2011 ROUTE: route addition failed using CreateIpForwardEntry: Access is denied. [status=5 if_index=18]
The requested operation requires elevation.
Tue Apr 05 19:01:26 2011 ERROR: Windows route add command failed [adaptive]: returned error code 1
Tue Apr 05 19:01:26 2011 ROUTE: route addition failed using CreateIpForwardEntry: Access is denied. [status=5 if_index=18]
The requested operation requires elevation.
Tue Apr 05 19:01:26 2011 ERROR: Windows route add command failed [adaptive]: returned error code 1
Tue Apr 05 19:01:26 2011 Initialization Sequence Completed
Thanks