# # インターネット接続回線の冗長化(フレキシブルLAN/WANポート)+ インターネットブレイクアウト(FQDNフィルター) # # # RTX1300 (コマンド設定) # # # ゲートウェイの設定 # ip route default gateway pp 2 filter 500011 500012 500013 500014 500015 500016 500017 500018 hide gateway pp 1 hide gateway pp 2 weight 0 # # フレキシブルLAN/WANポートの設定 # lan flexible-port lan1=3-10 lan2=1 lan3=2 # # LANインターフェースの設定 # (LAN1ポートを使用) # ip lan1 address 192.168.100.1/24 # # WANインターフェースの設定 # (LAN2ポートを使用) # pp select 1 description pp provider1 pp keepalive interval 30 retry-interval=30 count=12 pp always-on on pppoe use lan2 pppoe auto disconnect off pp auth accept pap chap pp auth myname (ISP1に接続するID) (ISP1に接続するパスワード) ppp lcp mru on 1454 ppp ipcp ipaddress on ppp ipcp msext on ppp ccp type none ip pp secure filter in 200003 200020 200021 200022 200023 200024 200025 200030 200032 ip pp secure filter out 200013 200020 200021 200022 200023 200024 200025 200026 200027 200099 dynamic 200080 200081 200082 200083 200084 200085 200098 200099 ip pp nat descriptor 1000 pp enable 1 # # WANインターフェースの設定 # (LAN3ポートを使用) # pp select 2 description pp provider2 pp keepalive interval 30 retry-interval=30 count=12 pp always-on on pppoe use lan3 pppoe auto disconnect off pp auth accept pap chap pp auth myname (ISP2に接続するID) (ISP2に接続するパスワード) ppp lcp mru on 1454 ppp ipcp ipaddress on ppp ipcp msext on ppp ccp type none ip pp secure filter in 201003 201020 201021 201022 201023 201024 201025 201030 201032 ip pp secure filter out 201013 201020 201021 201022 201023 201024 201025 201026 201027 201099 dynamic 201080 201081 201082 201083 201084 201085 201098 201099 ip pp nat descriptor 1100 pp enable 2 # # フィルターの設定 # ip filter 200003 reject 192.168.100.0/24 * * * * ip filter 200013 reject * 192.168.100.0/24 * * * ip filter 200020 reject * * udp,tcp 135 * ip filter 200021 reject * * udp,tcp * 135 ip filter 200022 reject * * udp,tcp netbios_ns-netbios_ssn * ip filter 200023 reject * * udp,tcp * netbios_ns-netbios_ssn ip filter 200024 reject * * udp,tcp 445 * ip filter 200025 reject * * udp,tcp * 445 ip filter 200026 restrict * * tcpfin * www,21,nntp ip filter 200027 restrict * * tcprst * www,21,nntp ip filter 200030 pass * 192.168.100.0/24 icmp * * ip filter 200032 pass * 192.168.100.0/24 tcp * ident ip filter 200099 pass * * * * * ip filter 201003 reject 192.168.100.0/24 * * * * ip filter 201013 reject * 192.168.100.0/24 * * * ip filter 201020 reject * * udp,tcp 135 * ip filter 201021 reject * * udp,tcp * 135 ip filter 201022 reject * * udp,tcp netbios_ns-netbios_ssn * ip filter 201023 reject * * udp,tcp * netbios_ns-netbios_ssn ip filter 201024 reject * * udp,tcp 445 * ip filter 201025 reject * * udp,tcp * 445 ip filter 201026 restrict * * tcpfin * www,21,nntp ip filter 201027 restrict * * tcprst * www,21,nntp ip filter 201030 pass * 192.168.100.0/24 icmp * * ip filter 201032 pass * 192.168.100.0/24 tcp * ident ip filter 201099 pass * * * * * ip filter 500011 pass * update.microsoft.com,*.update.microsoft.com * * * ip filter 500012 pass * download.windowsupdate.com,*.download.windowsupdate.com * * * ip filter 500013 pass * download.microsoft.com,*.download.microsoft.com * * * ip filter 500014 pass * windowsupdate.com,*.windowsupdate.com * * * ip filter 500015 pass * ntservicepack.microsoft.com * * * ip filter 500016 pass * login.live.com * * * ip filter 500017 pass * mp.microsoft.com,*.mp.microsoft.com * * * ip filter 500018 pass * *.do.dsp.mp.microsoft.com,*.dl.delivery.mp.microsoft.com,*.emdl.ws.microsoft.com * * * ip filter dynamic 200080 * * ftp ip filter dynamic 200081 * * domain ip filter dynamic 200082 * * www ip filter dynamic 200083 * * smtp ip filter dynamic 200084 * * pop3 ip filter dynamic 200085 * * submission ip filter dynamic 200098 * * tcp ip filter dynamic 200099 * * udp ip filter dynamic 201080 * * ftp ip filter dynamic 201081 * * domain ip filter dynamic 201082 * * www ip filter dynamic 201083 * * smtp ip filter dynamic 201084 * * pop3 ip filter dynamic 201085 * * submission ip filter dynamic 201098 * * tcp ip filter dynamic 201099 * * udp # # NATの設定 # nat descriptor type 1000 masquerade nat descriptor type 1100 masquerade # # DHCPの設定 # dhcp service server dhcp server rfc2131 compliant except remain-silent dhcp scope 1 192.168.100.2-192.168.100.191/24 # # DNSの設定 # dns host lan1 dns server pp 1 dns server select 500001 pp 1 any . restrict pp 1 dns server select 500002 pp 2 any . restrict pp 2 dns private address spoof on