V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
touzi
V2EX  ›  问与答

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

  •  
  •   touzi · 2015-03-06 14:33:27 +08:00 · 3513 次点击
    这是一个创建于 3494 天前的主题,其中的信息可能已经有所发展或是发生改变。
    已经将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
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   884 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 22:25 · PVG 06:25 · LAX 15:25 · JFK 18:25
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.