Автор: Silence_of_Damned
Дата сообщения: 24.02.2005 09:34
проблема с поднятием VPN на FreeBSD (MPD)
[more=Это дубль вопроса ]
[vpnk] CCP: Checking whether 128 bits are acceptable -> yes
[vpnk] CCP: SendConfigAck #2
MPPC
0x01000040: MPPE, 128 bit, stateless
[vpnk] CCP: state change Ack-Rcvd --> Opened
[vpnk] CCP: LayerUp
Compress using: MPPE, 128 bit, stateless
Decompress using: MPPE, 128 bit, stateless
[vpnk] setting interface ng0 MTU to 1456 bytes
[vpnk] IPCP: rec'd Configure Request #1 link 0 (Req-Sent)
COMPPROTO VJCOMP, 16 comp. channels, allow comp-cid
IPADDR 192.168.33.1
192.168.33.1 is OK
[vpnk] IPCP: SendConfigAck #1
COMPPROTO VJCOMP, 16 comp. channels, allow comp-cid
IPADDR 192.168.33.1
[vpnk] IPCP: state change Req-Sent --> Ack-Sent
[vpnk] IPCP: SendConfigReq #2
IPADDR 0.0.0.0
COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
[vpnk] IPCP: rec'd Configure Nak #2 link 0 (Ack-Sent)
IPADDR 80.237.83.228
80.237.83.228 is OK
[vpnk] IPCP: SendConfigReq #3
IPADDR 80.237.83.228
COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
[vpnk] IPCP: rec'd Configure Ack #3 link 0 (Ack-Sent)
IPADDR 80.237.83.228
COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
[vpnk] IPCP: state change Ack-Sent --> Opened
[vpnk] IPCP: LayerUp
80.237.83.228 -> 192.168.33.1
[vpnk] IFACE: Up event
[vpnk] setting interface ng0 MTU to 1456 bytes
[vpnk] exec: /sbin/ifconfig ng0 80.237.83.228 192.168.33.1 netmask 0xffffffff -link0
[vpnk] no interface to proxy arp on for 192.168.33.1
[vpnk] exec: /sbin/route add 80.237.83.228 -iface lo0
[vpnk] exec: /sbin/route add 0.0.0.0 192.168.33.1
[vpnk] IFACE: Up event
[vpnk] LCP: rec'd Protocol Reject #2 link 0 (Opened)
[vpnk] LCP: protocol 0x2145 was rejected
[vpnk] LCP: rec'd Protocol Reject #3 link 0 (Opened)
[vpnk] LCP: protocol 0x2145 was rejected
[vpnk] LCP: rec'd Protocol Reject #4 link 0 (Opened)
[vpnk] LCP: protocol 0x2145 was rejected
ng_ppp.c патчил
ядро собирал с поддержкой netgraph
таблица роутинга вроде правильная
смущает: [vpnk] exec: /sbin/route add 80.237.83.228 -iface lo0
почему не для ng0
mpd.conf mpd.links тоже вроде верные
Содержимое mpd.conf
# Default configuration is "myisp"
default:
load vpnk
vpnk:
new -i ng0 vpnk vpnk
set iface disable on-demand
set iface idle
set iface route 0.0.0.0/0
set iface enable proxy-arp
set bundle disable multilink
set bundle authname "XXX"
set bundle password "YYYYY"
set link enable no-orig-auth
set link yes acfcomp protocomp
set link no pap
set link yes chap
set link enable chap-msv2 chap-msv1
set link mtu 1460
set link keep-alive 10 75
set ipcp yes vjcomp
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
set bundle enable compression
set ccp yes mppc
set ccp no mpp-e40
set ccp no mpp-e56
set ccp yes mpp-e128
set ccp yes mpp-stateless
# set ccp enable mpp-compress
# set cpp yes mpp-s
set bundle enable crypt-reqd
open iface [/more]
Чесно говоря ситуация не из приятных... начальство стоит над душой брызгая пеной.... времени мало а сделать нужно обязательно..... буду сказочно благодарен за любую подсказку