歡迎您光臨本站 註冊首頁

pptp伺服器,windows可以連接,linux連接不上

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

pptp伺服器,windows可以連接,linux連接不上

在CentOS 5.2 32bit 搭建的pptp 伺服器,在windows客戶端中可以建立連接,並且成功打開youtube,facebook等被qiang的網站。但是在linux中,如Ubuntu 10.04 Fedora 13中連不上。經過從初步分析,應該是由於協商不成功引起的。搜索了好久都沒有找到答案,是在沒有辦法了,所以上來求救。望大家不吝賜教。

服務端配置大致如下:

name pptpd

refuse-eap
refuse-pap
refuse-chap
#require-chap
#refuse-mschap
require-mschap
require-mschap-v2
require-mppe-128

ms-dns 208.66.222.222
ms-dns 208.67.220.220

debug
logfile /var/log/pptpd.log
dump

lock

nobsdcomp

novj
novjccomp


服務端log信息如下:
Apr 19 17:09:10 00:16:3e:7a:3d:20-my00003 pppd: 115200                # (from command line)
using channel 11
Apr 19 17:09:10 00:16:3e:7a:3d:20-my00003 pppd: lock                # (from /etc/ppp/options.pptpd)
Apr 19 17:09:10 00:16:3e:7a:3d:20-my00003 pppd: local                # (from command line)
Using interface ppp0
Connect: ppp0 <--> /dev/pts/0
Apr 19 17:09:10 00:16:3e:7a:3d:20-my00003 pppd: novj                # (from /etc/ppp/options.pptpd)
Apr 19 17:09:10 00:16:3e:7a:3d:20-my00003 pppd: novjccomp                # (from /etc/ppp/options.pptpd)
sent
Apr 19 17:09:10 00:16:3e:7a:3d:20-my00003 pppd: ipparam 183.62.141.149                # (from command line)
Apr 19 17:09:10 00:16:3e:7a:3d:20-my00003 pppd: ms-dns xxx #                 # (from /etc/ppp/options.pptpd)
Apr 19 17:09:10 00:16:3e:7a:3d:20-my00003 pppd: proxyarp                # (from /etc/ppp/options.pptpd)
Apr 19 17:09:10 00:16:3e:7a:3d:20-my00003 pppd: 192.168.2.1:192.168.2.101                # (from command line)
Apr 19 17:09:10 00:16:3e:7a:3d:20-my00003 pppd: nobsdcomp                # (from /etc/ppp/options.pptpd)
Apr 19 17:09:10 00:16:3e:7a:3d:20-my00003 pppd: require-mppe-128                # (from /etc/ppp/options.pptpd)
Apr 19 17:09:10 00:16:3e:7a:3d:20-my00003 pppd: pppd 2.4.4 started by root, uid 0
Apr 19 17:09:10 00:16:3e:7a:3d:20-my00003 pppd: using channel 11
Apr 19 17:09:10 00:16:3e:7a:3d:20-my00003 pppd: Using interface ppp0
Apr 19 17:09:10 00:16:3e:7a:3d:20-my00003 pppd: Connect: ppp0 <--> /dev/pts/0
Apr 19 17:09:10 00:16:3e:7a:3d:20-my00003 pppd: sent
sent
sent
sent
sent
sent
sent
sent
sent
sent
Apr 19 17:09:37 00:16:3e:7a:3d:20-my00003 last message repeated 9 times
Apr 19 17:09:40 00:16:3e:7a:3d:20-my00003 pptpd: CTRL: Received PPTP Control Message (type: 12)
Modem hangup
Connection terminated.
Apr 19 17:09:40 00:16:3e:7a:3d:20-my00003 pptpd: CTRL: Made a CALL DISCONNECT RPLY packet
Apr 19 17:09:40 00:16:3e:7a:3d:20-my00003 pptpd: CTRL: Received CALL CLR request (closing call)
Apr 19 17:09:40 00:16:3e:7a:3d:20-my00003 pptpd: CTRL: Reaping child PPP
Apr 19 17:09:40 00:16:3e:7a:3d:20-my00003 pppd: Modem hangup
Apr 19 17:09:40 00:16:3e:7a:3d:20-my00003 pppd: Connection terminated.
Apr 19 17:09:40 00:16:3e:7a:3d:20-my00003 pppd: Exit.
Apr 19 17:09:40 00:16:3e:7a:3d:20-my00003 pptpd: CTRL: Client 183.62.141.149 control connection finished
Apr 19 17:09:40 00:16:3e:7a:3d:20-my00003 pptpd: CTRL: Exiting now
Apr 19 17:09:40 00:16:3e:7a:3d:20-my00003 pptpd: MGR: Reaped child 1851
《解決方案》

頂啊~~~~
《解決方案》

sent
sent
sent
sent
sent
sent
sent
sent
sent


ppp服務端發送給客戶端挑戰認證,客戶端沒有回應,超時退出,抓包看看數據包是否發出去。
《解決方案》

我也是這個問題!

[火星人 ] pptp伺服器,windows可以連接,linux連接不上已經有666次圍觀

http://coctec.com/docs/service/show-post-14483.html