#16898: OpenVPN can't connect to oepnvpn servers of VPNGATE.net
---------------------------+-------------------------------------
Reporter: shulong.li@… | Owner: developers
Type: defect | Status: new
Priority: high | Milestone: Barrier Breaker (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: OpenVPN VPNGate
---------------------------+-------------------------------------
Comment (by anonymous):
Thanks so much for the reply.
I think the connection was set up correctly is based on the log. It shows
"Initialization Sequence Completed"
But if I type ifconfig, the tun0 nic was up but without IP address. After
10 seconds, the daemon restarted with "Inactivity timeout (--ping-
restart), restarting"
I used the same conf file on DD-WRT, everything works fine.
ifconfig returns
tun0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Log
WRRRRRRWRRRRRRWRRRRRRWRRFri Jun 27 09:12:49 2014 us=884397
[vhq0d0vfsd27z00vwp.net] Inactivity timeout (--ping-restart), restarting
Fri Jun 27 09:12:49 2014 us=886159 TCP/UDP: Closing socket
Fri Jun 27 09:12:49 2014 us=886628 SIGUSR1[soft,ping-restart] received,
process restarting
Fri Jun 27 09:12:49 2014 us=886918 Restart pause, 2 second(s)
Fri Jun 27 09:12:51 2014 us=887276 WARNING: No server certificate
verification method has been enabled. See
http://openvpn.net/howto.html#mitm for more info.
Fri Jun 27 09:12:51 2014 us=887659 Re-using SSL/TLS context
Fri Jun 27 09:12:51 2014 us=887950 LZO compression initialized
Fri Jun 27 09:12:51 2014 us=889583 Control Channel MTU parms [ L:1558
D:138 EF:38 EB:0 ET:0 EL:0 ]
Fri Jun 27 09:12:51 2014 us=890687 Socket Buffers: R=[163840->131072]
S=[163840->131072]
Fri Jun 27 09:12:51 2014 us=891093 Data Channel MTU parms [ L:1558 D:1450
EF:58 EB:135 ET:0 EL:0 AF:3/1 ]
Fri Jun 27 09:12:51 2014 us=891374 UDPv4 link local: [undef]
Fri Jun 27 09:12:51 2014 us=891663 UDPv4 link remote:
[AF_INET]153.145.30.235:1194
WRFri Jun 27 09:12:52 2014 us=3376 TLS: Initial packet from
[AF_INET]153.145.30.235:1194, sid=156011ec 6e9158bc
WWWWRRFri Jun 27 09:12:52 2014 us=125632 VERIFY OK: depth=0,
CN=vhq0d0vfsd27z00vwp.net, O=8p1q7un8p aml6gk4rgep, C=US
WRWWRRWWWRRRFri Jun 27 09:12:52 2014 us=552478 Data Channel Encrypt:
Cipher 'AES-128-CBC' initialized with 128 bit key
Fri Jun 27 09:12:52 2014 us=552857 Data Channel Encrypt: Using 160 bit
message hash 'SHA1' for HMAC authentication
Fri Jun 27 09:12:52 2014 us=553323 Data Channel Decrypt: Cipher
'AES-128-CBC' initialized with 128 bit key
Fri Jun 27 09:12:52 2014 us=553669 Data Channel Decrypt: Using 160 bit
message hash 'SHA1' for HMAC authentication
WFri Jun 27 09:12:52 2014 us=554561 Control Channel: TLSv1, cipher
TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Fri Jun 27 09:12:52 2014 us=555023 [vhq0d0vfsd27z00vwp.net] Peer
Connection Initiated with [AF_INET]153.145.30.235:1194
Fri Jun 27 09:12:54 2014 us=958414 SENT CONTROL [vhq0d0vfsd27z00vwp.net]:
'PUSH_REQUEST' (status=1)
WRRFri Jun 27 09:12:55 2014 us=78179 PUSH: Received control message:
'PUSH_REPLY,ping 3,ping-restart 10'
Fri Jun 27 09:12:55 2014 us=78634 OPTIONS IMPORT: timers and/or timeouts
modified
Fri Jun 27 09:12:55 2014 us=78899 Preserving previous TUN/TAP instance:
tun0
Fri Jun 27 09:12:55 2014 us=79139 Initialization Sequence Completed
WRRRRRRRRRRWRRRRRWRRRRRRRRWRRFri Jun 27 09:13:05 2014 us=55305
[vhq0d0vfsd27z00vwp.net] Inactivity timeout (--ping-restart), restarting
Fri Jun 27 09:13:05 2014 us=56571 TCP/UDP: Closing socket
Fri Jun 27 09:13:05 2014 us=57015 SIGUSR1[soft,ping-restart] received,
process restarting
Fri Jun 27 09:13:05 2014 us=57301 Restart pause, 2 second(s)
Fri Jun 27 09:13:07 2014 us=57657 WARNING: No server certificate
verification method has been enabled. See
http://openvpn.net/howto.html#mitm for more info.
Fri Jun 27 09:13:07 2014 us=58121 Re-using SSL/TLS context
Fri Jun 27 09:13:07 2014 us=58569 LZO compression initialized
Fri Jun 27 09:13:07 2014 us=59928 Control Channel MTU parms [ L:1558 D:138
EF:38 EB:0 ET:0 EL:0 ]
Fri Jun 27 09:13:07 2014 us=61054 Socket Buffers: R=[163840->131072]
S=[163840->131072]
Fri Jun 27 09:13:07 2014 us=61450 Data Channel MTU parms [ L:1558 D:1450
EF:58 EB:135 ET:0 EL:0 AF:3/1 ]
Fri Jun 27 09:13:07 2014 us=61735 UDPv4 link local: [undef]
Fri Jun 27 09:13:07 2014 us=62142 UDPv4 link remote:
[AF_INET]153.145.30.235:1194
WRFri Jun 27 09:13:07 2014 us=175774 TLS: Initial packet from
[AF_INET]153.145.30.235:1194, sid=71a249ee cfe579f3
WWWWRRFri Jun 27 09:13:07 2014 us=296954 VERIFY OK: depth=0,
CN=vhq0d0vfsd27z00vwp.net, O=8p1q7un8p aml6gk4rgep, C=US
WRWWRRWWWRRRFri Jun 27 09:13:07 2014 us=714820 Data Channel Encrypt:
Cipher 'AES-128-CBC' initialized with 128 bit key
Fri Jun 27 09:13:07 2014 us=715203 Data Channel Encrypt: Using 160 bit
message hash 'SHA1' for HMAC authentication
Fri Jun 27 09:13:07 2014 us=715509 Data Channel Decrypt: Cipher
'AES-128-CBC' initialized with 128 bit key
Fri Jun 27 09:13:07 2014 us=715998 Data Channel Decrypt: Using 160 bit
message hash 'SHA1' for HMAC authentication
WFri Jun 27 09:13:07 2014 us=716822 Control Channel: TLSv1, cipher
TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Fri Jun 27 09:13:07 2014 us=717281 [vhq0d0vfsd27z00vwp.net] Peer
Connection Initiated with [AF_INET]153.145.30.235:1194
Fri Jun 27 09:13:10 2014 us=73707 SENT CONTROL [vhq0d0vfsd27z00vwp.net]:
'PUSH_REQUEST' (status=1)
WWRRFri Jun 27 09:13:10 2014 us=199150 PUSH: Received control message:
'PUSH_REPLY,ping 3,ping-restart 10'
Fri Jun 27 09:13:10 2014 us=199596 OPTIONS IMPORT: timers and/or timeouts
modified
Fri Jun 27 09:13:10 2014 us=199859 Preserving previous TUN/TAP instance:
tun0
Fri Jun 27 09:13:10 2014 us=200160 Initialization Sequence Completed
--
Ticket URL: <https://dev.openwrt.org/ticket/16898#comment:4>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets