Проблема с pptp, используется pptpclient-1.7.1, FreeBSD 6.2-STABLE.Лог после ppp -ddial vpn:
Jan 15 15:55:11 srv ppp[3152]: Phase: deflink: Connected!
Jan 15 15:55:11 srv ppp[3152]: Phase: deflink: opening -> dial
Jan 15 15:55:11 srv ppp[3152]: Phase: deflink: dial -> carrier
Jan 15 15:55:11 srv ppp[3152]: Phase: deflink: carrier -> login
Jan 15 15:55:11 srv ppp[3152]: Phase: deflink: login -> lcp
Jan 15 15:55:12 srv ppp[3106]: Phase: deflink: Connected!
Jan 15 15:55:12 srv ppp[3106]: Phase: deflink: opening -> dial
Jan 15 15:55:12 srv ppp[3106]: Phase: deflink: dial -> carrier
Jan 15 15:55:12 srv ppp[3106]: Phase: deflink: carrier -> login
Jan 15 15:55:12 srv ppp[3106]: Phase: deflink: login -> lcp
Jan 15 15:55:12 srv ppp[3152]: Phase: deflink: read (0): Got zero bytes
Jan 15 15:55:12 srv ppp[3152]: Phase: deflink: Disconnected!
Jan 15 15:55:12 srv ppp[3152]: Phase: deflink: lcp -> logout
Jan 15 15:55:12 srv ppp[3152]: Phase: deflink: Disconnected!
Jan 15 15:55:12 srv ppp[3152]: Phase: deflink: logout -> hangup
Jan 15 15:55:12 srv ppp[3152]: Phase: deflink: Connect time: 1 secs: 0 octets in, 61 octets out
Jan 15 15:55:12 srv ppp[3152]: Phase: deflink: 0 packets in, 7 packets out
Jan 15 15:55:12 srv ppp[3152]: Phase: total 61 bytes/sec, peak 0 bytes/sec on Thu Jan 15 15:55:11 2009
ppp.conf:
vpn:
set authname z6002
set authkey 314159
set device "!/usr/local/sbin/pptp 172.16.0.1 --nolaunchpppd"
set timeout 0
set ifaddr 0 0
# enable pap
enable chap
# enable MSChapV2
# disable chap80lm
# disable chap81
# disable chap80nt
# accept pap
accept chap
# accept chap80lm
# accept chap81
# accept chap80nt
enable mppe
enable dns