[index] AT-AR4000S-Cloud リファレンスマニュアル 5.5.4
ISP接続用ユーザー名 | user@ispA |
ISP接続用パスワード | isppasswdA |
PPPoEサービス名 | 指定なし |
WAN側IPアドレス | 172.16.0.1/32 |
br1 | eth1 tunnel0 |
WAN側物理インターフェース | eth2 |
WAN側(ppp0)IPアドレス | 172.16.0.1/32 |
LAN側(br1)IPアドレス | 192.168.1.1/24 |
拠点間VPNゲートウェイ(NIFCLOUD) | 172.17.0.1(実際のIPアドレス確認方法) |
L2TPv3自装置ID | 1 |
L2TPv3対向装置ID | 2 |
L2TPv3ポート | 1702 |
IKEバージョン | IKEv2 |
アルゴリズム | AES128 / SHA1 / Group2 |
SA有効期間 | 8時間 |
アルゴリズム | AES128 / SHA1 |
SA有効期間 | 1時間 |
eth0 | 192.168.10.1/24 | 管理用IPアドレス |
eth1 | 未設定 | |
eth2 | 未設定 |
Note構成が異なる場合はインターフェース名などを適宜読み替えてください。
interface eth2 encapsulation ppp 0
interface ppp0 keepalive ppp username user@ispA ppp password isppasswdA ip address 172.16.0.1/32 ip tcp adjust-mss 1414
bridge 1
interface eth1 bridge-group 1
interface br1 ip address 192.168.1.1/24
crypto isakmp key secret address 172.17.0.1
crypto ipsec profile nifcloud-ipsec lifetime seconds 3600 transform 1 protocol esp integrity SHA1 encryption AES128
crypto isakmp profile nifcloud-isakmp version 2 lifetime 28800 dpd-interval 15 dpd-timeout 90 transform 1 integrity SHA1 encryption AES128 group 2
crypto isakmp peer address 172.17.0.1 profile nifcloud-isakmp
l2tp unmanaged port 1702
interface tunnel0 bridge-group 1 mtu 1500 tunnel source ppp0 tunnel destination 172.17.0.1 tunnel local id 1 tunnel remote id 2 tunnel protection ipsec profile nifcloud-ipsec tunnel mode l2tp v3
zone private network lan ip subnet 192.168.1.0/24 ip subnet 192.168.10.0/24
zone public network wan ip subnet 0.0.0.0/0 interface ppp0 host ppp0 ip address 172.16.0.1
application esp protocol 50
application isakmp protocol udp sport 500 dport 500
application l2tpv3 protocol udp dport 1702
application nat-t protocol udp dport 4500
firewall rule 10 permit any from public.wan.ppp0 to public.wan rule 20 permit isakmp from public.wan to public.wan.ppp0 rule 30 permit esp from public.wan to public.wan.ppp0 rule 40 permit nat-t from public.wan to public.wan.ppp0 rule 50 permit l2tpv3 from public.wan to public.wan.ppp0 rule 60 permit any from private to private rule 70 permit any from private to public protect
nat rule 10 masq any from private to public enable
ip route 0.0.0.0/0 ppp0
end
copy running-config startup-config
」の書式で実行します。awplus# copy running-config startup-config ↓ Building configuration... [OK]
awplus# write memory ↓ Building configuration... [OK]
awplus(config)# log buffered level informational facility local5 ↓
awplus# show log | include Firewall ↓
Note詳細はNIFCLOUDのドキュメントをご参照ください。
! interface eth2 encapsulation ppp 0 ! interface ppp0 keepalive ppp username user@ispA ppp password isppasswdA ip address 172.16.0.1/32 ip tcp adjust-mss 1414 ! bridge 1 ! interface eth1 bridge-group 1 ! interface br1 ip address 192.168.1.1/24 ! crypto isakmp key secret address 172.17.0.1 ! crypto ipsec profile nifcloud-ipsec lifetime seconds 3600 transform 1 protocol esp integrity SHA1 encryption AES128 ! crypto isakmp profile nifcloud-isakmp version 2 lifetime 28800 dpd-interval 15 dpd-timeout 90 transform 1 integrity SHA1 encryption AES128 group 2 ! crypto isakmp peer address 172.17.0.1 profile nifcloud-isakmp ! l2tp unmanaged port 1702 ! interface tunnel0 bridge-group 1 mtu 1500 tunnel source ppp0 tunnel destination 172.17.0.1 tunnel local id 1 tunnel remote id 2 tunnel protection ipsec profile nifcloud-ipsec tunnel mode l2tp v3 ! zone private network lan ip subnet 192.168.1.0/24 ip subnet 192.168.10.0/24 ! zone public network wan ip subnet 0.0.0.0/0 interface ppp0 host ppp0 ip address 172.16.0.1 ! application esp protocol 50 ! application isakmp protocol udp sport 500 dport 500 ! application l2tpv3 protocol udp dport 1702 ! application nat-t protocol udp dport 4500 ! firewall rule 10 permit any from public.wan.ppp0 to public.wan rule 20 permit isakmp from public.wan to public.wan.ppp0 rule 30 permit esp from public.wan to public.wan.ppp0 rule 40 permit nat-t from public.wan to public.wan.ppp0 rule 50 permit l2tpv3 from public.wan to public.wan.ppp0 rule 60 permit any from private to private rule 70 permit any from private to public protect ! nat rule 10 masq any from private to public enable ! ip route 0.0.0.0/0 ppp0 ! end
(C) 2022 - 2025 アライドテレシスホールディングス株式会社
PN: 613-003066 Rev.L