Пытаюсь поднять впн коннект на сервер в интернете (платник впн russianproxy.ru) - FreeBSD6.4, mpd4, netgraph в ядре, дефолтовый роут указывает на шлюз, впн-сервер пингуется, ng0 есть списке интерфейсов(правда он так и держит mtu 1500, до смены видимо не доходит). mpd стартует, адрес на ng0 не появляется, роутов не ставит, начинает строчить в лог такую партянку, так и не понял что ему надо:
Код: Выделить всё
Nov 21 14:10:52 10 mpd: Multi-link PPP daemon for FreeBSD
Nov 21 14:10:52 10 mpd:
Nov 21 14:10:52 10 mpd: process 789 started, version 4.4.1 (root@10.0.0.1 11:49 20-Nov-2009)
Nov 21 14:10:52 10 mpd: web: listening on 127.0.0.1 5006
Nov 21 14:10:52 10 mpd: [netline_pptp] using interface ng0
Nov 21 14:10:52 10 mpd: [vpn] link: OPEN event
Nov 21 14:10:52 10 mpd: [vpn] LCP: Open event
Nov 21 14:10:52 10 mpd: [vpn] LCP: state change Initial --> Starting
Nov 21 14:10:52 10 mpd: [vpn] LCP: LayerStart
Nov 21 14:10:52 10 mpd: pptp0: connecting to 217.147.29.39 1723
Nov 21 14:10:52 10 mpd: pptp0: connected to 217.147.29.39 1723
Nov 21 14:10:52 10 mpd: pptp0: attached to connection with 217.147.29.39 1723
Nov 21 14:10:52 10 mpd: pptp0-0: outgoing call connected at 13277755 bps
Nov 21 14:10:52 10 mpd: [vpn] PPTP call successful
Nov 21 14:10:52 10 mpd: [vpn] link: UP event
Nov 21 14:10:52 10 mpd: [vpn] link: origination is local
Nov 21 14:10:52 10 mpd: [vpn] LCP: Up event
Nov 21 14:10:52 10 mpd: [vpn] LCP: state change Starting --> Req-Sent
Nov 21 14:10:52 10 mpd: [vpn] LCP: SendConfigReq #1
Nov 21 14:10:52 10 mpd: ACFCOMP
Nov 21 14:10:52 10 mpd: PROTOCOMP
Nov 21 14:10:52 10 mpd: ACCMAP 0x000a0000
Nov 21 14:10:52 10 mpd: MRU 1500
Nov 21 14:10:52 10 mpd: MAGICNUM 87443c46
Nov 21 14:10:52 10 mpd: [vpn] LCP: rec'd Configure Ack #1 (Req-Sent)
Nov 21 14:10:52 10 mpd: ACFCOMP
Nov 21 14:10:52 10 mpd: PROTOCOMP
Nov 21 14:10:52 10 mpd: ACCMAP 0x000a0000
Nov 21 14:10:52 10 mpd: MRU 1500
Nov 21 14:10:52 10 mpd: MAGICNUM 87443c46
Nov 21 14:10:52 10 mpd: [vpn] LCP: state change Req-Sent --> Ack-Rcvd
Nov 21 14:10:54 10 mpd: [vpn] LCP: rec'd Configure Request #1 (Ack-Rcvd)
Nov 21 14:10:54 10 mpd: MRU 1400
Nov 21 14:10:54 10 mpd: AUTHPROTO EAP
Nov 21 14:10:54 10 mpd: MAGICNUM 2ec8378b
Nov 21 14:10:54 10 mpd: PROTOCOMP
Nov 21 14:10:54 10 mpd: ACFCOMP
Nov 21 14:10:54 10 mpd: CALLBACK 6
Nov 21 14:10:54 10 mpd: MP MRRU 1614
Nov 21 14:10:54 10 mpd: ENDPOINTDISC [LOCAL] 74 6c f3 4d f4 eb 4b bd b5 e7 ad 3c e7 8e 24 cc 00 00 0
Nov 21 14:10:54 10 mpd: BACP
Nov 21 14:10:54 10 mpd: Not supported
Nov 21 14:10:54 10 mpd: [vpn] LCP: SendConfigRej #1
Nov 21 14:10:54 10 mpd: CALLBACK 6
Nov 21 14:10:54 10 mpd: MP MRRU 1614
Nov 21 14:10:54 10 mpd: BACP
Nov 21 14:10:54 10 mpd: [vpn] LCP: state change Ack-Rcvd --> Req-Sent
Nov 21 14:10:54 10 mpd: [vpn] LCP: SendConfigReq #2
Nov 21 14:10:54 10 mpd: ACFCOMP
Nov 21 14:10:54 10 mpd: PROTOCOMP
Nov 21 14:10:54 10 mpd: ACCMAP 0x000a0000
Nov 21 14:10:54 10 mpd: MRU 1500
Nov 21 14:10:54 10 mpd: MAGICNUM 87443c46
Nov 21 14:10:54 10 mpd: [vpn] LCP: rec'd Configure Ack #2 (Req-Sent)
Nov 21 14:10:54 10 mpd: ACFCOMP
Nov 21 14:10:54 10 mpd: PROTOCOMP
Nov 21 14:10:54 10 mpd: ACCMAP 0x000a0000
Nov 21 14:10:54 10 mpd: MRU 1500
Nov 21 14:10:54 10 mpd: MAGICNUM 87443c46
Nov 21 14:10:54 10 mpd: [vpn] LCP: state change Req-Sent --> Ack-Rcvd
Nov 21 14:10:56 10 mpd: [vpn] LCP: state change Ack-Rcvd --> Req-Sent
Nov 21 14:10:56 10 mpd: [vpn] LCP: SendConfigReq #3
Nov 21 14:10:56 10 mpd: ACFCOMP
Nov 21 14:10:56 10 mpd: PROTOCOMP
Nov 21 14:10:56 10 mpd: ACCMAP 0x000a0000
Nov 21 14:10:56 10 mpd: MRU 1500
Nov 21 14:10:56 10 mpd: MAGICNUM 87443c46
Nov 21 14:10:57 10 mpd: [vpn] LCP: rec'd Configure Ack #3 (Req-Sent)
Nov 21 14:10:57 10 mpd: ACFCOMP
Nov 21 14:10:57 10 mpd: PROTOCOMP
Nov 21 14:10:57 10 mpd: ACCMAP 0x000a0000
Nov 21 14:10:57 10 mpd: MRU 1500
Nov 21 14:10:57 10 mpd: MAGICNUM 87443c46
Nov 21 14:10:57 10 mpd: [vpn] LCP: state change Req-Sent --> Ack-Rcvd
Nov 21 14:10:57 10 mpd: [vpn] LCP: rec'd Configure Request #3 (Ack-Rcvd)
Nov 21 14:10:57 10 mpd: MRU 1400
Nov 21 14:10:57 10 mpd: AUTHPROTO EAP
Nov 21 14:10:57 10 mpd: MAGICNUM 2ec8378b
Nov 21 14:10:57 10 mpd: PROTOCOMP
Nov 21 14:10:57 10 mpd: ACFCOMP
Nov 21 14:10:57 10 mpd: ENDPOINTDISC [LOCAL] 74 6c f3 4d f4 eb 4b bd b5 e7 ad 3c e7 8e 24 cc 00 00 0
Nov 21 14:10:57 10 mpd: [vpn] LCP: SendConfigAck #3
Nov 21 14:10:57 10 mpd: MRU 1400
Nov 21 14:10:57 10 mpd: AUTHPROTO EAP
Nov 21 14:10:57 10 mpd: MAGICNUM 2ec8378b
Nov 21 14:10:57 10 mpd: PROTOCOMP
Nov 21 14:10:57 10 mpd: ACFCOMP
Nov 21 14:10:57 10 mpd: ENDPOINTDISC [LOCAL] 74 6c f3 4d f4 eb 4b bd b5 e7 ad 3c e7 8e 24 cc 00 00 0
Nov 21 14:10:57 10 mpd: [vpn] LCP: state change Ack-Rcvd --> Opened
Nov 21 14:10:57 10 mpd: [vpn] LCP: auth: peer wants EAP, I want nothing
Nov 21 14:10:57 10 mpd: [vpn] LCP: LayerUp
Nov 21 14:10:57 10 mpd: pptp0: CID 0x964d in SetLinkInfo not found
Nov 21 14:10:57 10 mpd: [vpn] EAP: rec'd REQUEST Type Identity #188 len:1
Nov 21 14:10:57 10 mpd: [vpn] EAP: sending RESPONSE Type Identity len:11
Nov 21 14:10:58 10 mpd: [vpn] LCP: rec'd Terminate Request #5 (Opened)
Nov 21 14:10:58 10 mpd: [vpn] LCP: state change Opened --> Stopping
Nov 21 14:10:58 10 mpd: [vpn] AUTH: Cleanup
Nov 21 14:10:58 10 mpd: [vpn] LCP: SendTerminateAck #4
Nov 21 14:10:58 10 mpd: [vpn] LCP: LayerDown
Nov 21 14:10:58 10 mpd: pptp0: CID 0x964d in SetLinkInfo not found
Nov 21 14:11:00 10 mpd: [vpn] LCP: state change Stopping --> Stopped
Nov 21 14:11:00 10 mpd: [vpn] LCP: LayerFinish
Nov 21 14:11:00 10 mpd: pptp0-0: clearing call
Nov 21 14:11:00 10 mpd: pptp0-0: peer call disconnected res=zero? err=none
Nov 21 14:11:00 10 mpd: pptp0-0: killing channel
Nov 21 14:11:00 10 mpd: [vpn] PPTP call terminated
Nov 21 14:11:00 10 mpd: [vpn] link: DOWN event
Nov 21 14:11:00 10 mpd: [vpn] link: reconnection attempt 1
Nov 21 14:11:00 10 mpd: [vpn] LCP: Down event
Nov 21 14:11:00 10 mpd: [vpn] LCP: state change Stopped --> Starting
Nov 21 14:11:00 10 mpd: [vpn] LCP: LayerStart
Nov 21 14:11:00 10 mpd: pptp0: closing connection with 217.147.29.39 1723
Nov 21 14:11:00 10 mpd: [vpn] pausing 6 seconds before open
Nov 21 14:11:00 10 mpd: pptp0: killing connection with 217.147.29.39 1723
Nov 21 14:11:06 10 mpd: pptp0: connecting to 217.147.29.39 1723
Nov 21 14:11:06 10 mpd: pptp0: connected to 217.147.29.39 1723
Nov 21 14:11:06 10 mpd: pptp0: attached to connection with 217.147.29.39 1723
Nov 21 14:11:06 10 mpd: pptp0-0: outgoing call connected at 13277755 bps
Nov 21 14:11:06 10 mpd: [vpn] PPTP call successful
Nov 21 14:11:06 10 mpd: [vpn] link: UP event
Nov 21 14:11:06 10 mpd: [vpn] link: origination is local
Nov 21 14:11:06 10 mpd: [vpn] LCP: Up event
Nov 21 14:11:06 10 mpd: [vpn] LCP: state change Starting --> Req-Sent
Nov 21 14:11:06 10 mpd: [vpn] LCP: SendConfigReq #5
Nov 21 14:11:06 10 mpd: ACFCOMP
Nov 21 14:11:06 10 mpd: PROTOCOMP
Nov 21 14:11:06 10 mpd: ACCMAP 0x000a0000
Nov 21 14:11:06 10 mpd: MRU 1500
Nov 21 14:11:06 10 mpd: MAGICNUM 73aa4152
Nov 21 14:11:06 10 mpd: [vpn] LCP: rec'd Configure Request #0 (Req-Sent)
Nov 21 14:11:06 10 mpd: MRU 1400
Nov 21 14:11:06 10 mpd: AUTHPROTO EAP
Nov 21 14:11:06 10 mpd: MAGICNUM 59313204
Nov 21 14:11:06 10 mpd: PROTOCOMP
Nov 21 14:11:06 10 mpd: ACFCOMP
Nov 21 14:11:06 10 mpd: CALLBACK 6
Nov 21 14:11:06 10 mpd: MP MRRU 1614
Nov 21 14:11:06 10 mpd: ENDPOINTDISC [LOCAL] 74 6c f3 4d f4 eb 4b bd b5 e7 ad 3c e7 8e 24 cc 00 00 0
Nov 21 14:11:06 10 mpd: BACP
Nov 21 14:11:06 10 mpd: Not supported
Nov 21 14:11:06 10 mpd: [vpn] LCP: SendConfigRej #0
Nov 21 14:11:06 10 mpd: CALLBACK 6
Nov 21 14:11:06 10 mpd: MP MRRU 1614
.............................
mpd.conf
Код: Выделить всё
startup:
set web ip 127.0.0.1
set web port 5006
set web user vpn vpn
set web open
default:
load vpn-pptp
vpn-pptp:
new -i ng0 netline_pptp vpn
set iface mtu 1460
set iface idle 0
set iface enable tcpmssfix
set iface up-script /usr/local/etc/mpd4/up-vpn.sh
set iface down-script /usr/local/etc/mpd4/down-vpn.sh
set auth authname v1121-38080
set auth password lalalala
set link keep-alive 60 180
set link accept pap
set link no chap
set link max-redial 0
set bundle disable multilink
set bundle disable crypt-reqd
set bundle disable noretry
set ccp yes mpp-e40
set ccp no mpp-e128
set ccp no mpp-stateless
set ipcp no vjcomp
open
Код: Выделить всё
vpn:
set link type pptp
set pptp peer 217.147.29.39
set pptp enable originate
set pptp disable incoming windowing
Винда без проблем цепляется к этому серверу без донастроек, т.е. он по ходу простой pptp vpn.
Помогите пожалуйста, задолбался я с ним, не понимаю из лога что не так.
Спасибо