A拠点がPPPoEの固定IP環境、B拠点がCGNATの動的環境。
B拠点(動的側)
実行前
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
administrator password encrypted * login user user * user attribute administrator=off connection=off user attribute user connection=serial,telnet,remote,ssh,sftp,http gui-page=dashboard,lan-map,config login-timer=21474000 ip route default gateway dhcp lan2 ip lan1 address 192.168.12.1/24 ip lan2 address dhcp ip lan2 nat descriptor 1 nat descriptor type 1 masquerade nat descriptor address outer 1 primary nat descriptor address inner 1 auto telnetd service off telnetd host lan dhcp service server dhcp server rfc2131 compliant except remain-silent dhcp scope 1 192.168.12.2-192.168.12.254/24 dns server dhcp lan2 sshd service off statistics traffic on |
IPsecに関する設定
GUI>簡単設定>VPN>拠点間接続>新規>IPSec
次へ
●ネットワーク環境:
接続先のみ固定のグローバルアドレスまたはネットボランチDNSホスト名を持っている
●自分側の設定
・設定名:任意
・自分側のID:test-branch(管理しやすい文字列)
●接続先の情報
・接続先のホスト名またはIPアドレス:A拠点のIPアドレス
●接続先と合わせる設定
・認証鍵:任意(大小英数字で20文字程度)
・認証アルゴリズム:HMAC-SHA(初期値そのまま)
・暗号アルゴリズム:AES-CBC(初期値そのまま)
次へ
経路に関する設定
・接続先のLAN側アドレス
192.168.1.0/255.255.255.0
次へ
実行後
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
administrator password encrypted * login user user * user attribute administrator=off connection=off user attribute user connection=serial,telnet,remote,ssh,sftp,http gui-page=dashboard,lan-map,config login-timer=21474000 ip route default gateway dhcp lan2 ip route 192.168.1.0/24 gateway tunnel 1 ip lan1 address 192.168.12.1/24 ip lan2 address dhcp ip lan2 nat descriptor 1 tunnel select 1 ipsec tunnel 1 ipsec sa policy 1 1 esp aes-cbc sha-hmac ipsec ike keepalive log 1 off ipsec ike keepalive use 1 on heartbeat 10 6 ipsec ike local address 1 192.168.12.1 ipsec ike local name 1 test-branch key-id ipsec ike nat-traversal 1 on ipsec ike pre-shared-key 1 text xxx ipsec ike remote address 1 xxx.xxx.xxx.xxx ip tunnel tcp mss limit auto tunnel enable 1 ip filter 101099 pass * 192.168.12.1 udp * 500 ip filter 101100 pass * 192.168.12.1 esp ip filter 101101 pass * 192.168.12.1 udp * 4500 nat descriptor type 1 masquerade nat descriptor address outer 1 primary nat descriptor address inner 1 auto nat descriptor masquerade static 1 1 192.168.12.1 udp 500 nat descriptor masquerade static 1 2 192.168.12.1 esp nat descriptor masquerade static 1 3 192.168.12.1 udp 4500 ipsec auto refresh on telnetd service off telnetd host lan dhcp service server dhcp server rfc2131 compliant except remain-silent dhcp scope 1 192.168.12.2-192.168.12.254/24 dns server dhcp lan2 sshd service off statistics traffic on |

A拠点(固定IP側)
IPsecに関する設定
GUI>簡単設定>VPN>拠点間接続>新規>IPSec
次へ
●ネットワーク環境:
自分側のみ固定のグローバルアドレスまたはネットボランチDNSホスト名を持っている
●自分側の設定
・設定名:任意
●接続先の情報
・接続先のID:test-branch(管理しやすい文字列)
●接続先と合わせる設定
・認証鍵:任意(大小英数字で20文字程度)
・認証アルゴリズム:HMAC-SHA(初期値そのまま)
・暗号アルゴリズム:AES-CBC(初期値そのまま)
次へ
経路に関する設定
経路を設定しない
次へ