подскажите в чем проблема: (соединяемся и тутже связь прерывется).Соединение по PAP.
/etc/ppp/pptpd.conf # # Lock the port # lock
# # We don't need the tunnel server to authenticate itself # auth +pap # # Turn off transmission protocols we know won't be used # nobsdcomp nodeflate
# # We want MPPE # #mppe-40 #mppe-128 #mppe-stateless
# # We want a sane mtu/mru # mtu 1000 mru 1000
# # Time this thing out of it goes poof # lcp-echo-failure 10 lcp-echo-interval 10
ЛОГИ:
Jul 16 14:50:45 gate pptpd[774]: MGR: Launching /usr/sbin/pptpctrl to handle client Jul 16 14:50:45 gate pptpd[774]: CTRL: local address = 192.168.8.1 Jul 16 14:50:45 gate pptpd[774]: CTRL: remote address = 192.168.8.101 Jul 16 14:50:45 gate pptpd[774]: CTRL: pppd speed = 115200 Jul 16 14:50:45 gate pptpd[774]: CTRL: pppd options file = /etc/ppp/options.pptpd Jul 16 14:50:45 gate pptpd[774]: CTRL: Client 192.168.2.101 control connection started Jul 16 14:50:45 gate pptpd[774]: CTRL: Received PPTP Control Message (type: 1) Jul 16 14:50:45 gate pptpd[774]: CTRL: Made a START CTRL CONN RPLY packet Jul 16 14:50:45 gate pptpd[774]: CTRL: I wrote 156 bytes to the client. Jul 16 14:50:45 gate pptpd[774]: CTRL: Sent packet to client Jul 16 14:50:45 gate pptpd[774]: CTRL: Received PPTP Control Message (type: 7) Jul 16 14:50:45 gate pptpd[774]: CTRL: 0 min_bps, 1525 max_bps, 32 window size Jul 16 14:50:45 gate pptpd[774]: CTRL: Made a OUT CALL RPLY packet Jul 16 14:50:45 gate pptpd[774]: CTRL: Starting call (launching pppd, opening GRE) Jul 16 14:50:45 gate pptpd[774]: CTRL: pty_fd = 5 Jul 16 14:50:45 gate pptpd[774]: CTRL: tty_fd = 6 Jul 16 14:50:45 gate pptpd[775]: CTRL (PPPD Launcher): Connection speed = 115200 Jul 16 14:50:45 gate pptpd[775]: CTRL (PPPD Launcher): local address = 192.168.8.1 Jul 16 14:50:45 gate pptpd[775]: CTRL (PPPD Launcher): remote address = 192.168.8.101 Jul 16 14:50:45 gate pptpd[774]: CTRL: I wrote 32 bytes to the client. Jul 16 14:50:45 gate pptpd[774]: CTRL: Sent packet to client Jul 16 14:50:45 gate pptpd[774]: CTRL: Received PPTP Control Message (type: 15) Jul 16 14:50:45 gate pptpd[774]: CTRL: Got a SET LINK INFO packet with standard ACCMs Jul 16 14:50:45 gate pppd[775]: pppd 2.4.2 started by root, uid 0 Jul 16 14:50:45 gate pppd[775]: Using interface ppp0 Jul 16 14:50:45 gate pppd[775]: Connect: ppp0 <--> /dev/pts/4 Jul 16 14:50:45 gate pptpd[774]: CTRL: Received PPTP Control Message (type: 15) Jul 16 14:50:45 gate pptpd[774]: CTRL: Ignored a SET LINK INFO packet with real ACCMs! Jul 16 14:50:45 gate pppd[775]: PAP peer authentication succeeded for uservpn Jul 16 14:50:45 gate pppd[775]: local IP address 192.168.8.1 Jul 16 14:50:45 gate pppd[775]: remote IP address 192.168.8.101 Jul 16 14:50:45 gate pppd[775]: Script /etc/ppp/auth-up finished (pid 789), status = 0x0 Jul 16 14:50:46 gate pptpd[774]: Error writing GRE packet: Operation not permitted Jul 16 14:50:46 gate pptpd[774]: CTRL: GRE read or PTY write failed (gre,pty)=(6,5) Jul 16 14:50:46 gate pptpd[774]: CTRL: Client 192.168.2.101 control connection finished Jul 16 14:50:46 gate pptpd[774]: CTRL: Exiting now Jul 16 14:50:46 gate pppd[775]: Modem hangup Jul 16 14:50:46 gate pptpd[29008]: MGR: Reaped child 774 Jul 16 14:50:46 gate pppd[775]: Connection terminated. Jul 16 14:50:46 gate pppd[775]: Connect time 0.1 minutes. Jul 16 14:50:46 gate pppd[775]: Sent 74 bytes, received 2326 bytes. Jul 16 14:50:46 gate pppd[775]: Script /etc/ppp/auth-down finished (pid 966), status = 0x0 Jul 16 14:50:47 gate pppd[775]: Script /etc/ppp/ip-up finished (pid 790), status = 0x0 Jul 16 14:50:49 gate pppd[775]: Script /etc/ppp/ip-down finished (pid 1502), status = 0x0 Jul 16 14:50:49 gate pppd[775]: Connect time 0.1 minutes. Jul 16 14:50:49 gate pppd[775]: Sent 74 bytes, received 2326 bytes. Jul 16 14:50:49 gate pppd[775]: Exit.