Вот конфиг:
Код: Выделить всё
startup:
# configure the console
set console self 127.0.0.1 5005
set console user foo bar
set console user foo1 bar1
set console open
# configure the web server
set web self 127.0.0.1 5006
set web user foo bar
set web open
# Default configuration is "pptp_server"
default:
load pptp_server
pptp_server:
# Define dynamic IP address pool.
set ippool add pool1 10.189.159.2 10.189.159.250
set ippool add pool2 192.168.100.2 192.168.100.250
# Create clonable bundle template named B
create bundle template B
set iface enable proxy-arp
set iface enable tcpmssfix
# Specify IP address pool for dynamic assigment.
set ipcp ranges 10.189.159.1/32 ippool pool1
set ipcp ranges 192.168.100.1/32 ippool pool2
set ipcp dns 192.168.100.52
set ipcp nbns 192.168.100.52
# The five lines below enable Microsoft Point-to-Point encryption
# (MPPE) using the ng_mppc(8) netgraph node type.
set bundle enable compression
set ccp yes mppc
set ccp yes mpp-e40
set ccp yes mpp-e128
set ccp yes mpp-stateless
# Create clonable link template named L
create link template L pptp
set link action bundle B
# Multilink adds some overhead, but gives full 1500 MTU.
set link no pap
set link enable chap
set link enable chap-msv1
set link enable chap-msv2
# Configure PPTP
set pptp self 8x.xx.xx.xx
set pptp disable windowing
set pptp enable always-ask
# Allow to accept calls
set link enable incoming
Версия iOS v 5.1 (9B176)
Вырезка с лога mpd при попытке подключения с iPad вот:
Код: Выделить всё
Apr 25 13:14:09 free mpd: [L-1] Accepting PPTP connection
Apr 25 13:14:09 free mpd: [L-1] link: OPEN event
Apr 25 13:14:09 free mpd: [L-1] LCP: Open event
Apr 25 13:14:09 free mpd: [L-1] LCP: state change Initial --> Starting
Apr 25 13:14:09 free mpd: [L-1] LCP: LayerStart
Apr 25 13:14:09 free mpd: [L-1] PPTP: attaching to peer's outgoing call
Apr 25 13:14:09 free mpd: [L-1] link: UP event
Apr 25 13:14:09 free mpd: [L-1] link: origination is remote
Apr 25 13:14:09 free mpd: [L-1] LCP: Up event
Apr 25 13:14:09 free mpd: [L-1] LCP: state change Starting --> Req-Sent
Apr 25 13:14:09 free mpd: [L-1] LCP: SendConfigReq #1
Apr 25 13:14:09 free mpd: ACFCOMP
Apr 25 13:14:09 free mpd: PROTOCOMP
Apr 25 13:14:09 free mpd: MRU 1500
Apr 25 13:14:09 free mpd: MAGICNUM 5fa7594a
Apr 25 13:14:09 free mpd: AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:09 free mpd: [L-1] LCP: rec'd Configure Request #1 (Req-Sent)
Apr 25 13:14:09 free mpd: ACCMAP 0x00000000
Apr 25 13:14:09 free mpd: MAGICNUM 500e7b78
Apr 25 13:14:09 free mpd: PROTOCOMP
Apr 25 13:14:09 free mpd: ACFCOMP
Apr 25 13:14:09 free mpd: [L-1] LCP: SendConfigAck #1
Apr 25 13:14:09 free mpd: ACCMAP 0x00000000
Apr 25 13:14:09 free mpd: MAGICNUM 500e7b78
Apr 25 13:14:09 free mpd: PROTOCOMP
Apr 25 13:14:09 free mpd: ACFCOMP
Apr 25 13:14:09 free mpd: [L-1] LCP: state change Req-Sent --> Ack-Sent
Apr 25 13:14:11 free mpd: [L-1] LCP: SendConfigReq #2
Apr 25 13:14:11 free mpd: ACFCOMP
Apr 25 13:14:11 free mpd: PROTOCOMP
Apr 25 13:14:11 free mpd: MRU 1500
Apr 25 13:14:11 free mpd: MAGICNUM 5fa7594a
Apr 25 13:14:11 free mpd: AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:11 free mpd: [L-1] LCP: rec'd Configure Reject #2 (Ack-Sent)
Apr 25 13:14:11 free mpd: AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:11 free mpd: [L-1] LCP: SendConfigReq #3
Apr 25 13:14:11 free mpd: ACFCOMP
Apr 25 13:14:11 free mpd: PROTOCOMP
Apr 25 13:14:11 free mpd: MRU 1500
Apr 25 13:14:11 free mpd: MAGICNUM 5fa7594a
Apr 25 13:14:11 free mpd: AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:11 free mpd: [L-1] LCP: rec'd Configure Reject #3 (Ack-Sent)
Apr 25 13:14:11 free mpd: AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:11 free mpd: [L-1] LCP: SendConfigReq #4
Apr 25 13:14:11 free mpd: ACFCOMP
Apr 25 13:14:11 free mpd: PROTOCOMP
Apr 25 13:14:11 free mpd: MRU 1500
Apr 25 13:14:11 free mpd: MAGICNUM 5fa7594a
Apr 25 13:14:11 free mpd: AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:11 free mpd: [L-1] LCP: rec'd Configure Reject #4 (Ack-Sent)
Apr 25 13:14:11 free mpd: AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:11 free mpd: [L-1] LCP: SendConfigReq #5
Apr 25 13:14:11 free mpd: ACFCOMP
Apr 25 13:14:11 free mpd: PROTOCOMP
Apr 25 13:14:11 free mpd: MRU 1500
Apr 25 13:14:11 free mpd: MAGICNUM 5fa7594a
Apr 25 13:14:11 free mpd: AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:11 free mpd: [L-1] LCP: rec'd Configure Reject #5 (Ack-Sent)
Apr 25 13:14:11 free mpd: AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:11 free mpd: [L-1] LCP: SendConfigReq #6
Apr 25 13:14:11 free mpd: ACFCOMP
Apr 25 13:14:11 free mpd: PROTOCOMP
Apr 25 13:14:11 free mpd: MRU 1500
Apr 25 13:14:11 free mpd: MAGICNUM 5fa7594a
Apr 25 13:14:11 free mpd: AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:11 free mpd: [L-1] LCP: rec'd Configure Reject #6 (Ack-Sent)
Apr 25 13:14:11 free mpd: AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:11 free mpd: [L-1] LCP: SendConfigReq #7
Apr 25 13:14:11 free mpd: ACFCOMP
Apr 25 13:14:11 free mpd: PROTOCOMP
Apr 25 13:14:11 free mpd: MRU 1500
Apr 25 13:14:11 free mpd: MAGICNUM 5fa7594a
Apr 25 13:14:11 free mpd: AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:12 free mpd: [L-1] LCP: rec'd Configure Reject #7 (Ack-Sent)
Apr 25 13:14:12 free mpd: AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:12 free mpd: [L-1] LCP: SendConfigReq #8
Apr 25 13:14:12 free mpd: ACFCOMP
Apr 25 13:14:12 free mpd: PROTOCOMP
Apr 25 13:14:12 free mpd: MRU 1500
Apr 25 13:14:12 free mpd: MAGICNUM 5fa7594a
Apr 25 13:14:12 free mpd: AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:12 free mpd: [L-1] LCP: rec'd Configure Reject #8 (Ack-Sent)
Apr 25 13:14:12 free mpd: AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:12 free mpd: [L-1] LCP: SendConfigReq #9
Apr 25 13:14:12 free mpd: ACFCOMP
Apr 25 13:14:12 free mpd: PROTOCOMP
Apr 25 13:14:12 free mpd: MRU 1500
Apr 25 13:14:12 free mpd: MAGICNUM 5fa7594a
Apr 25 13:14:12 free mpd: AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:12 free mpd: [L-1] LCP: rec'd Configure Reject #9 (Ack-Sent)
Apr 25 13:14:12 free mpd: AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:12 free mpd: [L-1] LCP: SendConfigReq #10
Apr 25 13:14:12 free mpd: ACFCOMP
Apr 25 13:14:12 free mpd: PROTOCOMP
Apr 25 13:14:12 free mpd: MRU 1500
Apr 25 13:14:12 free mpd: MAGICNUM 5fa7594a
Apr 25 13:14:12 free mpd: AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:12 free mpd: [L-1] LCP: rec'd Configure Reject #10 (Ack-Sent)
Apr 25 13:14:12 free mpd: AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:12 free mpd: [L-1] LCP: not converging
Apr 25 13:14:12 free mpd: [L-1] LCP: parameter negotiation failed
Apr 25 13:14:12 free mpd: [L-1] LCP: state change Ack-Sent --> Stopped
Apr 25 13:14:12 free mpd: [L-1] LCP: LayerFinish
Apr 25 13:14:12 free mpd: [L-1] PPTP call terminated
Apr 25 13:14:12 free mpd: [L-1] link: DOWN event
Apr 25 13:14:12 free mpd: [L-1] LCP: Close event
Apr 25 13:14:12 free mpd: [L-1] LCP: state change Stopped --> Closed
Apr 25 13:14:12 free mpd: [L-1] LCP: Down event
Apr 25 13:14:12 free mpd: [L-1] LCP: state change Closed --> Initial
Apr 25 13:14:12 free mpd: [L-1] link: SHUTDOWN event