[index] AT-AR2010V コマンドリファレンス 5.4.7
ISP接続用ユーザー名 | user@isp |
ISP接続用パスワード | isppasswd |
PPPoEサービス名 | 指定なし |
WAN側IPアドレス | 動的割り当て(IPCP) |
接続形態 | 端末型 |
WAN側物理インターフェース | eth1 |
WAN側(ppp0)IPアドレス | 接続時にISPから取得 |
LAN側(eth2)IPアドレス | 192.168.10.1/24 |
interface eth1 encapsulation ppp 0
interface ppp0 ppp ipcp dns request keepalive ip address negotiated ppp username user@isp ppp password isppasswd ip tcp adjust-mss pmtu
interface eth2 ip address 192.168.10.1/24
dpi provider built-in enable
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 dynamic interface ppp0
firewall rule 10 deny facebook from private to public rule 20 deny youtube from private to public rule 30 permit any from private to private rule 40 permit any from private to public rule 50 permit any from public.wan.ppp0 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 kern msgtext Firewall ↓
awplus# show log | include Firewall ↓
! interface eth1 encapsulation ppp 0 ! interface ppp0 ppp ipcp dns request keepalive ip address negotiated ppp username user@isp ppp password isppasswd ip tcp adjust-mss pmtu ! interface eth2 ip address 192.168.10.1/24 ! dpi provider built-in enable ! 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 dynamic interface ppp0 ! firewall rule 10 deny facebook from private to public rule 20 deny youtube from private to public rule 30 permit any from private to private rule 40 permit any from private to public rule 50 permit any from public.wan.ppp0 to public protect ! nat rule 10 masq any from private to public enable ! ip route 0.0.0.0/0 ppp0 ! end
(C) 2016 - 2018 アライドテレシスホールディングス株式会社
PN: 613-002311 Rev.K