freebsd 8.2 MPD5.5gateway# ifconfig
usbus0: flags=0<> metric 0 mtu 0
usbus1: flags=0<> metric 0 mtu 0
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=3808<VLAN_MTU,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
ether 00:1a:92:11:19:9e
inet6 fe80::21a:92ff:fe11:199e%rl0 prefixlen 64 scopeid 0x3
inet 10.12.20.40 netmask 0xffffff00 broadcast 10.12.20.255
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
rl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=3808<VLAN_MTU,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
ether 00:04:61:92:19:70
inet 192.168.168.254 netmask 0xffffff00 broadcast 192.168.168.255
inet6 fe80::204:61ff:fe92:1970%rl1 prefixlen 64 scopeid 0x4
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
ipfw0: flags=8801<UP,SIMPLEX,MULTICAST> metric 0 mtu 65536
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1460
inet тут мой внешний ИП --> ИП сервера провайдера netmask 0xffffffff
как VPN client все в порядке, подключение держит, интернет есть.
Конфиг MPD
gateway# cat /usr/local/etc/mpd5/mpd.conf
startup:
set стерто за не надобностью
set console self 127.0.0.1 5005
set console open
set web self 192.168.168.254 5006
set web open
default:
load dialup
load vpn
dialup:
create bundle static B1
set iface route default
set iface enable nat
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
create link static L1 pptp
set link action bundle B1
set auth authname "логин"
set auth password "пароль"
set link max-redial 0
set link mtu 1460
set link keep-alive 20 75
set pptp peer 10.10.10.3
set pptp disable windowing
open
vpn:
set ippool add poolsat 192.168.169.2 192.168.169.254
create bundle template B
set iface enable proxy-arp
set iface idle 1800
set iface enable tcpmssfix
set ipcp yes vjcomp
set ipcp ranges 192.168.169.1/32 ippool poolsat
set ipcp dns 192.168.168.254
set bundle enable compression
set ccp yes mppc
set mppc yes e40
set mppc yes e128
create link template L pptp
set link action bundle B
set link enable multilink
set link yes acfcomp protocomp
set link mtu 1500
set link no pap chap
set link enable chap
set link keep-alive 10 60
set link enable incoming
Как видим MPD должен работать еще и как сервер VPN. Только тут нарисовывается проблема.
Иногда сервер проглатывает соединение и поключает клиента.
Dec 20 14:39:52 gateway mpd: [L-2] Accepting PPTP connection
Dec 20 14:39:52 gateway mpd: [L-2] Link: OPEN event
Dec 20 14:39:52 gateway mpd: [L-2] LCP: Open event
Dec 20 14:39:52 gateway mpd: [L-2] LCP: state change Initial --> Starting
Dec 20 14:39:52 gateway mpd: [L-2] LCP: LayerStart
Dec 20 14:39:52 gateway mpd: [L-2] PPTP: attaching to peer's outgoing call
Dec 20 14:39:52 gateway mpd: [L-2] Link: UP event
Dec 20 14:39:52 gateway mpd: [L-2] LCP: Up event
Dec 20 14:39:52 gateway mpd: [L-2] LCP: state change Starting --> Req-Sent
Dec 20 14:39:52 gateway mpd: [L-2] LCP: SendConfigReq #1
Dec 20 14:39:52 gateway mpd: [L-2] ACFCOMP
Dec 20 14:39:52 gateway mpd: [L-2] PROTOCOMP
Dec 20 14:39:52 gateway mpd: [L-2] MRU 1500
Dec 20 14:39:52 gateway mpd: [L-2] MAGICNUM 439eb22a
Dec 20 14:39:52 gateway mpd: [L-2] AUTHPROTO CHAP MSOFTv2
Dec 20 14:39:52 gateway mpd: [L-2] MP MRRU 2048
Dec 20 14:39:52 gateway mpd: [L-2] MP SHORTSEQ
Dec 20 14:39:52 gateway mpd: [L-2] ENDPOINTDISC [802.1] 00 1a 92 11 19 9e
Dec 20 14:39:52 gateway mpd: [L-2] LCP: rec'd Configure Request #0 (Req-Sent)
Dec 20 14:39:52 gateway mpd: [L-2] MRU 1400
Dec 20 14:39:52 gateway mpd: [L-2] MAGICNUM 2bac1682
Dec 20 14:39:52 gateway mpd: [L-2] PROTOCOMP
Dec 20 14:39:52 gateway mpd: [L-2] ACFCOMP
Dec 20 14:39:52 gateway mpd: [L-2] CALLBACK 6
Dec 20 14:39:52 gateway mpd: [L-2] LCP: SendConfigRej #0
Dec 20 14:39:52 gateway mpd: [L-2] CALLBACK 6
Dec 20 14:39:52 gateway mpd: [L-2] LCP: rec'd Configure Reject #1 (Req-Sent)
Dec 20 14:39:52 gateway mpd: [L-2] MP MRRU 2048
Dec 20 14:39:52 gateway mpd: [L-2] MP SHORTSEQ
Dec 20 14:39:52 gateway mpd: [L-2] ENDPOINTDISC [802.1] 00 1a 92 11 19 9e
Dec 20 14:39:52 gateway mpd: [L-2] LCP: SendConfigReq #2
Dec 20 14:39:52 gateway mpd: [L-2] ACFCOMP
Dec 20 14:39:52 gateway mpd: [L-2] PROTOCOMP
Dec 20 14:39:52 gateway mpd: [L-2] MRU 1500
Dec 20 14:39:52 gateway mpd: [L-2] MAGICNUM 439eb22a
Dec 20 14:39:52 gateway mpd: [L-2] AUTHPROTO CHAP MSOFTv2
Dec 20 14:39:52 gateway mpd: [L-2] LCP: rec'd Configure Request #1 (Req-Sent)
Dec 20 14:39:52 gateway mpd: [L-2] MRU 1400
Dec 20 14:39:52 gateway mpd: [L-2] MAGICNUM 2bac1682
Dec 20 14:39:52 gateway mpd: [L-2] PROTOCOMP
Dec 20 14:39:52 gateway mpd: [L-2] ACFCOMP
Dec 20 14:39:52 gateway mpd: [L-2] LCP: SendConfigAck #1
Dec 20 14:39:52 gateway mpd: [L-2] MRU 1400
Dec 20 14:39:52 gateway mpd: [L-2] MAGICNUM 2bac1682
Dec 20 14:39:52 gateway mpd: [L-2] PROTOCOMP
Dec 20 14:39:52 gateway mpd: [L-2] ACFCOMP
Dec 20 14:39:52 gateway mpd: [L-2] LCP: state change Req-Sent --> Ack-Sent
Dec 20 14:39:52 gateway mpd: [L-2] LCP: rec'd Configure Ack #2 (Ack-Sent)
Dec 20 14:39:52 gateway mpd: [L-2] ACFCOMP
Dec 20 14:39:52 gateway mpd: [L-2] PROTOCOMP
Dec 20 14:39:52 gateway mpd: [L-2] MRU 1500
Dec 20 14:39:52 gateway mpd: [L-2] MAGICNUM 439eb22a
Dec 20 14:39:52 gateway mpd: [L-2] AUTHPROTO CHAP MSOFTv2
Dec 20 14:39:52 gateway mpd: [L-2] LCP: state change Ack-Sent --> Opened
Dec 20 14:39:52 gateway mpd: [L-2] LCP: auth: peer wants nothing, I want CHAP
Dec 20 14:39:52 gateway mpd: [L-2] CHAP: sending CHALLENGE #1 len: 21
Dec 20 14:39:52 gateway mpd: [L-2] LCP: LayerUp
Dec 20 14:39:52 gateway mpd: [L-2] LCP: rec'd Ident #2 (Opened)
Dec 20 14:39:52 gateway mpd: [L-2] MESG: MSRASV5.10
Dec 20 14:39:52 gateway mpd: [L-2] LCP: rec'd Ident #3 (Opened)
Dec 20 14:39:52 gateway mpd: [L-2] MESG: MSRAS-0-ADMINER
Dec 20 14:39:52 gateway mpd: [L-2] CHAP: rec'd RESPONSE #1 len: 62
Dec 20 14:39:52 gateway mpd: [L-2] Name: "holyfire"
Dec 20 14:39:52 gateway mpd: [L-2] AUTH: Trying INTERNAL
Dec 20 14:39:52 gateway mpd: [L-2] AUTH: INTERNAL returned: undefined
Dec 20 14:39:52 gateway mpd: [L-2] CHAP: Auth return status: undefined
Dec 20 14:39:52 gateway mpd: [L-2] CHAP: Response is valid
Dec 20 14:39:52 gateway mpd: [L-2] CHAP: Reply message: S=B6394BBCD8C62A6C2C3CA32A0F9E13085407C2D5
Dec 20 14:39:52 gateway mpd: [L-2] CHAP: sending SUCCESS #1 len: 46
Dec 20 14:39:52 gateway mpd: [L-2] LCP: authorization successful
Dec 20 14:39:52 gateway mpd: [L-2] Link: Matched action 'bundle "B" ""'
Dec 20 14:39:52 gateway mpd: [L-2] Creating new bundle using template "B".
Dec 20 14:39:52 gateway mpd: [B-2] Bundle: Interface ng1 created
Dec 20 14:39:52 gateway mpd: [L-2] Link: Join bundle "B-2"
Dec 20 14:39:52 gateway mpd: [B-2] Bundle: Status update: up 1 link, total bandwidth 64000 bps
Dec 20 14:39:52 gateway mpd: [B-2] IPCP: Open event
Dec 20 14:39:52 gateway mpd: [B-2] IPCP: state change Initial --> Starting
Dec 20 14:39:52 gateway mpd: [B-2] IPCP: LayerStart
Dec 20 14:39:52 gateway mpd: [B-2] CCP: Open event
Dec 20 14:39:52 gateway mpd: [B-2] CCP: state change Initial --> Starting
Dec 20 14:39:52 gateway mpd: [B-2] CCP: LayerStart
Dec 20 14:39:52 gateway mpd: [B-2] IPCP: Up event
Dec 20 14:39:52 gateway mpd: [B-2] IPCP: Got IP 192.168.169.2 from pool "poolsat" for peer
Dec 20 14:39:52 gateway mpd: [B-2] IPCP: state change Starting --> Req-Sent
Dec 20 14:39:52 gateway mpd: [B-2] IPCP: SendConfigReq #1
Dec 20 14:39:52 gateway mpd: [B-2] IPADDR 192.168.169.1
Dec 20 14:39:52 gateway mpd: [B-2] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Dec 20 14:39:52 gateway mpd: [B-2] CCP: Up event
Dec 20 14:39:52 gateway mpd: [B-2] CCP: state change Starting --> Req-Sent
Dec 20 14:39:52 gateway mpd: [B-2] CCP: SendConfigReq #1
Dec 20 14:39:52 gateway mpd: [B-2] MPPC
Dec 20 14:39:52 gateway mpd: [B-2] 0x00000060:MPPE(40, 128 bits)
Dec 20 14:39:52 gateway mpd: [B-2] CCP: rec'd Configure Request #4 (Req-Sent)
Dec 20 14:39:52 gateway mpd: [B-2] MPPC
Dec 20 14:39:52 gateway mpd: [B-2] 0x01000000:stateless
Dec 20 14:39:52 gateway mpd: [B-2] CCP: SendConfigNak #4
Dec 20 14:39:52 gateway mpd: [B-2] MPPC
Dec 20 14:39:52 gateway mpd: [B-2] 0x00000060:MPPE(40, 128 bits)
Dec 20 14:39:52 gateway mpd: [B-2] IPCP: rec'd Configure Request #5 (Req-Sent)
Dec 20 14:39:52 gateway mpd: [B-2] IPADDR 0.0.0.0
Dec 20 14:39:52 gateway mpd: [B-2] NAKing with 192.168.169.2
Dec 20 14:39:52 gateway mpd: [B-2] PRIDNS 0.0.0.0
Dec 20 14:39:52 gateway mpd: [B-2] NAKing with 192.168.168.254
Dec 20 14:39:52 gateway mpd: [B-2] PRINBNS 0.0.0.0
Dec 20 14:39:52 gateway mpd: [B-2] SECDNS 0.0.0.0
Dec 20 14:39:52 gateway mpd: [B-2] SECNBNS 0.0.0.0
Dec 20 14:39:52 gateway mpd: [B-2] IPCP: SendConfigRej #5
Dec 20 14:39:52 gateway mpd: [B-2] PRINBNS 0.0.0.0
Dec 20 14:39:52 gateway mpd: [B-2] SECDNS 0.0.0.0
Dec 20 14:39:52 gateway mpd: [B-2] SECNBNS 0.0.0.0
Dec 20 14:39:52 gateway mpd: [B-2] IPCP: rec'd Configure Reject #1 (Req-Sent)
Dec 20 14:39:52 gateway mpd: [B-2] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Dec 20 14:39:52 gateway mpd: [B-2] IPCP: SendConfigReq #2
Dec 20 14:39:52 gateway mpd: [B-2] IPADDR 192.168.169.1
Dec 20 14:39:52 gateway mpd: [B-2] CCP: rec'd Configure Nak #1 (Req-Sent)
Dec 20 14:39:52 gateway mpd: [B-2] MPPC
Dec 20 14:39:52 gateway mpd: [B-2] 0x00000040:MPPE(128 bits)
Dec 20 14:39:52 gateway mpd: [B-2] CCP: SendConfigReq #2
Dec 20 14:39:52 gateway mpd: [B-2] MPPC
Dec 20 14:39:52 gateway mpd: [B-2] 0x00000040:MPPE(128 bits)
Dec 20 14:39:52 gateway mpd: [B-2] CCP: rec'd Configure Request #6 (Req-Sent)
Dec 20 14:39:52 gateway mpd: [B-2] MPPC
Dec 20 14:39:52 gateway mpd: [B-2] 0x00000040:MPPE(128 bits)
Dec 20 14:39:52 gateway mpd: [B-2] CCP: SendConfigAck #6
Dec 20 14:39:52 gateway mpd: [B-2] MPPC
Dec 20 14:39:52 gateway mpd: [B-2] 0x00000040:MPPE(128 bits)
Dec 20 14:39:52 gateway mpd: [B-2] CCP: state change Req-Sent --> Ack-Sent
Dec 20 14:39:52 gateway mpd: [B-2] IPCP: rec'd Configure Request #7 (Req-Sent)
Dec 20 14:39:52 gateway mpd: [B-2] IPADDR 0.0.0.0
Dec 20 14:39:52 gateway mpd: [B-2] NAKing with 192.168.169.2
Dec 20 14:39:52 gateway mpd: [B-2] PRIDNS 0.0.0.0
Dec 20 14:39:52 gateway mpd: [B-2] NAKing with 192.168.168.254
Dec 20 14:39:52 gateway mpd: [B-2] IPCP: SendConfigNak #7
Dec 20 14:39:52 gateway mpd: [B-2] IPADDR 192.168.169.2
Dec 20 14:39:52 gateway mpd: [B-2] PRIDNS 192.168.168.254
Dec 20 14:39:52 gateway mpd: [B-2] IPCP: rec'd Configure Ack #2 (Req-Sent)
Dec 20 14:39:52 gateway mpd: [B-2] IPADDR 192.168.169.1
Dec 20 14:39:52 gateway mpd: [B-2] IPCP: state change Req-Sent --> Ack-Rcvd
Dec 20 14:39:52 gateway mpd: [B-2] CCP: rec'd Configure Ack #2 (Ack-Sent)
Dec 20 14:39:52 gateway mpd: [B-2] MPPC
Dec 20 14:39:52 gateway mpd: [B-2] 0x00000040:MPPE(128 bits)
Dec 20 14:39:52 gateway mpd: [B-2] CCP: state change Ack-Sent --> Opened
Dec 20 14:39:52 gateway mpd: [B-2] CCP: LayerUp
Dec 20 14:39:52 gateway mpd: [B-2] CCP: Compress using: mppc (MPPE(128 bits))
Dec 20 14:39:52 gateway mpd: [B-2] CCP: Decompress using: mppc (MPPE(128 bits))
Dec 20 14:39:52 gateway mpd: [B-2] IPCP: rec'd Configure Request #8 (Ack-Rcvd)
Dec 20 14:39:52 gateway mpd: [B-2] IPADDR 192.168.169.2
Dec 20 14:39:52 gateway mpd: [B-2] 192.168.169.2 is OK
Dec 20 14:39:52 gateway mpd: [B-2] PRIDNS 192.168.168.254
Dec 20 14:39:52 gateway mpd: [B-2] IPCP: SendConfigAck #8
Dec 20 14:39:52 gateway mpd: [B-2] IPADDR 192.168.169.2
Dec 20 14:39:52 gateway mpd: [B-2] PRIDNS 192.168.168.254
Dec 20 14:39:52 gateway mpd: [B-2] IPCP: state change Ack-Rcvd --> Opened
Dec 20 14:39:52 gateway mpd: [B-2] IPCP: LayerUp
Dec 20 14:39:52 gateway mpd: [B-2] 192.168.169.1 -> 192.168.169.2
Dec 20 14:39:52 gateway mpd: [B-2] IFACE: No interface to proxy arp on for 192.168.169.2
Dec 20 14:39:52 gateway mpd: [B-2] IFACE: Up event
все клиент подключился и все ок. Но чаще вижу следующее
Dec 20 14:41:50 gateway mpd: [L-2] Accepting PPTP connection
Dec 20 14:41:50 gateway mpd: [L-2] Link: OPEN event
Dec 20 14:41:50 gateway mpd: [L-2] LCP: Open event
Dec 20 14:41:50 gateway mpd: [L-2] LCP: state change Initial --> Starting
Dec 20 14:41:50 gateway mpd: [L-2] LCP: LayerStart
Dec 20 14:41:50 gateway mpd: [L-2] PPTP: attaching to peer's outgoing call
Dec 20 14:41:50 gateway mpd: [L-2] Link: UP event
Dec 20 14:41:50 gateway mpd: [L-2] LCP: Up event
Dec 20 14:41:50 gateway mpd: [L-2] LCP: state change Starting --> Req-Sent
Dec 20 14:41:50 gateway mpd: [L-2] LCP: SendConfigReq #1
Dec 20 14:41:50 gateway mpd: [L-2] ACFCOMP
Dec 20 14:41:50 gateway mpd: [L-2] PROTOCOMP
Dec 20 14:41:50 gateway mpd: [L-2] MRU 1500
Dec 20 14:41:50 gateway mpd: [L-2] MAGICNUM ae5d54b2
Dec 20 14:41:50 gateway mpd: [L-2] AUTHPROTO CHAP MSOFTv2
Dec 20 14:41:50 gateway mpd: [L-2] MP MRRU 2048
Dec 20 14:41:50 gateway mpd: [L-2] MP SHORTSEQ
Dec 20 14:41:50 gateway mpd: [L-2] ENDPOINTDISC [802.1] 00 1a 92 11 19 9e
Dec 20 14:41:52 gateway mpd: [L-2] LCP: SendConfigReq #2
Dec 20 14:41:52 gateway mpd: [L-2] ACFCOMP
Dec 20 14:41:52 gateway mpd: [L-2] PROTOCOMP
Dec 20 14:41:52 gateway mpd: [L-2] MRU 1500
Dec 20 14:41:52 gateway mpd: [L-2] MAGICNUM ae5d54b2
Dec 20 14:41:52 gateway mpd: [L-2] AUTHPROTO CHAP MSOFTv2
Dec 20 14:41:52 gateway mpd: [L-2] MP MRRU 2048
Dec 20 14:41:52 gateway mpd: [L-2] MP SHORTSEQ
Dec 20 14:41:52 gateway mpd: [L-2] ENDPOINTDISC [802.1] 00 1a 92 11 19 9e
Dec 20 14:41:54 gateway mpd: [L-2] LCP: SendConfigReq #3
Dec 20 14:41:54 gateway mpd: [L-2] ACFCOMP
Dec 20 14:41:54 gateway mpd: [L-2] PROTOCOMP
Dec 20 14:41:54 gateway mpd: [L-2] MRU 1500
Dec 20 14:41:54 gateway mpd: [L-2] MAGICNUM ae5d54b2
Dec 20 14:41:54 gateway mpd: [L-2] AUTHPROTO CHAP MSOFTv2
Dec 20 14:41:54 gateway mpd: [L-2] MP MRRU 2048
Dec 20 14:41:54 gateway mpd: [L-2] MP SHORTSEQ
Dec 20 14:41:54 gateway mpd: [L-2] ENDPOINTDISC [802.1] 00 1a 92 11 19 9e
Dec 20 14:41:56 gateway mpd: [L-2] LCP: SendConfigReq #4
Dec 20 14:41:56 gateway mpd: [L-2] ACFCOMP
Dec 20 14:41:56 gateway mpd: [L-2] PROTOCOMP
Dec 20 14:41:56 gateway mpd: [L-2] MRU 1500
Dec 20 14:41:56 gateway mpd: [L-2] MAGICNUM ae5d54b2
Dec 20 14:41:56 gateway mpd: [L-2] AUTHPROTO CHAP MSOFTv2
Dec 20 14:41:56 gateway mpd: [L-2] MP MRRU 2048
Dec 20 14:41:56 gateway mpd: [L-2] MP SHORTSEQ
Dec 20 14:41:56 gateway mpd: [L-2] ENDPOINTDISC [802.1] 00 1a 92 11 19 9e
Dec 20 14:41:58 gateway mpd: [L-2] LCP: SendConfigReq #5
Dec 20 14:41:58 gateway mpd: [L-2] ACFCOMP
Dec 20 14:41:58 gateway mpd: [L-2] PROTOCOMP
Dec 20 14:41:58 gateway mpd: [L-2] MRU 1500
Dec 20 14:41:58 gateway mpd: [L-2] MAGICNUM ae5d54b2
Dec 20 14:41:58 gateway mpd: [L-2] AUTHPROTO CHAP MSOFTv2
Dec 20 14:41:58 gateway mpd: [L-2] MP MRRU 2048
Dec 20 14:41:58 gateway mpd: [L-2] MP SHORTSEQ
Dec 20 14:41:58 gateway mpd: [L-2] ENDPOINTDISC [802.1] 00 1a 92 11 19 9e
Dec 20 14:42:00 gateway mpd: [L-2] LCP: SendConfigReq #6
Dec 20 14:42:00 gateway mpd: [L-2] ACFCOMP
Dec 20 14:42:00 gateway mpd: [L-2] PROTOCOMP
Dec 20 14:42:00 gateway mpd: [L-2] MRU 1500
Dec 20 14:42:00 gateway mpd: [L-2] MAGICNUM ae5d54b2
Dec 20 14:42:00 gateway mpd: [L-2] AUTHPROTO CHAP MSOFTv2
Dec 20 14:42:00 gateway mpd: [L-2] MP MRRU 2048
Dec 20 14:42:00 gateway mpd: [L-2] MP SHORTSEQ
Dec 20 14:42:00 gateway mpd: [L-2] ENDPOINTDISC [802.1] 00 1a 92 11 19 9e
Dec 20 14:42:02 gateway mpd: [L-2] LCP: SendConfigReq #7
Dec 20 14:42:02 gateway mpd: [L-2] ACFCOMP
Dec 20 14:42:02 gateway mpd: [L-2] PROTOCOMP
Dec 20 14:42:02 gateway mpd: [L-2] MRU 1500
Dec 20 14:42:02 gateway mpd: [L-2] MAGICNUM ae5d54b2
Dec 20 14:42:02 gateway mpd: [L-2] AUTHPROTO CHAP MSOFTv2
Dec 20 14:42:02 gateway mpd: [L-2] MP MRRU 2048
Dec 20 14:42:02 gateway mpd: [L-2] MP SHORTSEQ
Dec 20 14:42:02 gateway mpd: [L-2] ENDPOINTDISC [802.1] 00 1a 92 11 19 9e
Dec 20 14:42:04 gateway mpd: [L-2] LCP: SendConfigReq #8
Dec 20 14:42:04 gateway mpd: [L-2] ACFCOMP
Dec 20 14:42:04 gateway mpd: [L-2] PROTOCOMP
Dec 20 14:42:04 gateway mpd: [L-2] MRU 1500
Dec 20 14:42:04 gateway mpd: [L-2] MAGICNUM ae5d54b2
Dec 20 14:42:04 gateway mpd: [L-2] AUTHPROTO CHAP MSOFTv2
Dec 20 14:42:04 gateway mpd: [L-2] MP MRRU 2048
Dec 20 14:42:04 gateway mpd: [L-2] MP SHORTSEQ
Dec 20 14:42:04 gateway mpd: [L-2] ENDPOINTDISC [802.1] 00 1a 92 11 19 9e
Dec 20 14:42:06 gateway mpd: [L-2] LCP: SendConfigReq #9
Dec 20 14:42:06 gateway mpd: [L-2] ACFCOMP
Dec 20 14:42:06 gateway mpd: [L-2] PROTOCOMP
Dec 20 14:42:06 gateway mpd: [L-2] MRU 1500
Dec 20 14:42:06 gateway mpd: [L-2] MAGICNUM ae5d54b2
Dec 20 14:42:06 gateway mpd: [L-2] AUTHPROTO CHAP MSOFTv2
Dec 20 14:42:06 gateway mpd: [L-2] MP MRRU 2048
Dec 20 14:42:06 gateway mpd: [L-2] MP SHORTSEQ
Dec 20 14:42:06 gateway mpd: [L-2] ENDPOINTDISC [802.1] 00 1a 92 11 19 9e
Dec 20 14:42:08 gateway mpd: [L-2] LCP: SendConfigReq #10
Dec 20 14:42:08 gateway mpd: [L-2] ACFCOMP
Dec 20 14:42:08 gateway mpd: [L-2] PROTOCOMP
Dec 20 14:42:08 gateway mpd: [L-2] MRU 1500
Dec 20 14:42:08 gateway mpd: [L-2] MAGICNUM ae5d54b2
Dec 20 14:42:08 gateway mpd: [L-2] AUTHPROTO CHAP MSOFTv2
Dec 20 14:42:08 gateway mpd: [L-2] MP MRRU 2048
Dec 20 14:42:08 gateway mpd: [L-2] MP SHORTSEQ
Dec 20 14:42:08 gateway mpd: [L-2] ENDPOINTDISC [802.1] 00 1a 92 11 19 9e
Dec 20 14:42:10 gateway mpd: [L-2] LCP: parameter negotiation failed
Dec 20 14:42:10 gateway mpd: [L-2] LCP: state change Req-Sent --> Stopped
Dec 20 14:42:10 gateway mpd: [L-2] LCP: LayerFinish
Dec 20 14:42:10 gateway mpd: [L-2] PPTP call terminated
Dec 20 14:42:10 gateway mpd: [L-2] Link: DOWN event
Dec 20 14:42:10 gateway mpd: [L-2] LCP: Close event
Dec 20 14:42:10 gateway mpd: [L-2] LCP: state change Stopped --> Closed
Dec 20 14:42:10 gateway mpd: [L-2] LCP: Down event
Dec 20 14:42:10 gateway mpd: [L-2] LCP: state change Closed --> Initial
Dec 20 14:42:10 gateway mpd: [L-2] Link: SHUTDOWN event
Dec 20 14:42:10 gateway mpd: [L-2] Link: Shutdown
Клиент вывалился с 619 ошибкой. Вывод Tcpdump
gateway# tcpdump -i ng0 | grep GREv1
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ng0, link-type NULL (BSD loopback), capture size 96 bytes
14:43:34.676231 IP тут мой внешний ИП > ИП шлюза через который выхожу в интернет: GREv1, call 7422, seq 0, length 54: LCP, Conf-Request (0x01), id 1, length 40
14:43:34.709944 IP 192.168.0.160 > IP тут мой внешний ИП: GREv1, call 35833, seq 0, length 37: LCP, Conf-Request (0x01), id 0, length 23
14:43:52.801940 IP IP тут мой внешний ИП > 6ИП шлюза через который выхожу в интернет: GREv1, call 7422, seq 9, length 54: LCP, Conf-Request (0x01), id 10, length 40
Все делалось на открытом Firewallе. Подскажите пожалуйста в какую сторону копать. Gre вроде как ходит, он не где не заблокирован. Заранее спасибо.