Пытаюсь поднять VPN но через некоторое время происходит обрыв.
Ниже описываю все файлы и лог потключение которые участвуют в подключении.
Потскажите в чём ошибка!!!!!!
etc/ppp/options.pptp
lock
noauth
noipx
defaultroute
noipdefault
nodetach
debug
#kdebug 7
require-chapetc/ppp/options
local
lock
nodetach
lcp-echo-interval 30
lcp-echo-failure 5
defaultroute
noauth
debug
#kdebug 7etc/ppp/peers/aist
name 03**** // номер линмм
remotename pptpd
defaultroute
noipdefault
noauth
lock
hide-password
local
noproxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx
:192.168.0.1 // ip-серверetc/ppp/chap-secrets
# Secrets for authentication using CHAP
# client server secret IP addresses
03**** pptpd 602************ //пароль *
pptpd 03**** 602************ *
Этой командой поднимается VPN:
pppd call aist1 defaultroute debug mtu 1492 user 03**** pty "/usr/sbin/pptp 192.168.0.1 --nolaunchpppd"Эти логи остоются после подключения
using channel 25
Using interface ppp0
Connect: ppp0 <--> /dev/pts/4
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8c311f2b> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0xe41fcf4> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0xe41fcf4> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x8c311f2b> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x8c311f2b]
rcvd [LCP EchoReq id=0x0 magic=0xe41fcf4]
sent [LCP EchoRep id=0x0 magic=0x8c311f2b]
rcvd [CHAP Challenge id=0x6d <35636f6c86317a05e64a4db8d7d2ec18>, name = "pptpd"]
sent [CHAP Response id=0x6d <20b474fb3395e656a6c347370cb4cfe400000000000000001446a50197ba7e2cdf4e62df3f114093ffd791ca066a3e8300>, name = "032561"]
rcvd [LCP EchoRep id=0x0 magic=0xe41fcf4]
rcvd [CHAP Success id=0x6d "S=BA140D59BBF321499FDA338C5F425B3DAB5C7999"]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [CCP ConfReq id=0x1 <mppe -H -M -S -L -D -C> <bsd v1 15>]
sent [CCP ConfNak id=0x1 <mppe -H -M -S -L -D +C>]
rcvd [IPCP ConfReq id=0x1 <addr 85.114.185.1>]
sent [IPCP ConfNak id=0x1 <addr 192.168.0.1>]
rcvd [CCP ConfRej id=0x1 <deflate 15> <deflate(old#) 15>]
sent [CCP ConfReq id=0x2 <bsd v1 15>]
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0>]
rcvd [CCP ConfReq id=0x2 <mppe -H -M -S -L -D -C> <bsd v1 15>]
sent [CCP ConfNak id=0x2 <mppe -H -M -S -L -D +C>]
rcvd [IPCP ConfReq id=0x2 <addr 85.114.185.1>]
sent [IPCP ConfNak id=0x2 <addr 192.168.0.1>]
rcvd [CCP ConfAck id=0x2 <bsd v1 15>]
Received bad configure-ack: 15 03 2f
rcvd [IPCP ConfNak id=0x2 <addr 85.114.185.94>]
sent [IPCP ConfReq id=0x3 <addr 85.114.185.94>]
rcvd [CCP ConfReq id=0x3 <mppe -H -M -S -L -D -C> <bsd v1 15>]
sent [CCP ConfNak id=0x3 <mppe -H -M -S -L -D +C>]
rcvd [IPCP ConfReq id=0x3 <addr 85.114.185.1>]
sent [IPCP ConfNak id=0x3 <addr 192.168.0.1>]
rcvd [IPCP ConfAck id=0x3 <addr 85.114.185.94>]
rcvd [CCP ConfReq id=0x4 <mppe -H -M -S -L -D -C> <bsd v1 15>]
sent [CCP ConfNak id=0x4 <mppe -H -M -S -L -D +C>]
rcvd [IPCP ConfReq id=0x4 <addr 85.114.185.1>]
sent [IPCP ConfNak id=0x4 <addr 192.168.0.1>]
rcvd [CCP ConfReq id=0x5 <mppe -H -M -S -L -D -C> <bsd v1 15>]
sent [CCP ConfNak id=0x5 <mppe -H -M -S -L -D +C>]
rcvd [IPCP ConfReq id=0x5 <addr 85.114.185.1>]
sent [IPCP ConfNak id=0x5 <addr 192.168.0.1>]
rcvd [CCP ConfReq id=0x6 <mppe -H -M -S -L -D -C> <bsd v1 15>]
sent [CCP ConfRej id=0x6 <mppe -H -M -S -L -D +C>]
rcvd [IPCP ConfReq id=0x6]
sent [IPCP ConfAck id=0x6]
not replacing existing default route to eth0 [192.168.3.1]
local IP address 85.114.185.94
remote IP address 192.168.0.1
Script /etc/ppp/ip-up started (pid 10436)
Script /etc/ppp/ip-up finished (pid 10436), status = 0x0
sent [CCP ConfReq id=0x2 <bsd v1 15>]
sent [CCP ConfReq id=0x2 <bsd v1 15>]
sent [CCP ConfReq id=0x2 <bsd v1 15>]
sent [CCP ConfReq id=0x2 <bsd v1 15>]
sent [CCP ConfReq id=0x2 <bsd v1 15>]
sent [CCP ConfReq id=0x2 <bsd v1 15>]
sent [CCP ConfReq id=0x2 <bsd v1 15>]
sent [CCP ConfReq id=0x2 <bsd v1 15>]
sent [CCP ConfReq id=0x2 <bsd v1 15>]
sent [LCP EchoReq id=0x1 magic=0x8c311f2b]
CCP: timeout sending Config-Requests
sent [LCP EchoReq id=0x2 magic=0x8c311f2b]
sent [LCP EchoReq id=0x3 magic=0x8c311f2b]
Modem hangup
Connect time 2.0 minutes.
Sent 2011103524 bytes, received 0 bytes.
Script /etc/ppp/ip-down started (pid 10486)
Connection terminated.
Script /usr/sbin/pptp 192.168.0.1 --nolaunchpppd finished (pid 10418), status = 0x0
Waiting for 1 child processes...
script /etc/ppp/ip-down, pid 10486
Script /etc/ppp/ip-down finished (pid 10486), status = 0x0
Вчера столкнулся с такой же проблемой :) Сервер mpd, клиент pptpclient (linux машина)
Теперь он мне пишет это:using channel 7
Using interface ppp0
Connect: ppp0 <--> /dev/pts/3
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x68fa1e23> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x495a522> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x495a522> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x68fa1e23> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x68fa1e23]
rcvd [LCP EchoReq id=0x0 magic=0x495a522]
sent [LCP EchoRep id=0x0 magic=0x68fa1e23]
rcvd [CHAP Challenge id=0x66 <eb2020b987e211c2fa2b469235ba9469>, name = "pptpd"]
sent [CHAP Response id=0x66 <d21a7f57ad70c084506b16ce8344150e0000000000000000383d87b7778797ca596fe0c580c93a2c62ec9b83074d3ee000>, name = "032561"]
rcvd [LCP EchoRep id=0x0 magic=0x495a522]
rcvd [CHAP Failure id=0x66 ""]
MS-CHAP authentication failed:
sent [LCP TermReq id=0x2 "Failed to authenticate ourselves to peer"]
rcvd [LCP TermReq id=0x2 "Authentication failed"]
sent [LCP TermAck id=0x2]
rcvd [LCP TermAck id=0x2]
Connection terminated.
Waiting for 1 child processes...
script /usr/sbin/pptp 192.168.0.1 --nolaunchpppd, pid 4873
Script /usr/sbin/pptp 192.168.0.1 --nolaunchpppd finished (pid 4873), status = 0x0