Всем привет !
Пытаюсь заставить mpd принимать pptp соединения от Win XP.
mpd.conf
--------
default:
load pptp0
load pptp1
load pptp2
load pptp3
load pptp4
load pptp5
load pptp6
load pptp7
load pptp8
load pptp9
pptp0:
new -i ng00 pptp0 pptp0
set ipcp ranges 192.168.3.1/32 192.168.4.1/32
load pptp_standart
pptp1:
new -i ng01 pptp1 pptp1
set ipcp ranges 192.168.3.1/32 192.168.4.2/32
pptp2:
new -i ng02 pptp2 pptp2
set ipcp ranges 192.168.3.1/32 192.168.4.3/32
load pptp_standart
pptp3:
new -i ng03 pptp3 pptp3
set ipcp ranges 192.168.3.1/32 192.168.4.4/32
load pptp_standart
pptp4:
new -i ng04 pptp4 pptp4
set ipcp ranges 192.168.3.1/32 192.168.4.5/32
load pptp_standart
pptp5:
new -i ng05 pptp5 pptp5
set ipcp ranges 192.168.3.1/32 192.168.4.6/32
load pptp_standart
pptp6:
new -i ng06 pptp6 pptp6
set ipcp ranges 192.168.3.1/32 192.168.4.7/32
load pptp_standart
pptp7:
new -i ng07 pptp7 pptp7
set ipcp ranges 192.168.3.1/32 192.168.4.8/32
load pptp_standart
pptp8:
new -i ng08 pptp8 pptp8
set ipcp ranges 192.168.3.1/32 192.168.4.9/32
load pptp_standart
pptp9:
new -i ng09 pptp9 pptp9
set ipcp ranges 192.168.3.1/32 192.168.4.10/32
load pptp_standart
pptp_standart:
set iface disable on-demand
set bundle enable multilink
set link yes acfcomp protocomp
#Требуем chap авторизации
set link no pap chap
set link enable chap
set link keep-alive 60 180
set ipcp yes vjcomp
#Устанавливаем DNS и Wins
set ipcp dns 192.168.3.1
#set ipcp nbns 10.1.1.1
#Включаем proxy-arp, чтобы компьютер "видел" без маршрутизации
#корпоративную сеть (по протоколу arp)
set iface enable proxy-arp
#Включаем компрессию данных
set bundle enable compression
# set bundle enable encryption
#Включаем компрессию данных, совсестимую с Microsoft-клиентами, должно быть $
set ccp yes mppc
# set ccp yes mpp-compress
#Включаем шифрование, совместимое с Microsoft-клиентами, должно быть вкомпил$
set ccp yes mpp-e40
set ccp yes mpp-e56
set ccp yes mpp-e128
set ccp yes mpp-stateless
# set bundle yes crypt-reqd
#Задаем адрес для входящих соединений, если закомментирован - то mpd будет с$
set pptp self 81.***.***.***
#Разрешаем входящие соединения
set pptp enable incoming
set pptp disable originate
set iface mtu 1500
set link mtu 1500
# какой скрипт запускать при поднятии интерфейса
#set iface up-script /usr/local/traff/up.pl
# какой скрипт запускать при опускании интерфейса
#set iface down-script /usr/local/traff/down.pl
set radius server 127.0.0.1 zdesparol 1812 1813
set radius timeout 10
set radius config /etc/radius.conf
set radius retries 3
#set bundle enable radius-acct
set bundle enable radius-auth
set ipcp yes radius-ip
В лог при попыткке соединения пишет
Oct 8 16:13:28 gw1 mpd: mpd: PPTP connection from 195.242.2.205:1463
Oct 8 16:13:28 gw1 mpd: pptp0: attached to connection with 195.242.2.205:1463
Oct 8 16:13:28 gw1 mpd: [pptp0] IFACE: Open event
Oct 8 16:13:28 gw1 mpd: [pptp0] IPCP: Open event
Oct 8 16:13:28 gw1 mpd: [pptp0] IPCP: state change Initial --> Starting
Oct 8 16:13:28 gw1 mpd: [pptp0] IPCP: LayerStart
Oct 8 16:13:28 gw1 mpd: [pptp0] IPCP: Open event
Oct 8 16:13:28 gw1 mpd: [pptp0] bundle: OPEN event in state CLOSED
Oct 8 16:13:28 gw1 mpd: [pptp0] opening link "pptp0"...
Oct 8 16:13:28 gw1 mpd: [pptp0] link: OPEN event
Oct 8 16:13:28 gw1 mpd: [pptp0] LCP: Open event
Oct 8 16:13:28 gw1 mpd: [pptp0] LCP: state change Initial --> Starting
Oct 8 16:13:28 gw1 mpd: [pptp0] LCP: LayerStart
Oct 8 16:13:28 gw1 mpd: [pptp0] device: OPEN event in state DOWN
Oct 8 16:13:28 gw1 mpd: [pptp0] attaching to peer's outgoing call
Oct 8 16:13:28 gw1 mpd: [pptp0] device is now in state OPENING
Oct 8 16:13:28 gw1 mpd: [pptp0] device: UP event in state OPENING
Oct 8 16:13:28 gw1 mpd: [pptp0] device is now in state UP
Oct 8 16:13:28 gw1 mpd: [pptp0] link: UP event
Oct 8 16:13:28 gw1 mpd: [pptp0] link: origination is remote
Oct 8 16:13:28 gw1 mpd: [pptp0] LCP: Up event
Oct 8 16:13:28 gw1 mpd: [pptp0] LCP: state change Starting --> Req-Sent
Oct 8 16:13:28 gw1 mpd: [pptp0] LCP: phase shift DEAD --> ESTABLISH
Oct 8 16:13:28 gw1 mpd: [pptp0] LCP: SendConfigReq #1
Oct 8 16:13:28 gw1 mpd: ACFCOMP
Oct 8 16:13:28 gw1 mpd: PROTOCOMP
Oct 8 16:13:28 gw1 mpd: MRU 1500
Oct 8 16:13:28 gw1 mpd: MAGICNUM ea2f21be
Oct 8 16:13:28 gw1 mpd: AUTHPROTO CHAP MSOFTv2
Oct 8 16:13:28 gw1 mpd: MP MRRU 1600
Oct 8 16:13:28 gw1 mpd: MP SHORTSEQ
Oct 8 16:13:28 gw1 mpd: ENDPOINTDISC [802.1] 00 80 48 13 bf 8d
Oct 8 16:13:28 gw1 mpd: pptp0-0: ignoring SetLinkInfo
Oct 8 16:13:28 gw1 mpd: [pptp0] LCP: rec'd Configure Request #0 link 0 (Req-Sent)
Oct 8 16:13:28 gw1 mpd: MRU 1400
Oct 8 16:13:28 gw1 mpd: MAGICNUM 5cd10163
Oct 8 16:13:28 gw1 mpd: PROTOCOMP
Oct 8 16:13:28 gw1 mpd: ACFCOMP
Oct 8 16:13:28 gw1 mpd: CALLBACK
Oct 8 16:13:28 gw1 mpd: Not supported
Oct 8 16:13:28 gw1 mpd: [pptp0] LCP: SendConfigRej #0
Oct 8 16:13:28 gw1 mpd: CALLBACK
Oct 8 16:13:30 gw1 mpd: [pptp0] LCP: SendConfigReq #2
Oct 8 16:13:30 gw1 mpd: ACFCOMP
Oct 8 16:13:30 gw1 mpd: PROTOCOMP
Oct 8 16:13:30 gw1 mpd: MRU 1500
Oct 8 16:13:30 gw1 mpd: MAGICNUM ea2f21be
Oct 8 16:13:30 gw1 mpd: AUTHPROTO CHAP MSOFTv2
Oct 8 16:13:30 gw1 mpd: MP MRRU 1600
Oct 8 16:13:30 gw1 mpd: MP SHORTSEQ
Oct 8 16:13:30 gw1 mpd: ENDPOINTDISC [802.1] 00 80 48 13 bf 8d
Oct 8 16:13:30 gw1 mpd: [pptp0] LCP: rec'd Configure Request #1 link 0 (Req-Sent)
Oct 8 16:13:30 gw1 mpd: MRU 1400
Oct 8 16:13:30 gw1 mpd: MAGICNUM 5cd10163
Oct 8 16:13:30 gw1 mpd: PROTOCOMP
Oct 8 16:13:30 gw1 mpd: ACFCOMP
Oct 8 16:13:30 gw1 mpd: CALLBACK
Oct 8 16:13:30 gw1 mpd: Not supported
Oct 8 16:13:30 gw1 mpd: [pptp0] LCP: SendConfigRej #1
Oct 8 16:13:30 gw1 mpd: CALLBACK
Oct 8 16:13:32 gw1 mpd: [pptp0] LCP: SendConfigReq #3
Oct 8 16:13:32 gw1 mpd: ACFCOMP
Oct 8 16:13:32 gw1 mpd: PROTOCOMP
Oct 8 16:13:32 gw1 mpd: MRU 1500
Oct 8 16:13:32 gw1 mpd: MAGICNUM ea2f21be
Oct 8 16:13:32 gw1 mpd: AUTHPROTO CHAP MSOFTv2
Oct 8 16:13:32 gw1 mpd: MP MRRU 1600
Oct 8 16:13:32 gw1 mpd: MP SHORTSEQ
Oct 8 16:13:32 gw1 mpd: ENDPOINTDISC [802.1] 00 80 48 13 bf 8d
Oct 8 16:13:33 gw1 mpd: [pptp0] LCP: rec'd Configure Request #2 link 0 (Req-Sent)
Oct 8 16:13:33 gw1 mpd: MRU 1400
Oct 8 16:13:33 gw1 mpd: MAGICNUM 5cd10163
Oct 8 16:13:33 gw1 mpd: PROTOCOMP
Oct 8 16:13:33 gw1 mpd: ACFCOMP
Oct 8 16:13:33 gw1 mpd: CALLBACK
Oct 8 16:13:33 gw1 mpd: Not supported
Oct 8 16:13:33 gw1 mpd: [pptp0] LCP: SendConfigRej #2
Oct 8 16:13:33 gw1 mpd: CALLBACK
Oct 8 16:13:34 gw1 mpd: [pptp0] LCP: SendConfigReq #4
Oct 8 16:13:34 gw1 mpd: ACFCOMP
Oct 8 16:13:34 gw1 mpd: PROTOCOMP
Oct 8 16:13:34 gw1 mpd: MRU 1500
Oct 8 16:13:34 gw1 mpd: MAGICNUM ea2f21be
Oct 8 16:13:34 gw1 mpd: AUTHPROTO CHAP MSOFTv2
Oct 8 16:13:34 gw1 mpd: MP MRRU 1600
Oct 8 16:13:34 gw1 mpd: MP SHORTSEQ
Oct 8 16:13:34 gw1 mpd: ENDPOINTDISC [802.1] 00 80 48 13 bf 8d
Oct 8 16:13:36 gw1 mpd: [pptp0] LCP: SendConfigReq #5
Oct 8 16:13:36 gw1 mpd: ACFCOMP
Oct 8 16:13:36 gw1 mpd: PROTOCOMP
Oct 8 16:13:36 gw1 mpd: MRU 1500
Oct 8 16:13:36 gw1 mpd: MAGICNUM ea2f21be
Oct 8 16:13:36 gw1 mpd: AUTHPROTO CHAP MSOFTv2
Oct 8 16:13:36 gw1 mpd: MP MRRU 1600
Oct 8 16:13:36 gw1 mpd: MP SHORTSEQ
Oct 8 16:13:36 gw1 mpd: ENDPOINTDISC [802.1] 00 80 48 13 bf 8d
Oct 8 16:13:37 gw1 mpd: [pptp0] LCP: rec'd Configure Request #3 link 0 (Req-Sent)
Oct 8 16:13:37 gw1 mpd: MRU 1400
Oct 8 16:13:37 gw1 mpd: MAGICNUM 5cd10163
Oct 8 16:13:37 gw1 mpd: PROTOCOMP
Oct 8 16:13:37 gw1 mpd: ACFCOMP
Oct 8 16:13:37 gw1 mpd: CALLBACK
Oct 8 16:13:37 gw1 mpd: Not supported
Oct 8 16:13:37 gw1 mpd: [pptp0] LCP: SendConfigRej #3
Oct 8 16:13:37 gw1 mpd: CALLBACK
Oct 8 16:13:38 gw1 mpd: [pptp0] LCP: SendConfigReq #6
Oct 8 16:13:38 gw1 mpd: ACFCOMP
Oct 8 16:13:38 gw1 mpd: PROTOCOMP
Oct 8 16:13:38 gw1 mpd: MRU 1500
Oct 8 16:13:38 gw1 mpd: MAGICNUM ea2f21be
Oct 8 16:13:38 gw1 mpd: AUTHPROTO CHAP MSOFTv2
Oct 8 16:13:38 gw1 mpd: MP MRRU 1600
Oct 8 16:13:38 gw1 mpd: MP SHORTSEQ
Oct 8 16:13:38 gw1 mpd: ENDPOINTDISC [802.1] 00 80 48 13 bf 8d
Oct 8 16:13:40 gw1 mpd: [pptp0] LCP: SendConfigReq #7
Oct 8 16:13:40 gw1 mpd: ACFCOMP
Oct 8 16:13:40 gw1 mpd: PROTOCOMP
Oct 8 16:13:40 gw1 mpd: MRU 1500
Oct 8 16:13:40 gw1 mpd: MAGICNUM ea2f21be
Oct 8 16:13:40 gw1 mpd: AUTHPROTO CHAP MSOFTv2
Oct 8 16:13:40 gw1 mpd: MP MRRU 1600
Oct 8 16:13:40 gw1 mpd: MP SHORTSEQ
Oct 8 16:13:40 gw1 mpd: ENDPOINTDISC [802.1] 00 80 48 13 bf 8d
Oct 8 16:13:41 gw1 mpd: [pptp0] LCP: rec'd Configure Request #4 link 0 (Req-Sent)
Oct 8 16:13:41 gw1 mpd: MRU 1400
Oct 8 16:13:41 gw1 mpd: MAGICNUM 5cd10163
Oct 8 16:13:41 gw1 mpd: PROTOCOMP
Oct 8 16:13:41 gw1 mpd: ACFCOMP
Oct 8 16:13:41 gw1 mpd: CALLBACK
Oct 8 16:13:41 gw1 mpd: Not supported
Oct 8 16:13:41 gw1 mpd: [pptp0] LCP: SendConfigRej #4
Oct 8 16:13:41 gw1 mpd: CALLBACK
Oct 8 16:13:42 gw1 mpd: [pptp0] LCP: SendConfigReq #8
Oct 8 16:13:42 gw1 mpd: ACFCOMP
Oct 8 16:13:42 gw1 mpd: PROTOCOMP
Oct 8 16:13:42 gw1 mpd: MRU 1500
Oct 8 16:13:42 gw1 mpd: MAGICNUM ea2f21be
Oct 8 16:13:42 gw1 mpd: AUTHPROTO CHAP MSOFTv2
Oct 8 16:13:42 gw1 mpd: MP MRRU 1600
Oct 8 16:13:42 gw1 mpd: MP SHORTSEQ
Oct 8 16:13:42 gw1 mpd: ENDPOINTDISC [802.1] 00 80 48 13 bf 8d
Oct 8 16:13:44 gw1 mpd: [pptp0] LCP: SendConfigReq #9
Oct 8 16:13:44 gw1 mpd: ACFCOMP
Oct 8 16:13:44 gw1 mpd: PROTOCOMP
Oct 8 16:13:44 gw1 mpd: MRU 1500
Oct 8 16:13:44 gw1 mpd: MAGICNUM ea2f21be
Oct 8 16:13:44 gw1 mpd: AUTHPROTO CHAP MSOFTv2
Oct 8 16:13:44 gw1 mpd: MP MRRU 1600
Oct 8 16:13:44 gw1 mpd: MP SHORTSEQ
Oct 8 16:13:44 gw1 mpd: ENDPOINTDISC [802.1] 00 80 48 13 bf 8d
Oct 8 16:13:45 gw1 mpd: [pptp0] LCP: rec'd Configure Request #5 link 0 (Req-Sent)
Oct 8 16:13:45 gw1 mpd: MRU 1400
Oct 8 16:13:45 gw1 mpd: MAGICNUM 5cd10163
Oct 8 16:13:45 gw1 mpd: PROTOCOMP
Oct 8 16:13:45 gw1 mpd: ACFCOMP
Oct 8 16:13:45 gw1 mpd: CALLBACK
Oct 8 16:13:45 gw1 mpd: Not supported
Oct 8 16:13:45 gw1 mpd: [pptp0] LCP: not converging
Oct 8 16:13:45 gw1 mpd: [pptp0] LCP: parameter negotiation failed
Oct 8 16:13:45 gw1 mpd: [pptp0] LCP: state change Req-Sent --> Stopped
Oct 8 16:13:45 gw1 mpd: [pptp0] LCP: LayerFinish
Oct 8 16:13:45 gw1 mpd: [pptp0] device: CLOSE event in state UP
Oct 8 16:13:45 gw1 mpd: pptp0-0: clearing call
Oct 8 16:13:45 gw1 mpd: pptp0-0: killing channel
Oct 8 16:13:45 gw1 mpd: [pptp0] PPTP call terminated
Oct 8 16:13:45 gw1 mpd: [pptp0] IFACE: Close event
Oct 8 16:13:45 gw1 mpd: [pptp0] IPCP: Close event
Oct 8 16:13:45 gw1 mpd: [pptp0] IPCP: state change Starting --> Initial
Oct 8 16:13:45 gw1 mpd: [pptp0] IPCP: LayerFinish
Oct 8 16:13:45 gw1 mpd: [pptp0] IFACE: Close event
Oct 8 16:13:45 gw1 mpd: pptp0: closing connection with 195.242.2.205:1463
Oct 8 16:13:45 gw1 mpd: [pptp0] IFACE: Close event
Oct 8 16:13:45 gw1 mpd: [pptp0] device is now in state CLOSING
Oct 8 16:13:45 gw1 mpd: [pptp0] bundle: CLOSE event in state OPENED
Oct 8 16:13:45 gw1 mpd: [pptp0] closing link "pptp0"...
Oct 8 16:13:45 gw1 mpd: [pptp0] device: DOWN event in state CLOSING
Oct 8 16:13:45 gw1 mpd: [pptp0] device is now in state DOWN
Oct 8 16:13:45 gw1 mpd: [pptp0] link: CLOSE event
Oct 8 16:13:45 gw1 mpd: [pptp0] LCP: Close event
Oct 8 16:13:45 gw1 mpd: [pptp0] LCP: state change Stopped --> Closed
Oct 8 16:13:45 gw1 mpd: [pptp0] device: DOWN event in state DOWN
Oct 8 16:13:45 gw1 mpd: [pptp0] device is now in state DOWN
Oct 8 16:13:45 gw1 mpd: [pptp0] link: DOWN event
Oct 8 16:13:45 gw1 mpd: [pptp0] LCP: Down event
Oct 8 16:13:45 gw1 mpd: [pptp0] LCP: state change Closed --> Initial
Oct 8 16:13:45 gw1 mpd: [pptp0] LCP: phase shift ESTABLISH --> DEAD
Oct 8 16:13:45 gw1 mpd: [pptp0] link: DOWN event
Oct 8 16:13:45 gw1 mpd: [pptp0] LCP: Down event
Oct 8 16:13:45 gw1 mpd: pptp0: killing connection with 195.242.2.205:1463
Где жу тут собака порылась ?