Борюсь уже несколько дней и ничего не помогает, подскажите где ошибка...
IP servera 192.168.1.8
IP router(Dlink + DHCP) 192.168.1.1
Код: Выделить всё
cat /etc/ppp/pptpd-options
name pptpd
refuse-pap
refuse-chap
require-mschap
require-mschap-v2
require-mppe-128
ms-dns 192.168.1.1
proxyarp
lock
nobsdcomp
logfile /var/log/pptpd.log
Код: Выделить всё
cat /etc/pptpd.conf
option /etc/ppp/pptpd-options
logwtmp
localip 192.168.1.11
remoteip 192.168.1.100-120
Код: Выделить всё
sudo cat /etc/ppp/chap-secrets
user pptpd 123456 "*"
Код: Выделить всё
Feb 16 23:39:54 server pptpd[2858]: CTRL: Client 81.17.135.44 control connection started
Feb 16 23:39:55 server pptpd[2858]: CTRL: Starting call (launching pppd, opening GRE)
Feb 16 23:39:55 server pppd[2860]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
Feb 16 23:39:55 server pppd[2860]: pppd 2.4.5 started by root, uid 0
Feb 16 23:39:55 server pppd[2860]: Using interface ppp0
Feb 16 23:39:55 server pppd[2860]: Connect: ppp0 /dev/pts/1
Feb 16 23:39:55 server pppd[2860]: peer from calling number 81.17.135.44 authorized
Feb 16 23:39:55 server pppd[2860]: MPPE required but peer negotiation failed
Feb 16 23:39:55 server pppd[2860]: Connection terminated.
Feb 16 23:39:55 server pppd[2860]: Connect time 0.0 minutes.
Feb 16 23:39:55 server pppd[2860]: Sent 10 bytes, received 53 bytes.
Feb 16 23:39:55 server pppd[2860]: Exit.
Feb 16 23:39:55 server pptpd[2858]: GRE: read(fd=6,buffer=80504a0,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Feb 16 23:39:55 server pptpd[2858]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Feb 16 23:39:55 server pptpd[2858]: CTRL: Reaping child PPP[2860]
Feb 16 23:39:55 server pptpd[2858]: CTRL: Client 81.17.135.44 control connection finished