Проблема с mpd4 на freeBSD 6.1
Запускаю mpd4 (самый свежий из портов), связь устанавливается, но если начинаю пинговать vpn сервер, то в логах появляются ошибки и хост не отвечает на пинги. Если я устанавливаю это же соединение под виндой, то хост пингуется без проблем.[vpn] setting interface ng0 MTU to 1456 bytes
[vpn] LCP: rec'd Protocol Reject #2 link 0 (Opened)
[vpn] LCP: protocol 0x93d9 was rejected
[vpn] LCP: rec'd Protocol Reject #2 link 0 (Opened)
[vpn] LCP: protocol 0x09bf was rejectedmpd.conf:
default:
load vpnvpn:
new -i ng0 vpn vpn
set iface disable on-demand
# set iface addrs 192.168.1.1 192.168.2.1
set iface idle 0
# disconnect the client after 8 hours
# set iface session 28800
set iface enable tcpmssfix
# set iface route 192.168.2.0/24
# set bundle disable multilink
set auth authname "myname"
set auth password "mypass"
set link yes acfcomp protocomp
# set link no pap
# set link yes chap
set link mtu 1460
# If remote machine is NT you need this..
# set link enable no-orig-auth
set link keep-alive 10 75
# set ipcp yes vjcomp
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
#
# 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 bundle enable crypt-reqd
set ccp yes mpp-stateless
openmpd.link
vpn:
set link type pptp
# set pptp self 1.2.3.4
set pptp peer myISP
set pptp enable originate
set pptp disable incoming
set pptp disable delayed-ack
set pptp disable windowing
mpd.conf:default:
load vpnvpn:
new -i ng0 vpn vpn
set iface disable on-demand
# set iface addrs 192.168.1.1 192.168.2.1
set iface idle 0
# disconnect the client after 8 hours
set iface session 28800
set iface enable tcpmssfix
# set iface route 192.168.2.0/24
set bundle disable multilink
set auth authname "myname"
set auth password "mypass"
set link yes acfcomp protocomp
# set link no pap
# set link yes chap
set link accept chap
set link mtu 1460
# If remote machine is NT you need this..
set link enable no-orig-auth
set link keep-alive 10 75
set ipcp yes vjcomp
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
#
# 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 bundle enable crypt-reqd
set ccp yes mpp-stateless
openmpd.link
vpn:
set link type pptp
# set pptp self <айпи компа>
set pptp peer <айпи сервака>
set pptp enable originate
set pptp disable incoming
set pptp disable delayed-ack
set pptp disable windowingесли не поможет - поставь мпд-3 (который просто MPD)
и ещё попробуй после запуска MPD выполнить
route delete 0.0.0.0
route delete default
route add 0.0.0.0 <айпи, КОТОРЫЙ ПРИСВОИЛ MPD> (например у меня локальный 10.0.1.8), а когда врубаю инет - становится 192.168.1.8
route add default