[Openswan Users] My VPN connection get disconnected after 1.1 minutes

John Joseph jjk_saji at yahoo.com
Sun Nov 12 06:51:58 EST 2006


Hi 
   My VPN connection get disconnected after 1.1
minutes , 
my configurations are given below . 
I did google to find the reason for this , the
previous archives such as
"http://lists.openswan.org/pipermail/users/2006-August/010410.html"
"http://lists.openswan.org/pipermail/users/2004-July/001556.html"
are not able to access , I request guidance .
                   Thanks 
                     Joseph John 
		    using "ipsec-tools-0.3.3-6" , "l2tpd-0.69-13" on
CentOS release 4.3 (Final)



cat /etc/l2tpd/l2tpd.conf
[lns default]
ip range = 192.168.180.40-192.168.180.130
local ip = 192.168.180.130
require chap = yes
refuse pap = yes
require authentication = yes
name = LinuxVPNserver
ppp debug = yes
pppoptfile = /etc/ppp/options.l2tpd
length bit = yes



the log file shows 



"/var/log/secure"
Nov 13 12:26:26 jjk_test pppd[2906]: pppd 2.4.2
started by root, uid 0
Nov 13 12:26:26 jjk_test pppd[2906]: Using interface
ppp0
Nov 13 12:26:26 jjk_test pppd[2906]: Connect: ppp0
<--> /dev/pts/2
Nov 13 12:26:27 jjk_test pppd[2906]: Unsupported
protocol 'Compression Control Protocol' (0x80fd)
received
Nov 13 12:26:27 jjk_test pppd[2906]: found interface
eth1 for proxy arp
Nov 13 12:26:27 jjk_test pppd[2906]: local  IP address
192.168.180.130
Nov 13 12:26:27 jjk_test pppd[2906]: remote IP address
192.168.180.40
Nov 13 12:27:30 jjk_test pppd[2906]: Modem hangup
Nov 13 12:27:30 jjk_test pppd[2906]: Connection
terminated.
Nov 13 12:27:30 jjk_test pppd[2906]: Connect time 1.1
minutes.
Nov 13 12:27:30 jjk_test pppd[2906]: Sent 74 bytes,
received 3880 bytes.
Nov 13 12:27:30 jjk_test pppd[2906]: Terminating on
signal 15.
Nov 13 12:27:31 jjk_test pppd[2906]: Connect time 1.1
minutes.
Nov 13 12:27:31 jjk_test pppd[2906]: Sent 74 bytes,
received 3880 bytes.
Nov 13 12:27:31 jjk_test pppd[2906]: Exit.
Nov 13 12:27:31 jjk_test l2tpd[2385]: call_close :
Connection 1 closed to 192.168.242.135, port 1701
(Timeout)
Nov 13 12:29:37 jjk_test dhclient: DHCPREQUEST on eth1
to 192.168.180.254 port 67
Nov 13 12:29:37 jjk_test dhclient: DHCPACK from
192.168.180.254
Nov 13 12:29:37 jjk_test dhclient: bound to
192.168.180.130 -- renewal in 678 seconds.

******************
"/var/log/message"
******************
Nov 13 12:26:24 jjk_test pluto[2258]: "l2tp-psk"[1]
192.168.242.135 #1: STATE_MAIN_R1: sent MR1, expecting
MI2
Nov 13 12:26:24 jjk_test pluto[2258]: "l2tp-psk"[1]
192.168.242.135 #1: NAT-Traversal: Result using
draft-ietf-ipsec-nat-t-ike-02/03: no NAT detected
Nov 13 12:26:24 jjk_test pluto[2258]: "l2tp-psk"[1]
192.168.242.135 #1: transition from state
STATE_MAIN_R1 to state STATE_MAIN_R2
Nov 13 12:26:24 jjk_test pluto[2258]: "l2tp-psk"[1]
192.168.242.135 #1: STATE_MAIN_R2: sent MR2, expecting
MI3
Nov 13 12:26:24 jjk_test pluto[2258]: "l2tp-psk"[1]
192.168.242.135 #1: Main mode peer ID is ID_IPV4_ADDR:
'192.168.242.135'
Nov 13 12:26:24 jjk_test pluto[2258]: "l2tp-psk"[1]
192.168.242.135 #1: I did not send a certificate
because I do not have one.
Nov 13 12:26:24 jjk_test pluto[2258]: "l2tp-psk"[1]
192.168.242.135 #1: transition from state
STATE_MAIN_R2 to state STATE_MAIN_R3
Nov 13 12:26:24 jjk_test pluto[2258]: "l2tp-psk"[1]
192.168.242.135 #1: STATE_MAIN_R3: sent MR3, ISAKMP SA
established {auth=OAKLEY_PRESHARED_KEY
cipher=oakley_3des_cbc_192 prf=oakley_sha
group=modp2048}
Nov 13 12:26:24 jjk_test pluto[2258]: "l2tp-psk"[1]
192.168.242.135 #2: responding to Quick Mode
{msgid:bd713860}
Nov 13 12:26:25 jjk_test pluto[2258]: "l2tp-psk"[1]
192.168.242.135 #2: transition from state
STATE_QUICK_R0 to state STATE_QUICK_R1
Nov 13 12:26:25 jjk_test pluto[2258]: "l2tp-psk"[1]
192.168.242.135 #2: STATE_QUICK_R1: sent QR1, inbound
IPsec SA installed, expecting QI2
Nov 13 12:26:26 jjk_test pluto[2258]: "l2tp-psk"[1]
192.168.242.135 #2: transition from state
STATE_QUICK_R1 to state STATE_QUICK_R2
Nov 13 12:26:26 jjk_test pluto[2258]: "l2tp-psk"[1]
192.168.242.135 #2: STATE_QUICK_R2: IPsec SA
established {ESP=>0x3960d5ea <0x9333eea9
xfrm=3DES_0-HMAC_MD5 NATD=192.168.242.135:500
DPD=none}
Nov 13 12:28:33 jjk_test pluto[2258]: "l2tp-psk"[1]
192.168.242.135 #1: received Delete SA(0x3960d5ea)
payload: deleting IPSEC State #2
Nov 13 12:28:33 jjk_test pluto[2258]: "l2tp-psk"[1]
192.168.242.135 #1: received and ignored informational
message
Nov 13 12:28:33 jjk_test pluto[2258]: "l2tp-psk"[1]
192.168.242.135 #1: received Delete SA payload:
deleting ISAKMP State #1
Nov 13 12:28:33 jjk_test pluto[2258]: "l2tp-psk"[1]
192.168.242.135: deleting connection "l2tp-psk"
instance with peer 192.168.242.135
{isakmp=#0/ipsec=#0}
Nov 13 12:28:33 jjk_test pluto[2258]: packet from
192.168.242.135:500: received and ignored
informational message




		
___________________________________________________________

Inbox full of spam? Get leading spam protection and
1GB storage with All New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html


		
___________________________________________________________ 
Try the all-new Yahoo! Mail. "The New Version is radically easier to use" – The Wall Street Journal 
http://uk.docs.yahoo.com/nowyoucan.html


More information about the Users mailing list