| Fcukinyahoo |
11-30-2012 10:55 PM |
VPN pptpd Connects Once, Won't Connect Twice?@%*
I dont get it. I setup pptpd on CentOS6.3, I m testing it, I can connect to the server the first time after reboot. Then I disconnect my from client to test the connection again, but it won't connect to the VPN second time :) I really dont get it. Here is /var/log/messages for you...
Code:
Nov 30 23:28:56 test pptpd[1221]: MGR: Maximum of 100 connections reduced to 6, not enough IP addresses given
Nov 30 23:28:56 test pptpd[1222]: MGR: Manager process started
Nov 30 23:28:56 test pptpd[1222]: MGR: Maximum of 6 connections available
Nov 30 23:30:06 test pptpd[1299]: CTRL: Client xxx.xxx.xxx.xxx control connection started
Nov 30 23:30:06 test pptpd[1299]: CTRL: Starting call (launching pppd, opening GRE)
Nov 30 23:30:06 test pppd[1300]: Plugin /usr/lib64/pptpd/pptpd-logwtmp.so loaded.
Nov 30 23:30:06 test kernel: PPP generic driver version 2.4.2
Nov 30 23:30:06 test pppd[1300]: pppd 2.4.5 started by root, uid 0
Nov 30 23:30:06 test pppd[1300]: Using interface ppp0
Nov 30 23:30:06 test pppd[1300]: Connect: ppp0 <--> /dev/pts/1
Nov 30 23:30:10 test kernel: PPP MPPE Compression module registered
Nov 30 23:30:10 test pppd[1300]: MPPE 128-bit stateless compression enabled
Nov 30 23:30:10 test pppd[1300]: found interface eth0 for proxy arp
Nov 30 23:30:10 test pppd[1300]: local IP address 192.168.1.20
Nov 30 23:30:10 test pppd[1300]: remote IP address 192.168.1.80
Nov 30 23:31:43 test pppd[1300]: LCP terminated by peer (MPPE disabled)
Nov 30 23:31:43 test pppd[1300]: Connect time 1.6 minutes.
Nov 30 23:31:43 test pppd[1300]: Sent 635302 bytes, received 44565 bytes.
Nov 30 23:31:43 test pptpd[1299]: CTRL: EOF or bad error reading ctrl packet length.
Nov 30 23:31:43 test pptpd[1299]: CTRL: couldn't read packet header (exit)
Nov 30 23:31:43 test pptpd[1299]: CTRL: CTRL read failed
Nov 30 23:31:43 test pppd[1300]: Modem hangup
Nov 30 23:31:43 test pppd[1300]: Connection terminated.
Nov 30 23:31:43 test pppd[1300]: Exit.
Nov 30 23:31:43 test pptpd[1299]: CTRL: Client xxx.xxx.xxx.xxx control connection finished
Nov 30 23:32:00 test pptpd[1403]: CTRL: Client xxx.xxx.xxx.xxx control connection started
Nov 30 23:32:00 test pptpd[1403]: CTRL: Starting call (launching pppd, opening GRE)
Nov 30 23:32:00 test pppd[1404]: Plugin /usr/lib64/pptpd/pptpd-logwtmp.so loaded.
Nov 30 23:32:00 test pppd[1404]: pppd 2.4.5 started by root, uid 0
Nov 30 23:32:00 test pppd[1404]: Using interface ppp0
Nov 30 23:32:00 test pppd[1404]: Connect: ppp0 <--> /dev/pts/1
Nov 30 23:32:13 test pptpd[1403]: CTRL: EOF or bad error reading ctrl packet length.
Nov 30 23:32:13 test pptpd[1403]: CTRL: couldn't read packet header (exit)
Nov 30 23:32:13 test pptpd[1403]: CTRL: CTRL read failed
Nov 30 23:32:13 test pppd[1404]: Modem hangup
Nov 30 23:32:13 test pppd[1404]: Connection terminated.
Nov 30 23:32:13 test pppd[1404]: Exit.
Nov 30 23:32:13 test pptpd[1403]: CTRL: Client xxx.xxx.xxx.xxx control connection finished
Nov 30 23:32:14 test ntpd[1214]: synchronized to xxx.xxx.xxx.xxx, stratum 1
Nov 30 23:32:14 test ntpd[1214]: time reset -0.535997 s
Nov 30 23:34:11 test pptpd[1485]: CTRL: Client xxx.xxx.xxx.xxx control connection started
Nov 30 23:34:11 test pptpd[1485]: CTRL: Starting call (launching pppd, opening GRE)
Nov 30 23:34:11 test pppd[1486]: Plugin /usr/lib64/pptpd/pptpd-logwtmp.so loaded.
Nov 30 23:34:11 test pppd[1486]: pppd 2.4.5 started by root, uid 0
Nov 30 23:34:11 test pppd[1486]: Using interface ppp0
Nov 30 23:34:11 test pppd[1486]: Connect: ppp0 <--> /dev/pts/1
Nov 30 23:34:41 test pppd[1486]: LCP: timeout sending Config-Requests
Nov 30 23:34:41 test pppd[1486]: Connection terminated.
Nov 30 23:34:41 test pptpd[1485]: CTRL: EOF or bad error reading ctrl packet length.
Nov 30 23:34:41 test pptpd[1485]: CTRL: couldn't read packet header (exit)
Nov 30 23:34:41 test pptpd[1485]: CTRL: CTRL read failed
Nov 30 23:34:41 test pppd[1486]: Modem hangup
Nov 30 23:34:41 test pppd[1486]: Exit.
Nov 30 23:34:41 test pptpd[1485]: CTRL: Client xxx.xxx.xxx.xxx control connection finished
Nov 30 23:36:20 test ntpd[1214]: synchronized to xxx.xxx.xxx.xxx, stratum 1
Nov 30 23:48:03 test ntpd[1214]: kernel time sync status change 2001
Nov 30 23:52:29 test pptpd[1742]: CTRL: Client 192.168.1.1 control connection started
Nov 30 23:52:29 test pptpd[1742]: CTRL: Starting call (launching pppd, opening GRE)
Nov 30 23:52:29 test pppd[1743]: Plugin /usr/lib64/pptpd/pptpd-logwtmp.so loaded.
Nov 30 23:52:29 test pppd[1743]: pppd 2.4.5 started by root, uid 0
Nov 30 23:52:29 test pppd[1743]: Using interface ppp0
Nov 30 23:52:29 test pppd[1743]: Connect: ppp0 <--> /dev/pts/1
Nov 30 23:52:29 test pptpd[1742]: GRE: read(fd=7,buffer=6097c0,len=8260) from network failed: status = -1 error = Protocol not available
Nov 30 23:52:29 test pptpd[1742]: CTRL: GRE read or PTY write failed (gre,pty)=(7,6)
Nov 30 23:52:29 test pppd[1743]: Modem hangup
Nov 30 23:52:29 test pppd[1743]: Connection terminated.
Nov 30 23:52:29 test pppd[1743]: Exit.
Nov 30 23:52:29 test pptpd[1742]: CTRL: Client 192.168.1.1 control connection finished
Nov 30 23:52:51 test pptpd[1759]: CTRL: Client xxx.xxx.xxx.xxx control connection started
Nov 30 23:52:51 test pptpd[1759]: CTRL: Starting call (launching pppd, opening GRE)
Nov 30 23:52:51 test pppd[1760]: Plugin /usr/lib64/pptpd/pptpd-logwtmp.so loaded.
Nov 30 23:52:51 test pppd[1760]: pppd 2.4.5 started by root, uid 0
Nov 30 23:52:51 test pppd[1760]: Using interface ppp0
Nov 30 23:52:51 test pppd[1760]: Connect: ppp0 <--> /dev/pts/1
Nov 30 23:53:21 test pppd[1760]: LCP: timeout sending Config-Requests
Nov 30 23:53:21 test pppd[1760]: Connection terminated.
Nov 30 23:53:21 test pptpd[1759]: CTRL: EOF or bad error reading ctrl packet length.
Nov 30 23:53:21 test pptpd[1759]: CTRL: couldn't read packet header (exit)
Nov 30 23:53:21 test pptpd[1759]: CTRL: CTRL read failed
Nov 30 23:53:21 test pppd[1760]: Modem hangup
Nov 30 23:53:21 test pppd[1760]: Exit.
Nov 30 23:53:21 test pptpd[1759]: CTRL: Client xxx.xxx.xxx.xxx control connection finished
remember for the first time I can connect to the VPN server, for the second time I can not.
any ideas? my eyes are getting tired.
|