# # Windows Updateのインターネットブレイクアウト + インターネット回線を2本利用 # # # ルーター # # # ゲートウェイの設定 # ip route default gateway pp 2 filter 2000000 2000001 2000002 2000003 2000004 2000005 2000006 2000007 gateway pp 1 # # LANインターフェースの設定 # (LAN1ポートを使用) # ip lan1 address 192.168.100.1/24 # # WANインターフェースの設定1 # (LAN2ポートを使用) # pp select 1 pp always-on on pppoe use lan2 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 1020 1030 2000 ip pp secure filter out 1010 1011 1012 1013 1014 1015 3000 dynamic 100 101 102 103 104 105 106 ip pp nat descriptor 1 pp enable 1 # # WANインターフェースの設定2 # (LAN3ポートを使用) # pp select 2 pp always-on on pppoe use lan3 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 1020 1030 2000 ip pp secure filter out 1010 1011 1012 1013 1014 1015 3000 dynamic 100 101 102 103 104 105 106 ip pp nat descriptor 2 pp enable 2 # # フィルターの設定 # ip filter 1010 reject * * udp,tcp 135 * ip filter 1011 reject * * udp,tcp * 135 ip filter 1012 reject * * udp,tcp netbios_ns-netbios_ssn * ip filter 1013 reject * * udp,tcp * netbios_ns-netbios_ssn ip filter 1014 reject * * udp,tcp 445 * ip filter 1015 reject * * udp,tcp * 445 ip filter 1020 reject 192.168.100.0/24 * ip filter 1030 pass * 192.168.100.0/24 icmp ip filter 2000 reject * * ip filter 3000 pass * * ip filter 2000000 pass * update.microsoft.com,*.update.microsoft.com ip filter 2000001 pass * download.windowsupdate.com,*.download.windowsupdate.com ip filter 2000002 pass * download.microsoft.com,*.download.microsoft.com ip filter 2000003 pass * windowsupdate.com,*.windowsupdate.com ip filter 2000004 pass * ntservicepack.microsoft.com ip filter 2000005 pass * login.live.com ip filter 2000006 pass * mp.microsoft.com,*.mp.microsoft.com ip filter 2000007 pass * *.do.dsp.mp.microsoft.com,*.dl.delivery.mp.microsoft.com,*.emdl.ws.microsoft.com ip filter dynamic 100 * * ftp ip filter dynamic 101 * * www ip filter dynamic 102 * * domain ip filter dynamic 103 * * smtp ip filter dynamic 104 * * pop3 ip filter dynamic 105 * * tcp ip filter dynamic 106 * * udp # # NATの設定 # nat descriptor type 1 masquerade nat descriptor type 2 masquerade # # DHCPの設定 # dhcp service server dhcp server rfc2131 compliant except remain-silent dhcp scope 1 192.168.100.2-192.168.100.100/24 # # DNSの設定 # dns host lan1 dns server select 5001 pp 1 any . restrict pp 1 dns server select 5002 pp 2 any . restrict pp 2 dns private address spoof on