Имеем pppd 2.4.4, pptp 1.7.1Конфиг
options.pptplock
noauth
refuse-eap
refuse-chap
refuse-mschap
nobsdcomp
nodeflate
require-mppe-128peers/tun
name asche
remotename PPTP
debug
lock
deflate 0
defaultroute
pty "pptp *.*.*.* --nolaunchpppd"делаем pppd call khsu debug nodetach
using channel 71
Using interface ppp0
Connect: ppp0 <--> /dev/pts/2
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3e31168> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <auth chap MS> <magic 0x1d9c7171>]
sent [LCP ConfAck id=0x1 <auth chap MS> <magic 0x1d9c7171>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x3e31168> <pcomp> <accomp>]
rcvd [CHAP Challenge id=0x1 <8d498503bb72e63e>, name = "khsurouter"]
sent [CHAP Response id=0x1 <00000000000000000000000000000000000000000000000092bcc25b24c6578981e80a2cf2f53c1bfcd0c5cee052ef9801>, name = "asche"]
rcvd [CHAP Success id=0x1 ""]
CHAP authentication succeeded
CHAP authentication succeeded
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 192.168.7.5>]
rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 10.100.100.1>]
sent [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 10.100.100.1>]
rcvd [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
sent [CCP ConfReq id=0x1]
sent [CCP ConfRej id=0x1 <mppe +H -M +S -L -D -C>]
rcvd [IPCP ConfNak id=0x1 <addr 10.0.0.1>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 10.0.0.1>]
rcvd [CCP ConfAck id=0x1]
rcvd [LCP TermReq id=0x2]
LCP terminated by peer
sent [LCP TermAck id=0x2]
rcvd [CCP ConfReq id=0x2]
Discarded non-LCP packet when LCP not open
Modem hangup
Connection terminated.
Script pptp *.*.*.*--nolaunchpppd finished (pid 28780), status = 0x0LCP terminated by peer - постоянно пишет и не подключается, подскажите в чем же может быть дело???
>[оверквотинг удален]
>LCP terminated by peer
>sent [LCP TermAck id=0x2]
>rcvd [CCP ConfReq id=0x2]
>Discarded non-LCP packet when LCP not open
>Modem hangup
>Connection terminated.
>Script pptp *.*.*.*--nolaunchpppd finished (pid 28780), status = 0x0
>
>LCP terminated by peer - постоянно пишет и не подключается, подскажите в
>чем же может быть дело???1) узнать какие протоколы аутентификации/шифрования/комресии поддерживает удаленная строна и настроить клиент соотвественно.
2) очень странно видеть в привденном конфиге refuse-chap refuse-mschap и потом в логах нормальную аутентификацию по чапу.