Hi,
I can connect on my win7 32 to my openvpn server on raspberry pi. I can access my local lan (like my router). Everything seems fine, but I am seeing this error in the status:
Wed Jul 30 15:07:44 2014 ROUTE: route addition failed using CreateIpForwardEntry: The object already exists. [status=5010 if_index=17]
Wed Jul 30 15:07:44 2014 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Here are my complete logs:
http://paste.debian.net/hidden/17750a1b/
When I add this to my client conf:
route-method exe
route-delay 2
The
route addition failed using CreateIPForwardEntry
is resolved, however, I then see additional env_block errors. Here's my verb 4 log (config include route-method exe and route-delay)
Current Parameter Settings:
config = 'client.ovpn'
mode = 0
show_ciphers = DISABLED
show_digests = DISABLED
show_engines = DISABLED
genkey = DISABLED
key_pass_file = '[UNDEF]'
show_tls_ciphers = DISABLED
Connection profiles [default]:
proto = udp
local = '[UNDEF]'
local_port = 0
remote = '174.60.71.232'
remote_port = 44120
remote_float = DISABLED
bind_defined = DISABLED
bind_local = DISABLED
connect_retry_seconds = 5
connect_timeout = 10
NOTE: --mute triggered...
265 variation(s) on previous 20 message(s) suppressed by --mute
OpenVPN 2.3.4 i686-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Jun 5 2014
library versions: OpenSSL 1.0.1h 5 Jun 2014, LZO 2.05
MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Need hold release from management interface, waiting...
MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
MANAGEMENT: CMD 'state on'
MANAGEMENT: CMD 'log all on'
MANAGEMENT: CMD 'hold off'
MANAGEMENT: CMD 'hold release'
Control Channel Authentication: tls-auth using INLINE static key file
Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
LZO compression initialized
Control Channel MTU parms [ L:1558 D:166 EF:66 EB:0 ET:0 EL:0 ]
Socket Buffers: R=[8192->8192] S=[8192->8192]
Data Channel MTU parms [ L:1558 D:1450 EF:58 EB:135 ET:0 EL:0 AF:3/1 ]
Local Options String: 'V4,dev-type tun,link-mtu 1558,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 1,cipher AES-128-8,tls-auth,key-method 2,tls-client'
Expected Remote Options String: 'V4,dev-type tun,link-mtu 1558,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 0,cipher AESze 128,tls-auth,key-method 2,tls-server'
Local Options hash (VER=V4): '272f1b58'
Expected Remote Options hash (VER=V4): 'a2e63101'
UDPv4 link local: [undef]
UDPv4 link remote: [AF_INET]174.60.71.232:44120
MANAGEMENT: >STATE:1406824126,WAIT,,,
MANAGEMENT: >STATE:1406824126,AUTH,,,
TLS: Initial packet from [AF_INET]174.60.71.232:44120, sid=cb24e5cd bab1fa19
VERIFY OK: depth=1, C=US, ST=CA, L=SanFrancisco, O=Fort-Funston, OU=pi, CN=pi, name=pi, emailAddress=mail@host.
VERIFY OK: nsCertType=SERVER
VERIFY OK: depth=0, C=US, ST=CA, L=SanFrancisco, O=Fort-Funston, OU=pi, CN=pi, name=pi, emailAddress=mail@host.
Data Channel Encrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Data Channel Decrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
[pi] Peer Connection Initiated with [AF_INET]174.60.71.232:44120
MANAGEMENT: >STATE:1406824128,GET_CONFIG,,,
SENT CONTROL [pi]: 'PUSH_REQUEST' (status=1)
PUSH: Received control message: 'PUSH_REPLY,route 10.8.0.1 255.255.255.255,route 10.8.0.0 255.255.255.0,route 192.dhcp-option DNS 192.168.1.1,redirect-gateway def1,route 10.8.0.0 255.255.255.0,topology net30,ping 10,ping-restart 0.8.0.9'
OPTIONS IMPORT: timers and/or timeouts modified
OPTIONS IMPORT: --ifconfig/up options modified
OPTIONS IMPORT: route options modified
OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
MANAGEMENT: >STATE:1406824129,ASSIGN_IP,,10.8.0.10,
open_tun, tt->ipv6=0
TAP-WIN32 device [Local Area Connection 2] opened: \\.\Global\{5C749909-6EB4-4DB9-A607-594D40D6A1B7}.tap
TAP-Windows Driver Version 9.9
TAP-Windows MTU=1500
Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.10/255.255.255.252 on interface {5C749909-6EB4-4DB9--serv: 10.8.0.9, lease-time: 31536000]
DHCP option string: 0604c0a8 0101
Successful ARP Flush on interface [17] {5C749909-6EB4-4DB9-A607-594D40D6A1B7}
TEST ROUTES: 5/5 succeeded len=4 ret=1 a=0 u/d=up
C:\windows\system32\route.exe ADD 174.60.71.232 MASK 255.255.255.255 153.42.49.1
env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
C:\windows\system32\route.exe ADD 0.0.0.0 MASK 128.0.0.0 10.8.0.9
env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
C:\windows\system32\route.exe ADD 128.0.0.0 MASK 128.0.0.0 10.8.0.9
env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
MANAGEMENT: >STATE:1406824131,ADD_ROUTES,,,
C:\windows\system32\route.exe ADD 10.8.0.1 MASK 255.255.255.255 10.8.0.9
env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
C:\windows\system32\route.exe ADD 10.8.0.0 MASK 255.255.255.0 10.8.0.9
env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
C:\windows\system32\route.exe ADD 192.168.1.128 MASK 255.255.255.0 10.8.0.9
env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
C:\windows\system32\route.exe ADD 10.8.0.0 MASK 255.255.255.0 10.8.0.9
env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Initialization Sequence Completed
MANAGEMENT: >STATE:1406824131,CONNECTED,SUCCESS,10.8.0.10,174.60.71.232
Thanks so much!