Приветсвую всех,
free bsd 7
pptpclient 1.7
хочу поднятоь тунель
vpn:
set device "!pptp 195.189.134.134 --nolaunchpppd"
disable acfcomp
disable protocomp
set mtu max 1492
disable lqr
disable pred1 deflate deflate24 protocomp acfcomp shortseq vj
deny pred1 deflate deflate24 protocomp acfcomp shortseq vj
disable mppe
set timeout 0
set openmode passive
delete ALL
add default HISADDR
set timeout 0
alias enable yes
nat enable yes
set authname andrew
set authkey andrew
набираю
file# /usr/local/sbin/pptp 195.189.134.134 vpn
/bin/ip: not found
/bin/ip: not found
Loading /lib/libalias_cuseeme.so
Loading /lib/libalias_ftp.so
Loading /lib/libalias_irc.so
Loading /lib/libalias_nbt.so
Loading /lib/libalias_pptp.so
Loading /lib/libalias_skinny.so
Loading /lib/libalias_smedia.so
Вот то что в логи оседаетFeb 17 14:30:23 file ppp[13722]: Phase: Using interface: tun1
Feb 17 14:30:23 file ppp[13722]: Phase: deflink: Created in closed state
Feb 17 14:30:23 file ppp[13722]: tun1: Command: default: set dial
Feb 17 14:30:23 file ppp[13722]: tun1: Command: default: set login
Feb 17 14:30:23 file ppp[13722]: tun1: Command: default: set mru 1492
Feb 17 14:30:23 file ppp[13722]: tun1: Command: default: set mtu 1492
Feb 17 14:30:23 file ppp[13722]: tun1: Command: default: set speed sync
Feb 17 14:30:23 file ppp[13722]: tun1: Command: default: disable ipv6cp
Feb 17 14:30:23 file ppp[13722]: tun1: Command: vpn: set device !pptp 195.189.134.134 --nolaunchpppd
Feb 17 14:30:23 file ppp[13722]: tun1: Command: vpn: disable acfcomp
Feb 17 14:30:23 file ppp[13722]: tun1: Command: vpn: disable protocomp
Feb 17 14:30:23 file ppp[13722]: tun1: Command: vpn: set mtu max 1492
Feb 17 14:30:23 file ppp[13722]: tun1: Command: vpn: disable lqr
Feb 17 14:30:23 file ppp[13722]: tun1: Command: vpn: disable pred1 deflate deflate24 protocomp acfcomp shortseq vj
Feb 17 14:30:23 file ppp[13722]: tun1: Command: vpn: deny pred1 deflate deflate24 protocomp acfcomp shortseq vj
Feb 17 14:30:23 file ppp[13722]: tun1: Command: vpn: disable mppe
Feb 17 14:30:23 file ppp[13722]: tun1: Command: vpn: set timeout 0
Feb 17 14:30:23 file ppp[13722]: tun1: Command: vpn: set openmode passive
Feb 17 14:30:23 file ppp[13722]: tun1: Command: vpn: delete ALL
Feb 17 14:30:23 file ppp[13722]: tun1: Command: vpn: add default HISADDR
Feb 17 14:30:23 file ppp[13722]: tun1: Command: vpn: set timeout 0
Feb 17 14:30:23 file ppp[13722]: tun1: Command: vpn: alias enable yes
Feb 17 14:30:23 file ppp[13722]: tun1: Warning: The alias command is deprecated
Feb 17 14:30:23 file ppp[13722]: tun1: Command: vpn: nat enable yes
Feb 17 14:30:23 file ppp[13722]: tun1: Command: vpn: set authname andrew
Feb 17 14:30:23 file ppp[13722]: tun1: Command: vpn: set authkey ********
Feb 17 14:30:23 file ppp[13722]: tun1: Phase: PPP Started (direct mode).
Feb 17 14:30:23 file ppp[13722]: tun1: Phase: bundle: Establish
Feb 17 14:30:23 file ppp[13722]: tun1: Phase: deflink: closed -> opening
Feb 17 14:30:23 file ppp[13722]: tun1: Phase: deflink: Connected!
Feb 17 14:30:23 file ppp[13722]: tun1: Phase: deflink: opening -> carrier
Feb 17 14:30:23 file ppp[13722]: tun1: Phase: deflink: carrier -> lcp
Feb 17 14:30:42 file ppp[13722]: tun1: Phase: Signal 15, terminate.
Feb 17 14:30:42 file ppp[13722]: tun1: Phase: Signal 15, terminate.
Feb 17 14:30:47 file ppp[13722]: tun1: Phase: Caught signal 2, abort connection(s)
Feb 17 14:30:47 file ppp[13722]: tun1: Phase: deflink: Disconnected!
Feb 17 14:30:47 file ppp[13722]: tun1: Phase: deflink: Connect time: 24 secs: 682 octets in, 0 octets out
Feb 17 14:30:47 file ppp[13722]: tun1: Phase: deflink: 10 packets in, 0 packets out
Feb 17 14:30:47 file ppp[13722]: tun1: Phase: total 28 bytes/sec, peak 54 bytes/sec on Tue Feb 17 14:30:29 2009
Feb 17 14:30:47 file ppp[13722]: tun1: Phase: deflink: lcp -> closed
Feb 17 14:30:47 file ppp[13722]: tun1: Phase: bundle: Dead
Feb 17 14:30:47 file ppp[13722]: tun1: Phase: PPP Terminated (normal).помогите разобраться ...
>помогите разобраться ...не знаю - я линуксоид, но у меня такое впечатление что с методами авторизаци/шифрации твой клиент с с сервером договориться не может. ибо видимо стоит прова спросить что он там о твоего клиента хочет или методом тыка играть с pap/eap/chap/mschap/mschap-v2/mppe/mppe-40/mppe-128 - даже не знаю как соответствующие опции в твоем ППТП-клиенте зовуться.
PS компрессию я кстати бы на этапе тестирования тоже никакую не запрещал - кто там знает что сервер хочет. убери:
disable pred1 deflate deflate24 protocomp acfcomp shortseq vj
deny pred1 deflate deflate24 protocomp acfcomp shortseq vjЗЫЫ и это бы отрубил на время теста теста:
alias enable yes
nat enable yes