гонфиги: mpd.conf
Код: Выделить всё
startup:
set user root air-admin
set console self 127.0.0.1 5005
set console open
set web self 127.0.0.1 5006
set web open
default:
load dialup
load pptp_server
#dialup:
create bundle static B1
set iface route default
set iface idle 0
set iface session 0
set iface enable tcpmssfix
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
set ipcp enable req-pri-dns
set ipcp enable req-sec-dns
create link static L1 pppoe
set link action bundle B1
set link yes report-mac
set auth authname "login"
set auth password "pass"
set link max-redial 0
set link mtu 1460
set link keep-alive 20 75
set pppoe iface sk0
set pppoe service ""
set link disable incoming
open
pptp_server:
set ippool add poolsat 10.7.7.253 10.7.7.254
create bundle template B
set iface enable proxy-arp
set iface idle 0
set iface enable tcpmssfix
set ipcp yes vjcomp
set ipcp ranges 10.7.7.2/24 ippool poolsat
set ipcp dns 10.7.7.2
set bundle enable compression
set ccp yes mppc
set mppc yes compress e40 e56 e128 stateless
create link template L pptp
set link enable multilink
set link yes acfcomp protocomp
set link action bundle B
set link no pap chap
set link enable chap
set link enable chap-msv1
set link enable chap-msv2
set link mtu 1460
set link keep-alive 10 75
set pptp self 193.108.250.70
set link enable incoming
Код: Выделить всё
Oct 19 00:36:10 gw2 mpd: [L-2] Accepting PPTP connection
Oct 19 00:36:10 gw2 mpd: [L-2] Link: OPEN event
Oct 19 00:36:10 gw2 mpd: [L-2] LCP: Open event
Oct 19 00:36:10 gw2 mpd: [L-2] LCP: state change Initial --> Starting
Oct 19 00:36:10 gw2 mpd: [L-2] LCP: LayerStart
Oct 19 00:36:10 gw2 mpd: [L-2] PPTP: attaching to peer's outgoing call
Oct 19 00:36:10 gw2 mpd: [L-2] Link: UP event
Oct 19 00:36:10 gw2 mpd: [L-2] LCP: Up event
Oct 19 00:36:10 gw2 mpd: [L-2] LCP: state change Starting --> Req-Sent
Oct 19 00:36:10 gw2 mpd: [L-2] LCP: SendConfigReq #1
Oct 19 00:36:10 gw2 mpd: [L-2] ACFCOMP
Oct 19 00:36:10 gw2 mpd: [L-2] PROTOCOMP
Oct 19 00:36:10 gw2 mpd: [L-2] MRU 1500
Oct 19 00:36:10 gw2 mpd: [L-2] MAGICNUM 24cd601c
Oct 19 00:36:10 gw2 mpd: [L-2] AUTHPROTO CHAP MSOFTv2
Oct 19 00:36:10 gw2 mpd: [L-2] MP MRRU 2048
Oct 19 00:36:10 gw2 mpd: [L-2] MP SHORTSEQ
Oct 19 00:36:10 gw2 mpd: [L-2] ENDPOINTDISC [802.1] 00 13 d4 c9 f8 bb
Oct 19 00:36:12 gw2 mpd: [L-2] LCP: SendConfigReq #2
Oct 19 00:36:12 gw2 mpd: [L-2] ACFCOMP
Oct 19 00:36:12 gw2 mpd: [L-2] PROTOCOMP
Oct 19 00:36:12 gw2 mpd: [L-2] MRU 1500
Oct 19 00:36:12 gw2 mpd: [L-2] MAGICNUM 24cd601c
Oct 19 00:36:12 gw2 mpd: [L-2] AUTHPROTO CHAP MSOFTv2
Oct 19 00:36:12 gw2 mpd: [L-2] MP MRRU 2048
Oct 19 00:36:12 gw2 mpd: [L-2] MP SHORTSEQ
Oct 19 00:36:12 gw2 mpd: [L-2] ENDPOINTDISC [802.1] 00 13 d4 c9 f8 bb
Oct 19 00:36:14 gw2 mpd: [L-2] LCP: SendConfigReq #3
Oct 19 00:36:14 gw2 mpd: [L-2] ACFCOMP
Oct 19 00:36:14 gw2 mpd: [L-2] PROTOCOMP
Oct 19 00:36:14 gw2 mpd: [L-2] MRU 1500
Oct 19 00:36:14 gw2 mpd: [L-2] MAGICNUM 24cd601c
Oct 19 00:36:14 gw2 mpd: [L-2] AUTHPROTO CHAP MSOFTv2
Oct 19 00:36:14 gw2 mpd: [L-2] MP MRRU 2048
Oct 19 00:36:14 gw2 mpd: [L-2] MP SHORTSEQ
Oct 19 00:36:14 gw2 mpd: [L-2] ENDPOINTDISC [802.1] 00 13 d4 c9 f8 bb
Oct 19 00:36:16 gw2 mpd: [L-2] LCP: SendConfigReq #4
Oct 19 00:36:16 gw2 mpd: [L-2] ACFCOMP
Oct 19 00:36:16 gw2 mpd: [L-2] PROTOCOMP
Oct 19 00:36:16 gw2 mpd: [L-2] MRU 1500
Oct 19 00:36:16 gw2 mpd: [L-2] MAGICNUM 24cd601c
Oct 19 00:36:16 gw2 mpd: [L-2] AUTHPROTO CHAP MSOFTv2
Oct 19 00:36:16 gw2 mpd: [L-2] MP MRRU 2048
Oct 19 00:36:16 gw2 mpd: [L-2] MP SHORTSEQ
Oct 19 00:36:16 gw2 mpd: [L-2] ENDPOINTDISC [802.1] 00 13 d4 c9 f8 bb
Oct 19 00:36:18 gw2 mpd: [L-2] LCP: SendConfigReq #5
Oct 19 00:36:18 gw2 mpd: [L-2] ACFCOMP
Oct 19 00:36:18 gw2 mpd: [L-2] PROTOCOMP
Oct 19 00:36:18 gw2 mpd: [L-2] MRU 1500
Oct 19 00:36:18 gw2 mpd: [L-2] MAGICNUM 24cd601c
Oct 19 00:36:18 gw2 mpd: [L-2] AUTHPROTO CHAP MSOFTv2
Oct 19 00:36:18 gw2 mpd: [L-2] MP MRRU 2048
Oct 19 00:36:18 gw2 mpd: [L-2] MP SHORTSEQ
Oct 19 00:36:18 gw2 mpd: [L-2] ENDPOINTDISC [802.1] 00 13 d4 c9 f8 bb
Oct 19 00:36:20 gw2 mpd: [L-2] LCP: SendConfigReq #6
Oct 19 00:36:20 gw2 mpd: [L-2] ACFCOMP
Oct 19 00:36:20 gw2 mpd: [L-2] PROTOCOMP
Oct 19 00:36:20 gw2 mpd: [L-2] MRU 1500
Oct 19 00:36:20 gw2 mpd: [L-2] MAGICNUM 24cd601c
Oct 19 00:36:20 gw2 mpd: [L-2] AUTHPROTO CHAP MSOFTv2
Oct 19 00:36:20 gw2 mpd: [L-2] MP MRRU 2048
Oct 19 00:36:20 gw2 mpd: [L-2] MP SHORTSEQ
Oct 19 00:36:20 gw2 mpd: [L-2] ENDPOINTDISC [802.1] 00 13 d4 c9 f8 bb
Oct 19 00:36:22 gw2 mpd: [L-2] LCP: SendConfigReq #7
Oct 19 00:36:22 gw2 mpd: [L-2] ACFCOMP
Oct 19 00:36:22 gw2 mpd: [L-2] PROTOCOMP
Oct 19 00:36:22 gw2 mpd: [L-2] MRU 1500
Oct 19 00:36:22 gw2 mpd: [L-2] MAGICNUM 24cd601c
Oct 19 00:36:22 gw2 mpd: [L-2] AUTHPROTO CHAP MSOFTv2
Oct 19 00:36:22 gw2 mpd: [L-2] MP MRRU 2048
Oct 19 00:36:22 gw2 mpd: [L-2] MP SHORTSEQ
Oct 19 00:36:22 gw2 mpd: [L-2] ENDPOINTDISC [802.1] 00 13 d4 c9 f8 bb
Oct 19 00:36:24 gw2 mpd: [L-2] LCP: SendConfigReq #8
Oct 19 00:36:24 gw2 mpd: [L-2] ACFCOMP
Oct 19 00:36:24 gw2 mpd: [L-2] PROTOCOMP
Oct 19 00:36:24 gw2 mpd: [L-2] MRU 1500
Oct 19 00:36:24 gw2 mpd: [L-2] MAGICNUM 24cd601c
Oct 19 00:36:24 gw2 mpd: [L-2] AUTHPROTO CHAP MSOFTv2
Oct 19 00:36:24 gw2 mpd: [L-2] MP MRRU 2048
Oct 19 00:36:24 gw2 mpd: [L-2] MP SHORTSEQ
Oct 19 00:36:24 gw2 mpd: [L-2] ENDPOINTDISC [802.1] 00 13 d4 c9 f8 bb
Oct 19 00:36:26 gw2 mpd: [L-2] LCP: SendConfigReq #9
Oct 19 00:36:26 gw2 mpd: [L-2] ACFCOMP
Oct 19 00:36:26 gw2 mpd: [L-2] PROTOCOMP
Oct 19 00:36:26 gw2 mpd: [L-2] MRU 1500
Oct 19 00:36:26 gw2 mpd: [L-2] MAGICNUM 24cd601c
Oct 19 00:36:26 gw2 mpd: [L-2] AUTHPROTO CHAP MSOFTv2
Oct 19 00:36:26 gw2 mpd: [L-2] MP MRRU 2048
Oct 19 00:36:26 gw2 mpd: [L-2] MP SHORTSEQ
Oct 19 00:36:26 gw2 mpd: [L-2] ENDPOINTDISC [802.1] 00 13 d4 c9 f8 bb
Oct 19 00:36:28 gw2 mpd: [L-2] LCP: SendConfigReq #10
Oct 19 00:36:28 gw2 mpd: [L-2] ACFCOMP
Oct 19 00:36:28 gw2 mpd: [L-2] PROTOCOMP
Oct 19 00:36:28 gw2 mpd: [L-2] MRU 1500
Oct 19 00:36:28 gw2 mpd: [L-2] MAGICNUM 24cd601c
Oct 19 00:36:28 gw2 mpd: [L-2] AUTHPROTO CHAP MSOFTv2
Oct 19 00:36:28 gw2 mpd: [L-2] MP MRRU 2048
Oct 19 00:36:28 gw2 mpd: [L-2] MP SHORTSEQ
Oct 19 00:36:28 gw2 mpd: [L-2] ENDPOINTDISC [802.1] 00 13 d4 c9 f8 bb
Oct 19 00:36:30 gw2 mpd: [L-2] LCP: parameter negotiation failed
Oct 19 00:36:30 gw2 mpd: [L-2] LCP: state change Req-Sent --> Stopped
Oct 19 00:36:30 gw2 mpd: [L-2] LCP: LayerFinish
Oct 19 00:36:30 gw2 mpd: [L-2] PPTP call terminated
Oct 19 00:36:30 gw2 mpd: [L-2] Link: DOWN event
Oct 19 00:36:30 gw2 mpd: [L-2] LCP: Close event
Oct 19 00:36:30 gw2 mpd: [L-2] LCP: state change Stopped --> Closed
Oct 19 00:36:30 gw2 mpd: [L-2] LCP: Down event
Oct 19 00:36:30 gw2 mpd: [L-2] LCP: state change Closed --> Initial
Oct 19 00:36:30 gw2 mpd: [L-2] Link: SHUTDOWN event
Oct 19 00:36:30 gw2 mpd: [L-2] Link: Shutdown