[index] AT-AR4000S-Cloud リファレンスマニュアル 5.5.4
ISP接続用ユーザー名 | user@isp |
ISP接続用パスワード | isppasswd |
PPPoEサービス名 | 指定なし |
使用できるアドレス | 10.0.0.0/29(10.0.0.0~10.0.0.7) |
接続形態 | LAN型(アドレス8個固定) |
WAN側物理インターフェース | eth1 |
WAN側(ppp0)IPアドレス | Unnumbered |
DMZ側(eth2)IPアドレス | 10.0.0.1/29 |
LAN側(eth0)IPアドレス | 192.168.10.1/24 |
eth0 | 192.168.10.1/24 | 管理用IPアドレス |
eth1 | 未設定 |
Note構成が異なる場合はインターフェース名などを適宜読み替えてください。
interface eth1 encapsulation ppp 0
interface ppp0 keepalive ppp ipcp ip-override ppp username user@isp ppp password isppasswd ip unnumbered eth2 ip tcp adjust-mss pmtu
interface eth2 ip address 10.0.0.1/29
interface eth0 ip address 192.168.10.1/24
zone private network lan ip subnet 192.168.10.0/24
zone public network wan ip subnet 0.0.0.0/0 interface ppp0 host ppp0 ip address 10.0.0.1
zone dmz network servernet ip subnet 10.0.0.0/29 host dns ip address 10.0.0.4 host smtp ip address 10.0.0.3 host web ip address 10.0.0.2
application dns_tcp protocol tcp sport any dport 53
firewall rule 10 permit any from private to private rule 20 permit any from private to public rule 30 permit any from private to dmz rule 40 permit any from dmz to dmz rule 50 permit any from dmz to public rule 60 permit http from public to dmz.servernet.web rule 70 permit smtp from public to dmz.servernet.smtp rule 80 permit dns from public to dmz.servernet.dns rule 90 permit dns_tcp from public to dmz.servernet.dns protect
nat rule 10 masq any from private to public with src public.wan.ppp0 rule 20 portfwd http from public with dst dmz.servernet.web rule 30 portfwd smtp from public with dst dmz.servernet.smtp rule 40 portfwd dns from public with dst dmz.servernet.dns rule 50 portfwd dns_tcp from public with dst dmz.servernet.dns 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 ↓
! interface eth1 encapsulation ppp 0 ! interface ppp0 keepalive ppp ipcp ip-override ppp username user@isp ppp password isppasswd ip unnumbered eth2 ip tcp adjust-mss pmtu ! interface eth2 ip address 10.0.0.1/29 ! interface eth0 ip address 192.168.10.1/24 ! zone private network lan ip subnet 192.168.10.0/24 ! zone public network wan ip subnet 0.0.0.0/0 interface ppp0 host ppp0 ip address 10.0.0.1 ! zone dmz network servernet ip subnet 10.0.0.0/29 host dns ip address 10.0.0.4 host smtp ip address 10.0.0.3 host web ip address 10.0.0.2 ! application dns_tcp protocol tcp sport any dport 53 ! firewall rule 10 permit any from private to private rule 20 permit any from private to public rule 30 permit any from private to dmz rule 40 permit any from dmz to dmz rule 50 permit any from dmz to public rule 60 permit http from public to dmz.servernet.web rule 70 permit smtp from public to dmz.servernet.smtp rule 80 permit dns from public to dmz.servernet.dns rule 90 permit dns_tcp from public to dmz.servernet.dns protect ! nat rule 10 masq any from private to public with src public.wan.ppp0 rule 20 portfwd http from public with dst dmz.servernet.web rule 30 portfwd smtp from public with dst dmz.servernet.smtp rule 40 portfwd dns from public with dst dmz.servernet.dns rule 50 portfwd dns_tcp from public with dst dmz.servernet.dns enable ! ip route 0.0.0.0/0 ppp0 ! end
(C) 2022 - 2025 アライドテレシスホールディングス株式会社
PN: 613-003066 Rev.L