начну заново, а то вдруг глаз замылился.
$ route -n
Таблица маршутизации ядра протокола IP
Destination Gateway Genmask Flags Metric Ref Use Iface
217.118.84.213 10.82.0.1 255.255.255.255 UGH 0 0 0 eth0
217.118.84.249 10.82.0.1 255.255.255.255 UGH 0 0 0 eth0
78.107.235.4 10.82.0.1 255.255.255.252 UG 0 0 0 eth0
85.21.72.80 10.82.0.1 255.255.255.240 UG 0 0 0 eth0
78.107.51.0 10.82.0.1 255.255.255.240 UG 0 0 0 eth0
83.102.231.32 10.82.0.1 255.255.255.240 UG 0 0 0 eth0
85.21.108.16 10.82.0.1 255.255.255.240 UG 0 0 0 eth0
85.21.138.208 10.82.0.1 255.255.255.240 UG 0 0 0 eth0
83.102.146.96 10.82.0.1 255.255.255.224 UG 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
233.33.210.0 10.82.7.135 255.255.255.0 UG 0 0 0 eth0
85.21.90.0 10.82.0.1 255.255.255.0 UG 0 0 0 eth0
78.107.23.0 10.82.0.1 255.255.255.0 UG 0 0 0 eth0
85.21.79.0 10.82.0.1 255.255.255.0 UG 0 0 0 eth0
78.107.196.0 10.82.0.1 255.255.252.0 UG 0 0 0 eth0
10.82.0.0 0.0.0.0 255.255.248.0 U 0 0 0 eth0
10.0.0.0 10.82.0.1 255.0.0.0 UG 0 0 0 eth0
0.0.0.0 10.82.0.1 0.0.0.0 UG 0 0 0 eth0
nes@server:~$ host l2tp.corbina.net
l2tp.corbina.net has address 85.21.0.239
nes@server:~$ host tp.corbina.net
tp.corbina.net has address 85.21.0.239
cat /etc/resolv.conf
nameserver 85.21.192.3
nameserver 213.234.192.8
cat /etc/xl2tpd/xl2tpd.conf
[global]
access control = yes
[lac corbina]
lns = 85.21.0.239
redial = yes
redial timeout = 1
require chap = yes
require authentication = no
name = username
ppp debug = yes
pppoptfile = /etc/ppp/options.xl2tpd
require pap = no
autodial = yes
cat /etc/ppp/options.xl2tpd
unit 0
name username
remotename l2tp
ipparam corbina
connect /bin/true
mru 1400
mtu 1400
nodeflate
nobsdcomp
persist
maxfail 0
nopcomp
noaccomp
defaultroute
replacedefaultroute
sudo cat /etc/ppp/chap-secrets
cat /etc/init.d/xl2tpd
start)
echo -n "Starting $DESC: "
test -d ${XL2TPD_RUN_DIR:-/var/run/xl2tpd} || mkdir -p ${XL2TPD_RUN_DIR:-/var/run/xl2tpd}
start-stop-daemon --start --quiet --pidfile $PIDFILE \
--exec $DAEMON -- $DAEMON_OPTS
echo "$NAME."
route add -host l2tp.corbina.ru gw 10.82.0.1
route add -host 85.21.192.3 gw 10.82.0.1
route add -host 213.234.192.8 gw 10.82.0.1
nes@server:~$ tail -n 50 /var/log/messages
Jun 17 15:35:34 server pppd[3269]: Connect: ppp0 <--> /dev/pts/1
Jun 17 15:35:35 server pppd[3269]: CHAP authentication succeeded
Jun 17 15:35:35 server pppd[3269]: CHAP authentication succeeded
Jun 17 15:35:35 server pppd[3269]: replacing old default route to eth0 [10.82.0.1]
Jun 17 15:35:35 server pppd[3269]: local IP address 78.107.xx.xx
Jun 17 15:35:35 server pppd[3269]: remote IP address 85.21.0.239
Jun 17 15:35:45 server kernel: [ 1187.231135] martian source 10.82.7.135 from 85.21.0.239, on dev eth0
Jun 17 15:35:45 server kernel: [ 1187.231139] ll header: 00:19:5b:e2:90:7d:00:15:e9:8f:eb:02:08:00
Jun 17 15:35:55 server kernel: [ 1197.247574] martian source 10.82.7.135 from 85.21.0.239, on dev eth0
Jun 17 15:35:55 server kernel: [ 1197.247578] ll header: 00:19:5b:e2:90:7d:00:15:e9:8f:eb:02:08:00
Jun 17 15:36:00 server kernel: [ 1202.104275] martian source 10.82.7.135 from 85.21.0.239, on dev eth0
Jun 17 15:36:00 server kernel: [ 1202.104279] ll header: 00:19:5b:e2:90:7d:00:15:e9:8f:eb:02:08:00
Jun 17 15:36:05 server kernel: [ 1207.264035] martian source 10.82.7.135 from 85.21.0.239, on dev eth0
Jun 17 15:36:05 server kernel: [ 1207.264040] ll header: 00:19:5b:e2:90:7d:00:15:e9:8f:eb:02:08:00
Jun 17 15:36:14 server kernel: [ 1215.422412] martian source 10.82.7.135 from 85.21.0.239, on dev eth0
Jun 17 15:36:14 server kernel: [ 1215.422416] ll header: 00:19:5b:e2:90:7d:00:15:e9:8f:eb:02:08:00
Jun 17 15:36:15 server kernel: [ 1217.280363] martian source 10.82.7.135 from 85.21.0.239, on dev eth0
Jun 17 15:36:15 server kernel: [ 1217.280367] ll header: 00:19:5b:e2:90:7d:00:15:e9:8f:eb:02:08:00
Jun 17 15:36:17 server kernel: [ 1218.415437] martian source 10.82.7.135 from 85.21.0.239, on dev eth0
Jun 17 15:36:17 server kernel: [ 1218.415441] ll header: 00:19:5b:e2:90:7d:00:15:e9:8f:eb:02:08:00
Jun 17 15:36:23 server kernel: [ 1224.415174] martian source 10.82.7.135 from 85.21.0.239, on dev eth0
Jun 17 15:36:23 server kernel: [ 1224.415178] ll header: 00:19:5b:e2:90:7d:00:15:e9:8f:eb:02:08:00
Jun 17 15:36:25 server kernel: [ 1227.296836] martian source 10.82.7.135 from 85.21.0.239, on dev eth0
Jun 17 15:36:25 server kernel: [ 1227.296840] ll header: 00:19:5b:e2:90:7d:00:15:e9:8f:eb:02:08:00
Jun 17 15:36:35 server kernel: [ 1237.315708] martian source 10.82.7.135 from 85.21.0.239, on dev eth0
Jun 17 15:36:35 server kernel: [ 1237.315713] ll header: 00:19:5b:e2:90:7d:00:15:e9:8f:eb:02:08:00
Jun 17 15:36:35 server kernel: [ 1237.325203] martian source 10.82.7.135 from 85.21.0.239, on dev eth0
Jun 17 15:36:35 server kernel: [ 1237.325206] ll header: 00:19:5b:e2:90:7d:00:15:e9:8f:eb:02:08:00
Jun 17 15:36:39 server kernel: [ 1241.323606] martian source 10.82.7.135 from 85.21.0.239, on dev eth0
Jun 17 15:36:39 server kernel: [ 1241.323610] ll header: 00:19:5b:e2:90:7d:00:15:e9:8f:eb:02:08:00
Jun 17 15:36:47 server kernel: [ 1249.324006] martian source 10.82.7.135 from 85.21.0.239, on dev eth0
Jun 17 15:36:47 server kernel: [ 1249.324006] ll header: 00:19:5b:e2:90:7d:00:15:e9:8f:eb:02:08:00
Jun 17 15:36:55 server kernel: [ 1257.328830] martian source 10.82.7.135 from 85.21.0.239, on dev eth0
Jun 17 15:36:55 server kernel: [ 1257.328834] ll header: 00:19:5b:e2:90:7d:00:15:e9:8f:eb:02:08:00
Jun 17 15:37:04 server kernel: [ 1266.324614] martian source 10.82.7.135 from 85.21.0.239, on dev eth0
Jun 17 15:37:04 server kernel: [ 1266.324619] ll header: 00:19:5b:e2:90:7d:00:15:e9:8f:eb:02:08:00
Jun 17 15:37:12 server kernel: [ 1274.324942] martian source 10.82.7.135 from 85.21.0.239, on dev eth0
Jun 17 15:37:12 server kernel: [ 1274.324946] ll header: 00:19:5b:e2:90:7d:00:15:e9:8f:eb:02:08:00
Jun 17 15:37:16 server pppd[3269]: Hangup (SIGHUP)
Jun 17 15:37:16 server pppd[3269]: Modem hangup
Jun 17 15:37:16 server pppd[3269]: Connect time 1.7 minutes.
Jun 17 15:37:16 server pppd[3269]: Sent 1926338392 bytes, received 0 bytes.
Jun 17 15:37:16 server pppd[3269]: restoring old default route to eth0 [10.82.0.1]
Jun 17 15:37:16 server pppd[3269]: Connection terminated.
Jun 17 15:35:30 server xl2tpd[2218]: Calling on tunnel 36404
Jun 17 15:35:33 server xl2tpd[2218]: Unable to deliver closing message for tunnel 36404. Destroying anyway.
Jun 17 15:35:34 server xl2tpd[2218]: Connecting to host 85.21.0.239, port 1701
Jun 17 15:35:34 server xl2tpd[2218]: Connection established to 85.21.0.239, 1701. Local: 51258, Remote: 15537 (ref=0/0).
Jun 17 15:35:34 server xl2tpd[2218]: Calling on tunnel 51258
Jun 17 15:35:34 server xl2tpd[2218]: Call established with 85.21.0.239, Local: 25157, Remote: 36469, Serial: 21 (ref=0/0)
Jun 17 15:35:34 server xl2tpd[2218]: start_pppd: I'm running:
Jun 17 15:35:34 server xl2tpd[2218]: "/usr/sbin/pppd"
Jun 17 15:35:34 server xl2tpd[2218]: "passive"
Jun 17 15:35:34 server xl2tpd[2218]: "nodetach"
Jun 17 15:35:34 server xl2tpd[2218]: ":"
Jun 17 15:35:34 server xl2tpd[2218]: "name"
Jun 17 15:35:34 server xl2tpd[2218]: "username"
Jun 17 15:35:34 server xl2tpd[2218]: "debug"
Jun 17 15:35:34 server xl2tpd[2218]: "file"
Jun 17 15:35:34 server xl2tpd[2218]: "/etc/ppp/options.xl2tpd"
Jun 17 15:35:34 server xl2tpd[2218]: "/dev/pts/1"
Jun 17 15:37:16 server xl2tpd[2218]: death_handler: Fatal signal 15 received