Máy khách Windows 7 không thể kết nối với CentOS PPTP VPN


1

Có máy Macintosh (10.8.2) chỉ kết nối tốt với máy chủ riêng ảo CentOS 6.0 (OpenVZ, với máy chủ được thêm vào bởi PPP) thông qua PPTP.

Máy khách Windows 7 Home Premium (được ảo hóa trong Hộp ảo của Sun), trên cùng một máy tính, sử dụng cùng một kết nối Ethernet, không thể kết nối với máy chủ Linux VPN.

Tôi đã tắt iptables (để thử nghiệm) trên hộp Linux. Tôi đã tắt tường lửa Windows. / var / log / message trông như thế này, đối với kết nối Windows:

Oct 12 18:44:30 production pptpd[1880]: CTRL: Client 66.104.246.168 control connection started
Oct 12 18:44:30 production pptpd[1880]: CTRL: Starting call (launching pppd, opening GRE)
Oct 12 18:44:30 production pppd[1881]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
Oct 12 18:44:30 production pppd[1881]: pptpd-logwtmp: $Version$
Oct 12 18:44:30 production pppd[1881]: pppd options in effect:
Oct 12 18:44:30 production pppd[1881]: debug#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:44:30 production pppd[1881]: nologfd#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:44:30 production pppd[1881]: dump#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:44:30 production pppd[1881]: plugin /usr/lib/pptpd/pptpd-logwtmp.so#011#011# (from command line)
Oct 12 18:44:30 production pppd[1881]: require-mschap-v2#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:44:30 production pppd[1881]: refuse-pap#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:44:30 production pppd[1881]: refuse-chap#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:44:30 production pppd[1881]: refuse-mschap#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:44:30 production pppd[1881]: name pptpd#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:44:30 production pppd[1881]: pptpd-original-ip 66.104.246.168#011#011# (from command line)
Oct 12 18:44:30 production pppd[1881]: 115200#011#011# (from command line)
Oct 12 18:44:30 production pppd[1881]: lock#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:44:30 production pppd[1881]: local#011#011# (from command line)
Oct 12 18:44:30 production pppd[1881]: novj#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:44:30 production pppd[1881]: novjccomp#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:44:30 production pppd[1881]: ipparam 66.104.246.168#011#011# (from command line)
Oct 12 18:44:30 production pppd[1881]: proxyarp#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:44:30 production pppd[1881]: 192.168.97.1:192.168.97.10#011#011# (from command line)
Oct 12 18:44:30 production pppd[1881]: nobsdcomp#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:44:30 production pppd[1881]: require-mppe-128#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:44:30 production pppd[1881]: mppe-stateful#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:44:30 production pppd[1881]: pppd 2.4.5 started by root, uid 0
Oct 12 18:44:30 production pppd[1881]: Using interface ppp0
Oct 12 18:44:30 production pppd[1881]: Connect: ppp0 <--> /dev/pts/1

(Tại thời điểm này, máy Windows sẽ hiển thị hộp thoại, đọc: "Xác minh tên người dùng và mật khẩu ...")

Oct 12 18:45:00 production pppd[1881]: LCP: timeout sending Config-Requests
Oct 12 18:45:00 production pppd[1881]: Connection terminated.
Oct 12 18:45:00 production pppd[1881]: Modem hangup
Oct 12 18:45:00 production pppd[1881]: Exit.
Oct 12 18:45:00 production pptpd[1880]: GRE: read(fd=6,buffer=8059660,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Oct 12 18:45:00 production pptpd[1880]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Oct 12 18:45:00 production pptpd[1880]: CTRL: Client 66.104.246.168 control connection finished

Kết nối Macintosh trông như thế này trong / var / log / message:

Oct 12 18:50:49 production pptpd[1920]: CTRL: Client 66.104.246.168 control connection started
Oct 12 18:50:49 production pptpd[1920]: CTRL: Starting call (launching pppd, opening GRE)
Oct 12 18:50:49 production pppd[1921]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
Oct 12 18:50:49 production pppd[1921]: pptpd-logwtmp: $Version$
Oct 12 18:50:49 production pppd[1921]: pppd options in effect:
Oct 12 18:50:49 production pppd[1921]: debug#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:50:49 production pppd[1921]: nologfd#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:50:49 production pppd[1921]: dump#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:50:49 production pppd[1921]: plugin /usr/lib/pptpd/pptpd-logwtmp.so#011#011# (from command line)
Oct 12 18:50:49 production pppd[1921]: require-mschap-v2#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:50:49 production pppd[1921]: refuse-pap#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:50:49 production pppd[1921]: refuse-chap#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:50:49 production pppd[1921]: refuse-mschap#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:50:49 production pppd[1921]: name pptpd#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:50:49 production pppd[1921]: pptpd-original-ip 66.104.246.168#011#011# (from command line)
Oct 12 18:50:49 production pppd[1921]: 115200#011#011# (from command line)
Oct 12 18:50:49 production pppd[1921]: lock#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:50:49 production pppd[1921]: local#011#011# (from command line)
Oct 12 18:50:49 production pppd[1921]: novj#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:50:49 production pppd[1921]: novjccomp#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:50:49 production pppd[1921]: ipparam 66.104.246.168#011#011# (from command line)
Oct 12 18:50:49 production pppd[1921]: proxyarp#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:50:49 production pppd[1921]: 192.168.97.1:192.168.97.10#011#011# (from command line)
Oct 12 18:50:49 production pppd[1921]: nobsdcomp#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:50:49 production pppd[1921]: require-mppe-128#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:50:49 production pppd[1921]: mppe-stateful#011#011# (from /etc/ppp/options.pptpd)
Oct 12 18:50:49 production pppd[1921]: pppd 2.4.5 started by root, uid 0
Oct 12 18:50:49 production pppd[1921]: Using interface ppp0
Oct 12 18:50:49 production pppd[1921]: Connect: ppp0 <--> /dev/pts/1
Oct 12 18:50:52 production pppd[1921]: MPPE 128-bit stateless compression enabled
Oct 12 18:50:52 production pppd[1921]: Unsupported protocol 'IPv6 Control Protocol' (0x8057) received
Oct 12 18:50:52 production pppd[1921]: Unsupported protocol 'Apple Client Server Protocol Control' (0x8235) received
Oct 12 18:50:52 production pppd[1921]: Cannot determine ethernet address for proxy ARP
Oct 12 18:50:52 production pppd[1921]: local  IP address 192.168.97.1
Oct 12 18:50:52 production pppd[1921]: remote IP address 192.168.97.10
Oct 12 18:50:52 production pppd[1921]: pptpd-logwtmp.so ip-up ppp0 chris 66.104.246.168

Tôi đang bối rối ...

Khi sử dụng trang web của chúng tôi, bạn xác nhận rằng bạn đã đọc và hiểu Chính sách cookieChính sách bảo mật của chúng tôi.
Licensed under cc by-sa 3.0 with attribution required.