1

Иметь Macintosh (10.8.2), который прекрасно подключается к виртуальному частному серверу CentOS 6.0 (OpenVZ, с PPP, добавленным хостом) через PPTP.

Клиент Windows 7 Home Premium (виртуализированный в виртуальной коробке Sun) на том же компьютере, использующий то же соединение Ethernet, не может подключиться к VPN-серверу Linux.

Я отключил iptables (для тестирования) на Linux. У меня отключен брандмауэр Windows. /var /log /messages выглядит так для соединения 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

(На этом этапе Windows-машина отображает диалоговое окно со следующим текстом: «Проверка имени пользователя и пароля ...»)

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

Подключение к Macintosh выглядит следующим образом в /var /log /messages:

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

Я сбит с толку ...

0