can't connect to connection

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
blaming
OpenVpn Newbie
Posts: 1
Joined: Tue Jan 10, 2012 2:49 am

can't connect to connection

Post by blaming » Tue Jan 10, 2012 3:04 am

(I use Windows 7). I have successfully connected to my desired OpenVPN server, and my openvpn client has created the connection. Unfortunately, there is no way to actually connect to this connection in my "Network and Sharing Center":
Image

The connection is listed as Unidentified Network, and Windows claims that it is "public". Upon looking at the "status" (log?) I get this:
Mon Jan 09 20:44:03 2012 Notified TAP-Win32 driver to set a DHCP IP/netmask of 172.27.0.7/255.255.252.0 on interface {9DB2A2EA-9110-4241-A95E-64F3FD68F1CB} [DHCP-serv: 172.27.0.0, lease-time: 31536000]
Mon Jan 09 20:44:08 2012 ROUTE: route addition failed using CreateIpForwardEntry: Access is denied. [status=5 if_index=44]
The requested operation requires elevation.
Mon Jan 09 20:44:08 2012 ERROR: Windows route add command failed [adaptive]: returned error code 1
Mon Jan 09 20:44:08 2012 ROUTE: route addition failed using CreateIpForwardEntry: One or more arguments are not correct. [status=160 if_index=46]
The requested operation requires elevation.
Mon Jan 09 20:44:08 2012 ERROR: Windows route add command failed [adaptive]: returned error code 1
Mon Jan 09 20:44:08 2012 ROUTE: route addition failed using CreateIpForwardEntry: One or more arguments are not correct. [status=160 if_index=46]
The requested operation requires elevation.
Mon Jan 09 20:44:08 2012 ERROR: Windows route add command failed [adaptive]: returned error code 1
Mon Jan 09 20:44:08 2012 Initialization Sequence Completed
I initially interpreted the "the requested operation requires elevation" as meaning that I need to run openvpn as administrator, yet even when I do this it still doesn't work (same thing happens as the screenshot above), and I get these messages instead:
Mon Jan 09 21:00:18 2012 [vpn.riseup.net] Peer Connection Initiated with 198.252.153.26:1194
Mon Jan 09 21:00:20 2012 TAP-WIN32 device [Local Area Connection 3] opened: \\.\Global\{9DB2A2EA-9110-4241-A95E-64F3FD68F1CB}.tap
Mon Jan 09 21:00:20 2012 Notified TAP-Win32 driver to set a DHCP IP/netmask of 172.27.0.7/255.255.252.0 on interface {9DB2A2EA-9110-4241-A95E-64F3FD68F1CB} [DHCP-serv: 172.27.0.0, lease-time: 31536000]
Mon Jan 09 21:00:20 2012 Successful ARP Flush on interface [46] {9DB2A2EA-9110-4241-A95E-64F3FD68F1CB}
Mon Jan 09 21:00:25 2012 Initialization Sequence Completed
What can I do to fix this?

User avatar
Mimiko
Forum Team
Posts: 1564
Joined: Wed Sep 22, 2010 3:18 am

Re: can't connect to connection

Post by Mimiko » Thu Jan 26, 2012 1:01 pm

Disable firewall on TUN interface and run OpenVPN with elevated privileges.

Post Reply