ほぼ雑記的メモ
options IPSEC options IPSEC_FILTERTUNNEL options IPSEC_DEBUG device crypto
options IPSEC options IPSEC_ESP options IPSEC_DEBUG options IPSEC_FILTERGIF device crypto
default: load l2tp_lns l2tp_lns: create bundle static B1 set ipcp ranges 192.168.16.111/32 192.168.254.111/32 set iface route 192.168.254.0/24 set iface route 192.168.253.0/24 create link static L2 l2tp set link action bundle B1 set l2tp self *.*.147.37 set l2tp peer *.*.221.244 set link enable incoming
default: load l2tp_lns l2tp_lns: create bundle static B1 set ipcp ranges 192.168.254.111/32 192.168.16.111/32 set iface route 192.168.16.0/24 set iface route 10.1.16.0/24 create link static L2 l2tp set link action bundle B1 set link max-redial 0 set l2tp self *.*.221.244 set l2tp peer *.*.147.37 open
route add 192.168.253.0/24 192.168.16.37 route add 192.168.254.0/24 192.168.16.37
route add 192.168.16.0/24 192.168.254.244 route add 192.168.16.0/24 192.168.254.244