Menu

#7 l2tp server disconnect

v1.0_(example)
open
None
9
2015-02-15
2013-11-28
Jalindar
No

Hi ,

I tried 0.4 version of rp-l2tp for server setting but when I try to connect using Windows 7 or Android phone then tunnel disconnections in few seconds.

I got setting information from here..

http://linuxexplore.com/how-tos/l2tp-vpn-using-rp-l2tpd/#comment-6933

Here is log.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
700.256 dgram_take_from_wire() -> type=SCCRQ, tid=0, sid=0, Nr=0, Ns=0
700.256 tunnel_new() -> 50840/0
700.257 50840/0: Peer host name is 'anonymous'
700.257 l2tp_peer_find(59.120.37.1) examining peer 0.0.0.0/0
700.257 l2tp_peer_find(59.120.37.1) found 0.0.0.0/0
700.257 tunnel(50840/47420) state idle -> wait-ctl-conn
700.257 tunnel_enqueue_dgram(50840/47420, SCCRP) rws=1 cwnd=1 ssthresh=1 outstanding=0
700.257 xmit_queued(50840/47420): rws=1 cwnd=1 ssthresh=1 outstanding=0
700.257 dgram_send_to_wire() -> type=SCCRP, tid=47420, sid=0, Nr=1, Ns=0
700.257 loop in xmit_queued(50840/47420): rws=1 cwnd=1 ssthresh=1 outstanding=1
700.286 dgram_take_from_wire() -> type=SCCCN, tid=50840, sid=0, Nr=1, Ns=1
700.286 tunnel_schedule_ack(50840/47420)
700.286 tunnel_dequeue_acked_packets(50840/47420) rws=1 cwnd=1 ssthresh=1 outstanding=0
700.286 tunnel_process_received_datagram(50840/47420, SCCCN)
700.286 tunnel(50840/47420) state wait-ctl-conn -> established
700.432 tunnel_do_ack(50840/47420)
700.440 dgram_send_to_wire() -> type=ZLB, tid=47420, sid=0, Nr=2, Ns=1
700.462 dgram_take_from_wire() -> type=ICRQ, tid=50840, sid=0, Nr=1, Ns=2
700.463 tunnel_schedule_ack(50840/47420)
700.463 tunnel_dequeue_acked_packets(50840/47420) rws=1 cwnd=1 ssthresh=1 outstanding=0
700.463 tunnel_process_received_datagram(50840/47420, ICRQ)
700.463 session((50840/47420, 65330/44922)) state idle -> wait-connect
700.463 tunnel_enqueue_dgram(50840/47420, ICRP) rws=1 cwnd=1 ssthresh=1 outstanding=0
700.463 xmit_queued(50840/47420): rws=1 cwnd=1 ssthresh=1 outstanding=0
700.463 dgram_send_to_wire() -> type=ICRP, tid=47420, sid=44922, Nr=3, Ns=1
700.463 loop in xmit_queued(50840/47420): rws=1 cwnd=1 ssthresh=1 outstanding=1
700.487 dgram_take_from_wire() -> type=ICCN, tid=50840, sid=65330, Nr=2, Ns=3
700.487 tunnel_schedule_ack(50840/47420)
700.487 tunnel_dequeue_acked_packets(50840/47420) rws=1 cwnd=1 ssthresh=1 outstanding=0
700.487 tunnel_process_received_datagram(50840/47420, ICCN)
700.487 session((50840/47420, 65330/44922)) state wait-connect -> established
700.609 tunnel_do_ack(50840/47420)
700.609 dgram_send_to_wire() -> type=ZLB, tid=47420, sid=0, Nr=4, Ns=2
700.682 session_send_CDN((50840/47420, 65330/44922)): pppd process exited
700.682 session((50840/47420, 65330/44922)) state established -> idle
700.682 tunnel_enqueue_dgram(50840/47420, CDN) rws=1 cwnd=1 ssthresh=1 outstanding=0
700.682 xmit_queued(50840/47420): rws=1 cwnd=1 ssthresh=1 outstanding=0
700.682 dgram_send_to_wire() -> type=CDN, tid=47420, sid=44922, Nr=4, Ns=2
700.683 loop in xmit_queued(50840/47420): rws=1 cwnd=1 ssthresh=1 outstanding=1
700.690 session_free((50840/47420, 65330/44922)) pppd process exited
700.690 tunnel_send_StopCCN(50840/47420, 1, 0, Last session has closed)
700.690 tunnel(50840/47420) state established -> sent-stop-ccn
700.691 tunnel_enqueue_dgram(50840/47420, StopCCN) rws=1 cwnd=1 ssthresh=1 outstanding=1
700.691 xmit_queued(50840/47420): rws=1 cwnd=1 ssthresh=1 outstanding=1
700.708 dgram_take_from_wire() -> type=StopCCN, tid=50840, sid=0, Nr=3, Ns=4
700.708 tunnel_schedule_ack(50840/47420)
700.708 tunnel_dequeue_acked_packets(50840/47420) rws=1 cwnd=1 ssthresh=1 outstanding=0
700.708 tunnel_process_received_datagram(50840/47420, StopCCN)
700.708 tunnel(50840/47420) state sent-stop-ccn -> received-stop-ccn
700.708 dgram_send_to_wire() -> type=ZLB, tid=47420, sid=0, Nr=5, Ns=3
700.708 tunnel_schedule_destruction(50840/47420)
731.740 tunnel_free(50840/47420)
746.089 dgram_take_from_wire() -> type=SCCRQ, tid=0, sid=0, Nr=0, Ns=0
746.089 tunnel_new() -> 60687/0
746.089 60687/0: Peer host name is 'anonymous'
746.089 l2tp_peer_find(59.120.37.1) examining peer 0.0.0.0/0
746.089 l2tp_peer_find(59.120.37.1) found 0.0.0.0/0
746.089 tunnel(60687/34032) state idle -> wait-ctl-conn
746.089 tunnel_enqueue_dgram(60687/34032, SCCRP) rws=1 cwnd=1 ssthresh=1 outstanding=0
746.089 xmit_queued(60687/34032): rws=1 cwnd=1 ssthresh=1 outstanding=0
746.089 dgram_send_to_wire() -> type=SCCRP, tid=34032, sid=0, Nr=1, Ns=0
746.089 loop in xmit_queued(60687/34032): rws=1 cwnd=1 ssthresh=1 outstanding=1
746.120 dgram_take_from_wire() -> type=SCCCN, tid=60687, sid=0, Nr=1, Ns=1
746.120 tunnel_schedule_ack(60687/34032)
746.120 tunnel_dequeue_acked_packets(60687/34032) rws=1 cwnd=1 ssthresh=1 outstanding=0
746.120 tunnel_process_received_datagram(60687/34032, SCCCN)
746.120 tunnel(60687/34032) state wait-ctl-conn -> established
746.221 tunnel_do_ack(60687/34032)
746.221 dgram_send_to_wire() -> type=ZLB, tid=34032, sid=0, Nr=2, Ns=1
746.351 dgram_take_from_wire() -> type=ICRQ, tid=60687, sid=0, Nr=1, Ns=2
746.351 tunnel_schedule_ack(60687/34032)
746.351 tunnel_dequeue_acked_packets(60687/34032) rws=1 cwnd=1 ssthresh=1 outstanding=0
746.351 tunnel_process_received_datagram(60687/34032, ICRQ)
746.351 session((60687/34032, 54473/7786)) state idle -> wait-connect
746.351 tunnel_enqueue_dgram(60687/34032, ICRP) rws=1 cwnd=1 ssthresh=1 outstanding=0
746.351 xmit_queued(60687/34032): rws=1 cwnd=1 ssthresh=1 outstanding=0
746.351 dgram_send_to_wire() -> type=ICRP, tid=34032, sid=7786, Nr=3, Ns=1
746.352 loop in xmit_queued(60687/34032): rws=1 cwnd=1 ssthresh=1 outstanding=1
746.391 dgram_take_from_wire() -> type=ICCN, tid=60687, sid=54473, Nr=2, Ns=3
746.391 tunnel_schedule_ack(60687/34032)
746.391 tunnel_dequeue_acked_packets(60687/34032) rws=1 cwnd=1 ssthresh=1 outstanding=0
746.391 tunnel_process_received_datagram(60687/34032, ICCN)
746.391 session((60687/34032, 54473/7786)) state wait-connect -> established
746.536 tunnel_do_ack(60687/34032)
746.536 dgram_send_to_wire() -> type=ZLB, tid=34032, sid=0, Nr=4, Ns=2
746.539 session_send_CDN((60687/34032, 54473/7786)): pppd process exited
746.539 session((60687/34032, 54473/7786)) state established -> idle
746.539 tunnel_enqueue_dgram(60687/34032, CDN) rws=1 cwnd=1 ssthresh=1 outstanding=0
746.539 xmit_queued(60687/34032): rws=1 cwnd=1 ssthresh=1 outstanding=0
746.539 dgram_send_to_wire() -> type=CDN, tid=34032, sid=7786, Nr=4, Ns=2
746.540 loop in xmit_queued(60687/34032): rws=1 cwnd=1 ssthresh=1 outstanding=1
746.540 session_free((60687/34032, 54473/7786)) pppd process exited
746.540 tunnel_send_StopCCN(60687/34032, 1, 0, Last session has closed)
746.540 tunnel(60687/34032) state established -> sent-stop-ccn
746.540 tunnel_enqueue_dgram(60687/34032, StopCCN) rws=1 cwnd=1 ssthresh=1 outstanding=1
746.540 xmit_queued(60687/34032): rws=1 cwnd=1 ssthresh=1 outstanding=1
746.646 dgram_take_from_wire() -> type=StopCCN, tid=60687, sid=0, Nr=3, Ns=4
746.646 tunnel_schedule_ack(60687/34032)
746.646 tunnel_dequeue_acked_packets(60687/34032) rws=1 cwnd=1 ssthresh=1 outstanding=0
746.646 tunnel_process_received_datagram(60687/34032, StopCCN)
746.646 tunnel(60687/34032) state sent-stop-ccn -> received-stop-ccn
746.646 dgram_send_to_wire() -> type=ZLB, tid=34032, sid=0, Nr=5, Ns=3
746.646 tunnel_schedule_destruction(60687/34032)
777.678 tunnel_free(60687/34032)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

from log I can get that tunnel is connected and then disconnect.

I can set is server IP, user, password and secrets on the Windows 7 and Android Phone.

Error on Windows 7 says Error 800, sometime Error 868. On Android phone, it says VPN disconnected and then window popup with error saying user or password not correct but i have set correct both.

Any guess, whats going wrong.

Thanks in advance.

Discussion


Log in to post a comment.