[index] AT-AR3050S/AT-AR4050S/AT-AR4050S-5G コマンドリファレンス 5.5.4
(センター) |
(拠点) |
|
WAN側物理インターフェース | eth1 | eth1 |
WAN側(eth1)IPアドレス | 10.0.0.1/24 | 10.0.0.2/24 |
LAN側(eth2)IPアドレス | 192.168.10.1/24 | |
LAN側(vlan1 / vlan1)IPアドレス | 192.168.20.1/24 | 192.168.100.1/24 |
DNSサーバー | 192.168.20.100 | 192.168.20.100 |
PACファイルサーバー待ち受けポート | 8080 |
no spanning-tree rstp enable
interface eth1 ip address 10.0.0.1/24 interface eth2 ip address 192.168.10.1/24 interface vlan1 ip address 192.168.20.1/24
router ospf network 10.0.0.0/24 area 0.0.0.0 network 192.168.10.0/24 area 0.0.0.0 network 192.168.20.0/24 area 0.0.0.0
end
no spanning-tree rstp enable
interface eth1 ip address 10.0.0.2/24 interface vlan1 ip address 192.168.100.1/24
zone private network internal ip subnet 10.0.0.0/24 ip subnet 192.168.20.0/24 network ospf ip subnet 224.0.0.5/32 ip subnet 224.0.0.6/32 network proxy ip subnet 192.168.10.0/24 ip subnet 192.168.11.0/24 network lan ip subnet 192.168.100.0/24 interface vlan1 host vlan1 ip address 192.168.100.1
zone public network wan ip subnet 0.0.0.0/0 interface eth1
application proxy protocol tcp dport 3128
firewall rule 10 permit any from private.internal to private.internal rule 20 permit any from private.internal to private.ospf rule 30 permit proxy from private.lan to private.proxy rule 40 permit http from private.lan to URL_Offload.include_entries rule 50 permit https from private.lan to URL_Offload.include_entries rule 60 permit any from private.lan to private.lan.vlan1 rule 70 deny http from private.lan to public.wan rule 80 deny https from private.lan to public.wan rule 90 permit any from private to public.wan protect
service url-offload url-offload endpoint-source WORLDWIDE type office365 url https://endpoints.office.com/endpoints/worldwide update-interval minutes 30 filter-endpoint include key required boolean true filter-entry exclude type ipv6 filter-entry exclude type url pac-file proxy-address 192.168.10.100:3128 pac-file http-server port 8080
ip name-server 192.168.20.100
ip dns forwarding
ip dhcp option 252 name wpad ascii
ip dhcp pool vlan1 network 192.168.100.0 255.255.255.0 range 192.168.100.10 192.168.100.200 dns-server 192.168.100.1 default-router 192.168.100.1 option wpad http://192.168.100.1:8080/wpad.dat
service dhcp-server
router ospf network 10.0.0.0/24 area 0.0.0.0 network 192.168.100.0/24 area 0.0.0.0
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 ↓
! no spanning-tree rstp enable ! interface eth1 ip address 10.0.0.1/24 interface eth2 ip address 192.168.10.1/24 interface vlan1 ip address 192.168.20.1/24 ! router ospf network 10.0.0.0/24 area 0.0.0.0 network 192.168.10.0/24 area 0.0.0.0 network 192.168.20.0/24 area 0.0.0.0 ! end
! no spanning-tree rstp enable ! interface eth1 ip address 10.0.0.2/24 interface vlan1 ip address 192.168.100.1/24 ! zone private network internal ip subnet 10.0.0.0/24 ip subnet 192.168.20.0/24 network ospf ip subnet 224.0.0.5/32 ip subnet 224.0.0.6/32 network proxy ip subnet 192.168.10.0/24 ip subnet 192.168.11.0/24 network lan ip subnet 192.168.100.0/24 interface vlan1 host vlan1 ip address 192.168.100.1 ! zone public network wan ip subnet 0.0.0.0/0 interface eth1 ! application proxy protocol tcp dport 3128 ! firewall rule 10 permit any from private.internal to private.internal rule 20 permit any from private.internal to private.ospf rule 30 permit proxy from private.lan to private.proxy rule 40 permit http from private.lan to URL_Offload.include_entries rule 50 permit https from private.lan to URL_Offload.include_entries rule 60 permit any from private.lan to private.lan.vlan1 rule 70 deny http from private.lan to public.wan rule 80 deny https from private.lan to public.wan rule 90 permit any from private to public.wan protect ! service url-offload url-offload endpoint-source WORLDWIDE type office365 url https://endpoints.office.com/endpoints/worldwide update-interval minutes 30 filter-endpoint include key required boolean true filter-entry exclude type ipv6 filter-entry exclude type url pac-file proxy-address 192.168.10.100:3128 pac-file http-server port 8080 ! ip name-server 192.168.20.100 ! ip dns forwarding ! ip dhcp option 252 name wpad ascii ! ip dhcp pool vlan1 network 192.168.100.0 255.255.255.0 range 192.168.100.10 192.168.100.200 dns-server 192.168.100.1 default-router 192.168.100.1 option wpad http://192.168.100.1:8080/wpad.dat ! service dhcp-server ! router ospf network 10.0.0.0/24 area 0.0.0.0 network 192.168.100.0/24 area 0.0.0.0 ! end
(C) 2015 - 2024 アライドテレシスホールディングス株式会社
PN: 613-002107 Rev.BD