машина имеет два выхода в мир один из которых по l2tp, он используется как дополнительный.
пытаюсь добиться соединения
em0 - 1 выход
em1 - 2 (l2tp)маршруты по умолчанию все через em0
em1 192.168.1.1 шлюз 192.168.1.254 впн 192.168.2.1
прописан маршрут route add -host 192.168.2.1 192.168.1.254
mpd5.conf
l2tp_client:
create bundle static B1
create link static L1 l2tp
set link action bundle B1
set auth authname "*****"
set auth password "*****"
set iface enable tcpmssfix
set link max-redial "10"
set link mtu 1460
set iface route default
set link keep-alive 20 75
set l2tp peer "192.168.2.1"
set l2tp self "192.168.1.1"
open
логи:
Jan 12 23:54:03 vpn-z mpd: L2TP: Initiating control connection 0x2862f008 192.168.1.1 0 <-> 192.168.2.1 1701
Jan 12 23:54:03 vpn-z mpd: L2TP: Control connection 0x2862f008 192.168.1.1 62063 <-> 192.168.2.1 1701 connected
Jan 12 23:54:03 vpn-z mpd: [L1] L2TP: Incoming call #1690000 via control connection 0x2862f008 initiated
Jan 12 23:54:03 vpn-z mpd: [L1] L2TP: Call #1690000 connected
Jan 12 23:54:07 vpn-z mpd: [L1] L2TP: Call #1690000 terminated locally
Jan 12 23:54:11 vpn-z mpd: [L1] L2TP: Incoming call #1690001 via control connection 0x2862f008 initiated
Jan 12 23:55:11 vpn-z mpd: [L1] L2TP: call #1690001 terminated: result=2 error=6 errmsg="control connection closing"
Jan 12 23:55:11 vpn-z mpd: L2TP: Control connection 0x2862f008 terminated: 6 (expecting reply; none received)
Jan 12 23:55:15 vpn-z mpd: L2TP: Initiating control connection 0x2862f408 192.168.1.1 0 <-> 192.168.2.1 1701
Jan 12 23:55:22 vpn-z mpd: L2TP: Control connection 0x2862f008 destroyed
Jan 12 23:56:15 vpn-z mpd: L2TP: Control connection 0x2862f408 terminated: 6 (expecting reply; none received)
Jan 12 23:56:19 vpn-z mpd: L2TP: Initiating control connection 0x2862f008 192.168.1.1 0 <-> 192.168.2.1 1701
Jan 12 23:56:20 vpn-z mpd: L2TP: Control connection 0x2862f008 192.168.1.1 54985 <-> 192.168.2.1 1701 connected
Jan 12 23:56:20 vpn-z mpd: [L1] L2TP: Incoming call #1690002 via control connection 0x2862f008 initiated
Jan 12 23:56:20 vpn-z mpd: [L1] L2TP: Call #1690002 connected
Jan 12 23:56:22 vpn-z mpd: [L1] L2TP: Call #1690002 terminated locally
Jan 12 23:56:26 vpn-z mpd: L2TP: Control connection 0x2862f408 destroyed
Jan 12 23:56:32 vpn-z mpd: L2TP: Control connection 0x2862f008 terminated: 0 (no more sessions exist in this tunnel)
Jan 12 23:56:43 vpn-z mpd: L2TP: Control connection 0x2862f008 destroyed
та же ерунда, помогитеJan 15 21:37:48 vpn-z mpd: L2TP: Control connection 0x2862e808 terminated: 0 (no more sessions exist in this tunnel)
Jan 15 21:37:59 vpn-z mpd: L2TP: Control connection 0x2862e808 destroyed
Jan 15 21:45:40 vpn-z mpd: L2TP: Initiating control connection 0x2862e808 0.0.0.0 0 <-> 10.255.255.254 1701
Jan 15 21:45:40 vpn-z mpd: L2TP: Control connection 0x2862e808 10.225.224.150 64765 <-> 10.255.255.254 1701 connected
Jan 15 21:45:40 v mpd: [L1] L2TP: Incoming call #8020000 via control connection 0x2862e808 initiated
Jan 15 21:45:40 v mpd: [L1] L2TP: Call #8020000 connected
Jan 15 21:45:40 v mpd: [L1] L2TP: Call #8020000 terminated locally
Jan 15 21:45:50 v mpd: L2TP: Control connection 0x2862e808 terminated: 0 (no more sessions exist in this tunnel)
Jan 15 21:46:01 v mpd: L2TP: Control connection 0x2862e808 destroyed
Jan 16 01:45:49 v mpd: L2TP: Initiating control connection 0x28626808 0.0.0.0 0 <-> 10.255.255.254 1701
Jan 16 01:45:49 v mpd: L2TP: Control connection 0x28626808 10.225.224.150 64313 <-> 10.255.255.254 1701 connected
Jan 16 01:45:49 v mpd: [L1] L2TP: Incoming call #10000 via control connection 0x28626808 initiated
Jan 16 01:45:49 v mpd: [L1] L2TP: Call #10000 connected
Jan 16 01:45:49 v mpd: [L1] L2TP: Call #10000 terminated locally
Jan 16 01:45:59 v mpd: L2TP: Control connection 0x28626808 terminated: 0 (no more sessions exist in this tunnel)
Jan 16 01:46:10 v mpd: L2TP: Control connection 0x28626808 destroyed