Ping only at the opening of VPN
Posted: Thu Feb 17, 2011 2:34 pm
Hello,
I have a problem on new configurations :
6 2011 OpenVPN 2.1_rc20 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] built on Oct 1 2009
Thu Feb 17 14:56:06 2011 WARNING: Make sure you understand the semantics of --tls-remote before using it (see the man page).
Thu Feb 17 14:56:06 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu Feb 17 14:56:06 2011 LZO compression initialized
Thu Feb 17 14:56:06 2011 Control Channel MTU parms [ L:1574 D:138 EF:38 EB:0 ET:0 EL:0 ]
Thu Feb 17 14:56:06 2011 Data Channel MTU parms [ L:1574 D:1450 EF:42 EB:135 ET:32 EL:0 AF:3/1 ]
Thu Feb 17 14:56:06 2011 Local Options hash (VER=V4): 'd79ca330'
Thu Feb 17 14:56:06 2011 Expected Remote Options hash (VER=V4): 'f7df56b8'
Thu Feb 17 14:56:06 2011 Socket Buffers: R=[8192->8192] S=[8192->8192]
Thu Feb 17 14:56:06 2011 UDPv4 link local: [undef]
Thu Feb 17 14:56:06 2011 UDPv4 link remote: 178.xxx.xxx.xxx:1194
Thu Feb 17 14:56:06 2011 TLS: Initial packet from 178.xxx.xxx.xxx:1194, sid=ee4555c8 69c7fa5b
Thu Feb 17 14:56:06 2011 VERIFY OK: depth=1, /O=Orion/CN=Certification_Authority_Certificate
Thu Feb 17 14:56:06 2011 VERIFY X509NAME OK: /O=Orion/CN=vpn-Orion
Thu Feb 17 14:56:06 2011 VERIFY OK: depth=0, /O=Orion/CN=vpn-Orion
Thu Feb 17 14:56:07 2011 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Thu Feb 17 14:56:07 2011 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Feb 17 14:56:07 2011 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Thu Feb 17 14:56:07 2011 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Feb 17 14:56:07 2011 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Thu Feb 17 14:56:07 2011 [vpn-Orion59] Peer Connection Initiated with 178.33.22.89:1194
Thu Feb 17 14:56:09 2011 SENT CONTROL [vpn-Orion59]: 'PUSH_REQUEST' (status=1)
Thu Feb 17 14:56:10 2011 PUSH: Received control message: 'PUSH_REPLY,route 178.xxx.xxx.xxx 255.255.255.255,route-gateway 192.168.159.1,ping 10,ping-restart 120,ifconfig 192.168.159.7 255.255.255.0'
Thu Feb 17 14:56:10 2011 OPTIONS IMPORT: timers and/or timeouts modified
Thu Feb 17 14:56:10 2011 OPTIONS IMPORT: --ifconfig/up options modified
Thu Feb 17 14:56:10 2011 OPTIONS IMPORT: route options modified
Thu Feb 17 14:56:10 2011 OPTIONS IMPORT: route-related options modified
Thu Feb 17 14:56:10 2011 ROUTE default_gateway=192.168.77.1
Thu Feb 17 14:56:10 2011 TAP-WIN32 device [Connexion au réseau local 2] opened: \\.\Global\{C2D744C0-4707-439F-2CB7-08C16648F81A}.tap
Thu Feb 17 14:56:10 2011 TAP-Win32 Driver Version 9.6
Thu Feb 17 14:56:10 2011 TAP-Win32 MTU=1500
Thu Feb 17 14:56:10 2011 Notified TAP-Win32 driver to set a DHCP IP/netmask of 192.168.159.7/255.255.255.0 on interface {C2D744C0-4707-439F-2CB7-08C16648F81A} [DHCP-serv: 192.168.159.0, lease-time: 31536000]
Thu Feb 17 14:56:10 2011 Successful ARP Flush on interface [14] {C2D744C0-4707-439F-2CB7-08C16648F81A}
Thu Feb 17 14:56:15 2011 TEST ROUTES: 1/1 succeeded len=1 ret=1 a=0 u/d=up
Thu Feb 17 14:56:15 2011 C:\WINDOWS\system32\route.exe ADD 178.33.22.89 MASK 255.255.255.255 192.168.159.1
Thu Feb 17 14:56:15 2011 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Thu Feb 17 14:56:15 2011 Route addition via IPAPI succeeded [adaptive]
Thu Feb 17 14:56:15 2011 Initialization Sequence Completed
The connexion is starting and the ping is OK for 3 seconds on 192.168.159.1 during the end of the connexion.
At this moment : Successful ARP Flush on interface , the ping is ok
And wen the little widows is comming to say : User is now connected - Assigned IP : 192.168.159.7
The ping is stoped.
But Connexion is still active
I thing it is a route problem
Do someone have the solution ?
Thank you
I have a problem on new configurations :
6 2011 OpenVPN 2.1_rc20 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] built on Oct 1 2009
Thu Feb 17 14:56:06 2011 WARNING: Make sure you understand the semantics of --tls-remote before using it (see the man page).
Thu Feb 17 14:56:06 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu Feb 17 14:56:06 2011 LZO compression initialized
Thu Feb 17 14:56:06 2011 Control Channel MTU parms [ L:1574 D:138 EF:38 EB:0 ET:0 EL:0 ]
Thu Feb 17 14:56:06 2011 Data Channel MTU parms [ L:1574 D:1450 EF:42 EB:135 ET:32 EL:0 AF:3/1 ]
Thu Feb 17 14:56:06 2011 Local Options hash (VER=V4): 'd79ca330'
Thu Feb 17 14:56:06 2011 Expected Remote Options hash (VER=V4): 'f7df56b8'
Thu Feb 17 14:56:06 2011 Socket Buffers: R=[8192->8192] S=[8192->8192]
Thu Feb 17 14:56:06 2011 UDPv4 link local: [undef]
Thu Feb 17 14:56:06 2011 UDPv4 link remote: 178.xxx.xxx.xxx:1194
Thu Feb 17 14:56:06 2011 TLS: Initial packet from 178.xxx.xxx.xxx:1194, sid=ee4555c8 69c7fa5b
Thu Feb 17 14:56:06 2011 VERIFY OK: depth=1, /O=Orion/CN=Certification_Authority_Certificate
Thu Feb 17 14:56:06 2011 VERIFY X509NAME OK: /O=Orion/CN=vpn-Orion
Thu Feb 17 14:56:06 2011 VERIFY OK: depth=0, /O=Orion/CN=vpn-Orion
Thu Feb 17 14:56:07 2011 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Thu Feb 17 14:56:07 2011 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Feb 17 14:56:07 2011 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Thu Feb 17 14:56:07 2011 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Feb 17 14:56:07 2011 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Thu Feb 17 14:56:07 2011 [vpn-Orion59] Peer Connection Initiated with 178.33.22.89:1194
Thu Feb 17 14:56:09 2011 SENT CONTROL [vpn-Orion59]: 'PUSH_REQUEST' (status=1)
Thu Feb 17 14:56:10 2011 PUSH: Received control message: 'PUSH_REPLY,route 178.xxx.xxx.xxx 255.255.255.255,route-gateway 192.168.159.1,ping 10,ping-restart 120,ifconfig 192.168.159.7 255.255.255.0'
Thu Feb 17 14:56:10 2011 OPTIONS IMPORT: timers and/or timeouts modified
Thu Feb 17 14:56:10 2011 OPTIONS IMPORT: --ifconfig/up options modified
Thu Feb 17 14:56:10 2011 OPTIONS IMPORT: route options modified
Thu Feb 17 14:56:10 2011 OPTIONS IMPORT: route-related options modified
Thu Feb 17 14:56:10 2011 ROUTE default_gateway=192.168.77.1
Thu Feb 17 14:56:10 2011 TAP-WIN32 device [Connexion au réseau local 2] opened: \\.\Global\{C2D744C0-4707-439F-2CB7-08C16648F81A}.tap
Thu Feb 17 14:56:10 2011 TAP-Win32 Driver Version 9.6
Thu Feb 17 14:56:10 2011 TAP-Win32 MTU=1500
Thu Feb 17 14:56:10 2011 Notified TAP-Win32 driver to set a DHCP IP/netmask of 192.168.159.7/255.255.255.0 on interface {C2D744C0-4707-439F-2CB7-08C16648F81A} [DHCP-serv: 192.168.159.0, lease-time: 31536000]
Thu Feb 17 14:56:10 2011 Successful ARP Flush on interface [14] {C2D744C0-4707-439F-2CB7-08C16648F81A}
Thu Feb 17 14:56:15 2011 TEST ROUTES: 1/1 succeeded len=1 ret=1 a=0 u/d=up
Thu Feb 17 14:56:15 2011 C:\WINDOWS\system32\route.exe ADD 178.33.22.89 MASK 255.255.255.255 192.168.159.1
Thu Feb 17 14:56:15 2011 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Thu Feb 17 14:56:15 2011 Route addition via IPAPI succeeded [adaptive]
Thu Feb 17 14:56:15 2011 Initialization Sequence Completed
The connexion is starting and the ping is OK for 3 seconds on 192.168.159.1 during the end of the connexion.
At this moment : Successful ARP Flush on interface , the ping is ok
And wen the little widows is comming to say : User is now connected - Assigned IP : 192.168.159.7
The ping is stoped.
But Connexion is still active
I thing it is a route problem
Do someone have the solution ?
Thank you