pptp 关闭 ufw 能连接,开启 ufw 无法连接?

2015-03-06 14:33:27 +08:00
 touzi
已经将1723端口加入ufw

这是错误日志

3597 Mar 6 11:40:13 ubuntu kernel: [ 6172.748774] [UFW BLOCK] IN=eth0 OUT= MAC=00:1e:90:aa:b4:54:0c:82:68:31:c1:4e:08:00 SRC=122.114.38.150 DST=192.168.3.8 LEN=40 TOS=0x00 PREC=0x00 TTL=103 ID=256 PROTO=TCP SPT=6000 DPT=3306 WINDOW=16384 RES=0x00 SYN URGP=0
3598 Mar 6 11:40:31 ubuntu pptpd[4005]: CTRL: Client 61.148.242.203 control connection started
3599 Mar 6 11:40:31 ubuntu pptpd[4005]: CTRL: Starting call (launching pppd, opening GRE)
3600 Mar 6 11:40:31 ubuntu pppd[4006]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
3601 Mar 6 11:40:31 ubuntu pppd[4006]: pppd 2.4.5 started by root, uid 0
3602 Mar 6 11:40:31 ubuntu pppd[4006]: Using interface ppp0
3603 Mar 6 11:40:31 ubuntu pppd[4006]: Connect: ppp0 <--> /dev/pts/1
3604 Mar 6 11:40:47 ubuntu kernel: [ 6207.113048] [UFW BLOCK] IN=eth0 OUT= MAC=00:1e:90:aa:b4:54:0c:82:68:31:c1:4e:08:00 SRC=61.148.242.203 DST=192.168.3.8 LEN=60 TOS=0x00 PREC=0x00 TTL=239 ID=323 92 PROTO=47
3605 Mar 6 11:40:50 ubuntu kernel: [ 6209.722965] [UFW BLOCK] IN=eth0 OUT= MAC=00:1e:90:aa:b4:54:0c:82:68:31:c1:4e:08:00 SRC=61.148.242.203 DST=192.168.3.8 LEN=65 TOS=0x00 PREC=0x00 TTL=239 ID=101 52 PROTO=47
3606 Mar 6 11:40:50 ubuntu kernel: [ 6210.242808] [UFW BLOCK] IN=eth0 OUT= MAC=00:1e:90:aa:b4:54:0c:82:68:31:c1:4e:08:00 SRC=61.148.242.203 DST=192.168.3.8 LEN=60 TOS=0x00 PREC=0x00 TTL=239 ID=436 49 PROTO=47
3607 Mar 6 11:40:53 ubuntu kernel: [ 6213.302808] [UFW BLOCK] IN=eth0 OUT= MAC=00:1e:90:aa:b4:54:0c:82:68:31:c1:4e:08:00 SRC=61.148.242.203 DST=192.168.3.8 LEN=60 TOS=0x00 PREC=0x00 TTL=239 ID=500 35 PROTO=47
3608 Mar 6 11:40:56 ubuntu kernel: [ 6215.723063] [UFW BLOCK] IN=eth0 OUT= MAC=00:1e:90:aa:b4:54:0c:82:68:31:c1:4e:08:00 SRC=61.148.242.203 DST=192.168.3.8 LEN=65 TOS=0x00 PREC=0x00 TTL=239 ID=298 71 PROTO=47
3609 Mar 6 11:40:56 ubuntu kernel: [ 6216.312978] [UFW BLOCK] IN=eth0 OUT= MAC=00:1e:90:aa:b4:54:0c:82:68:31:c1:4e:08:00 SRC=61.148.242.203 DST=192.168.3.8 LEN=60 TOS=0x00 PREC=0x00 TTL=239 ID=501 02 PROTO=47
3610 Mar 6 11:40:59 ubuntu kernel: [ 6218.763041] [UFW BLOCK] IN=eth0 OUT= MAC=00:1e:90:aa:b4:54:0c:82:68:31:c1:4e:08:00 SRC=61.148.242.203 DST=192.168.3.8 LEN=65 TOS=0x00 PREC=0x00 TTL=239 ID=216 13 PROTO=47
3611 Mar 6 11:40:59 ubuntu kernel: [ 6219.393121] [UFW BLOCK] IN=eth0 OUT= MAC=00:1e:90:aa:b4:54:0c:82:68:31:c1:4e:08:00 SRC=61.148.242.203 DST=192.168.3.8 LEN=60 TOS=0x00 PREC=0x00 TTL=239 ID=592 57 PROTO=47
3612 Mar 6 11:41:01 ubuntu pppd[4006]: LCP: timeout sending Config-Requests
3613 Mar 6 11:41:01 ubuntu pppd[4006]: Connection terminated.
3614 Mar 6 11:41:01 ubuntu pppd[4006]: Modem hangup
3615 Mar 6 11:41:01 ubuntu pppd[4006]: Exit.
3616 Mar 6 11:41:01 ubuntu pptpd[4005]: GRE: read(fd=6,buffer=7f49e54174a0,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, chec k option syntax and pppd logs
3617 Mar 6 11:41:01 ubuntu pptpd[4005]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
3618 Mar 6 11:41:01 ubuntu pptpd[4005]: CTRL: Reaping child PPP[4006]
3619 Mar 6 11:41:01 ubuntu pptpd[4005]: CTRL: Client 61.148.242.203 control connection finished
3528 次点击
所在节点    问与答
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/174919

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX