当前位置: 技术问答>linux和unix
关于xl2tpd做VPN服务器的奇怪问题。
来源: 互联网 发布时间:2016-08-30
本文导语: 我用centos5.4+xl2tpd-1.2.4做VPN服务器,在局域网内连接都很正常,但是我通过另外一台linux通过 互联网连接,一连接就断掉了。同样这台机器在局域网连接就很快就连上了,连接上也不会断。请大家帮帮忙。谢谢 Linux VPN ...
我用centos5.4+xl2tpd-1.2.4做VPN服务器,在局域网内连接都很正常,但是我通过另外一台linux通过
互联网连接,一连接就断掉了。同样这台机器在局域网连接就很快就连上了,连接上也不会断。请大家帮帮忙。谢谢
Linux VPN 客户端机器提示如下信息:
xl2tpd[1360]: Calling on tunnel 43720
xl2tpd[1360]: Call established with 124.14.193.200, Local: 33084, Remote: 20527, Serial: 7 (ref=0/0)
xl2tpd[1360]: start_pppd: I'm running:
xl2tpd[1360]: "/usr/sbin/pppd"
xl2tpd[1360]: "passive"
xl2tpd[1360]: "nodetach"
xl2tpd[1360]: ":"
xl2tpd[1360]: "refuse-pap"
xl2tpd[1360]: "name"
xl2tpd[1360]: "user1"
xl2tpd[1360]: "debug"
xl2tpd[1360]: "file"
xl2tpd[1360]: "/etc/ppp/options.l2tp"
xl2tpd[1360]: "/dev/pts/2"
xl2tpd[1360]: control_finish: Connection closed to 124.14.193.200, serial 7 ()
xl2tpd[1360]: Terminating pppd: sending TERM signal to pid 1523
xl2tpd[1360]: pppd 1523 successfully terminated
centos VPN 服务器上提示如下信息
xl2tpd[7678]: start_pppd: I'm running:
xl2tpd[7678]: "/usr/sbin/pppd"
xl2tpd[7678]: "passive"
xl2tpd[7678]: "nodetach"
xl2tpd[7678]: "192.168.10.254:192.168.10.2"
xl2tpd[7678]: "refuse-pap"
xl2tpd[7678]: "auth"
xl2tpd[7678]: "require-chap"
xl2tpd[7678]: "name"
xl2tpd[7678]: "LinuxVPNserver"
xl2tpd[7678]: "debug"
xl2tpd[7678]: "file"
xl2tpd[7678]: "/etc/xl2tpd/options.xl2tpd"
xl2tpd[7678]: "/dev/pts/0"
xl2tpd[7678]: Call established with 113.115.140.147, Local: 20527, Remote: 33084, Serial: 7
xl2tpd[7678]: child_handler : pppd exited for call 33084 with code 10
xl2tpd[7678]: call_close: Call 20527 to 113.115.140.147 disconnected
xl2tpd[7678]: Terminating pppd: sending TERM signal to pid 7770
xl2tpd[7678]: pppd 7770 successfully terminated
互联网连接,一连接就断掉了。同样这台机器在局域网连接就很快就连上了,连接上也不会断。请大家帮帮忙。谢谢
Linux VPN 客户端机器提示如下信息:
xl2tpd[1360]: Calling on tunnel 43720
xl2tpd[1360]: Call established with 124.14.193.200, Local: 33084, Remote: 20527, Serial: 7 (ref=0/0)
xl2tpd[1360]: start_pppd: I'm running:
xl2tpd[1360]: "/usr/sbin/pppd"
xl2tpd[1360]: "passive"
xl2tpd[1360]: "nodetach"
xl2tpd[1360]: ":"
xl2tpd[1360]: "refuse-pap"
xl2tpd[1360]: "name"
xl2tpd[1360]: "user1"
xl2tpd[1360]: "debug"
xl2tpd[1360]: "file"
xl2tpd[1360]: "/etc/ppp/options.l2tp"
xl2tpd[1360]: "/dev/pts/2"
xl2tpd[1360]: control_finish: Connection closed to 124.14.193.200, serial 7 ()
xl2tpd[1360]: Terminating pppd: sending TERM signal to pid 1523
xl2tpd[1360]: pppd 1523 successfully terminated
centos VPN 服务器上提示如下信息
xl2tpd[7678]: start_pppd: I'm running:
xl2tpd[7678]: "/usr/sbin/pppd"
xl2tpd[7678]: "passive"
xl2tpd[7678]: "nodetach"
xl2tpd[7678]: "192.168.10.254:192.168.10.2"
xl2tpd[7678]: "refuse-pap"
xl2tpd[7678]: "auth"
xl2tpd[7678]: "require-chap"
xl2tpd[7678]: "name"
xl2tpd[7678]: "LinuxVPNserver"
xl2tpd[7678]: "debug"
xl2tpd[7678]: "file"
xl2tpd[7678]: "/etc/xl2tpd/options.xl2tpd"
xl2tpd[7678]: "/dev/pts/0"
xl2tpd[7678]: Call established with 113.115.140.147, Local: 20527, Remote: 33084, Serial: 7
xl2tpd[7678]: child_handler : pppd exited for call 33084 with code 10
xl2tpd[7678]: call_close: Call 20527 to 113.115.140.147 disconnected
xl2tpd[7678]: Terminating pppd: sending TERM signal to pid 7770
xl2tpd[7678]: pppd 7770 successfully terminated
|
哎 没弄过 分析不出原因
http://blog.chinaunix.net/u/12973/showart_500868.html
http://blog.chinaunix.net/u/12973/showart_500868.html