[問題] 連上PPTP Server後,為何會自動斷線

看板Linux作者 ( )時間16年前 (2008/05/19 19:59), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串1/1
請問有架過PPTP Server的前輩 當我client連上server後,過一段時間後會自動斷線,請問是什麼原因造成的 以下是/var/log/messages出現的訊息 May 19 18:09:07 localhost pptpd[20363]: MGR: dropped small initial connection May 19 18:09:07 localhost pptpd[21204]: CTRL: Client 192.168.101.15 control connection started May 19 18:09:10 localhost pptpd[21204]: CTRL: Starting call (launching pppd, opening GRE) May 19 18:09:10 localhost pppd[21205]: Plugin /etc/ppp/plugins/radius.so loaded. May 19 18:09:10 localhost pppd[21205]: RADIUS plugin initialized. May 19 18:09:10 localhost pppd[21205]: pppd options in effect: May 19 18:09:10 localhost pppd[21205]: debug#011#011# (from /etc/ppp/options.pptpd) May 19 18:09:10 localhost pppd[21205]: logfile /var/log/pptpd.log#011#011# (from /etc/ppp/options.pptpd) May 19 18:09:10 localhost pppd[21205]: dump#011#011# (from /etc/ppp/options.pptpd) May 19 18:09:10 localhost pppd[21205]: plugin /etc/ppp/plugins/radius.so#011#011# (from /etc/ppp/options) May 19 18:09:10 localhost pppd[21205]: radius-config-file /etc/ppp/radius/radiusclient.conf#011#011# (from /etc/ppp/options) May 19 18:09:10 localhost pppd[21205]: 115200#011#011# (from command line) May 19 18:09:10 localhost pppd[21205]: lock#011#011# (from /etc/ppp/options) May 19 18:09:10 localhost pppd[21205]: crtscts#011#011# (from /etc/ppp/options) May 19 18:09:10 localhost pppd[21205]: local#011#011# (from command line) May 19 18:09:10 localhost pppd[21205]: nopcomp#011#011# (from /etc/ppp/options) May 19 18:09:10 localhost pppd[21205]: ipparam 192.168.101.15#011#011# (from command line) May 19 18:09:10 localhost pppd[21205]: ms-dns xxx # [don't know how to print value]#011#011# (from /etc/ppp/options.pptpd) May 19 18:09:10 localhost pppd[21205]: 192.168.101.1:10.0.0.6#011#011# (from command line) May 19 18:09:10 localhost pppd[21205]: nobsdcomp#011#011# (from /etc/ppp/options) May 19 18:09:10 localhost pppd[21205]: nodeflate#011#011# (from /etc/ppp/options) May 19 18:09:10 localhost pppd[21205]: pppd 2.4.4 started by root, uid 0 May 19 18:09:10 localhost pppd[21205]: Using interface ppp0 May 19 18:09:10 localhost pppd[21205]: Connect: ppp0 <--> /dev/pts/3 May 19 18:09:10 localhost pptpd[21204]: GRE: Bad checksum from pppd. May 19 18:09:13 localhost pppd[21205]: local IP address 192.168.101.1 May 19 18:09:13 localhost pppd[21205]: remote IP address 10.0.0.6 May 19 18:13:00 localhost pptpd[21204]: CTRL: Session timed out, ending call May 19 18:13:00 localhost pppd[21205]: Modem hangup May 19 18:13:00 localhost pppd[21205]: Connect time 3.8 minutes. May 19 18:13:00 localhost pppd[21205]: Sent 0 bytes, received 144 bytes. May 19 18:13:00 localhost pppd[21205]: Connection terminated. May 19 18:13:00 localhost pppd[21205]: Exit. May 19 18:13:00 localhost pptpd[21204]: CTRL: Client 192.168.101.15 control connection finished May 19 18:13:00 localhost pptpd[21204]: CTRL: EOF or bad error reading ctrl packet length. May 19 18:13:00 localhost pptpd[21204]: CTRL: couldn't read packet header (exit) May 19 18:13:00 localhost pptpd[21204]: CTRL: Fatal error reading control message in disconnect sequence 這是我的設定檔內容 #cat /etc/ppp/options lock crtscts nobsdcomp nodeflate nopcomp plugin /etc/ppp/plugins/radius.so radius-config-file /etc/ppp/radius/radiusclient.conf #cat /etc/pptpd.conf option /etc/ppp/options.pptpd debug localip 192.168.101.1 remoteip 10.0.0.6-100 #cat /etc/ppp/options.pptpd dump logfile /var/log/pptpd.log debug ms-dns 192.168.1.2 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.117.185.142

05/30 23:39, , 1F
我已經解決了,問題出在MTU值
05/30 23:39, 1F
文章代碼(AID): #18CMkIha (Linux)
文章代碼(AID): #18CMkIha (Linux)