名古屋の設定
ip route default gateway pp 1
ip route 192.168.0.0/24 gateway tunnel 1
ip route 192.168.2.0/24 gateway tunnel 2
ip lan1 address 192.168.1.1/24
ip lan2 address 118.xxx.xxx.xxx/24
pp select 1
pp always-on on
pppoe use lan2
pp auth accept pap chap
pp auth myname hoge@hoge fuga
ppp lcp mru on 1438
ppp ipcp msext on
ip pp address 118.xxx.xxx.xxx/32
ip pp mtu 1438
ip pp nat descriptor 1
pp enable 1
tunnel select 1
ipsec tunnel 101
ipsec sa policy 101 1 esp 3des-cbc md5-hmac
ipsec ike keepalive use 1 on
ipsec ike local address 1 192.168.1.1
ipsec ike pre-shared-key 1 text hogehoge
ipsec ike remote address 1 118.xxx.xxx.yyy
tunnel enable 1
nat descriptor type 1 masquerade
nat descriptor address outer 1 118.xxx.xxx.xxx
nat descriptor masquerade static 1 1 192.168.1.1 udp 500
nat descriptor masquerade static 1 2 192.168.1.1 esp
ipsec auto refresh on
dns server 202.224.32.1
dns private address spoof on