# # 自社サーバーを公開(1つの動的グローバルIPアドレス / DMZセグメント : ファイアーウォール) : FWX120 Web GUI設定 # # # FWX120 # ip route default gateway pp 1 filter 500000 gateway pp 1 vlan port mapping lan1.2 vlan1 vlan port mapping lan1.3 vlan1 vlan port mapping lan1.4 vlan2 lan type lan1 port-based-option=divide-network ip vlan1 address 192.168.100.1/24 ip vlan2 address 192.168.101.1/24 provider type isdn-terminal provider filter routing connection provider vlan1 name LAN: provider lan2 name PPPoE/0/1/5/0/0/0: pp select 1 pp name PRV/1/1/5/0/0/0: 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 (ISPに接続するID) (ISPに接続するパスワード) ppp lcp mru on 1454 ppp ipcp ipaddress on ppp ipcp msext on ppp ccp type none ip pp inbound filter list 1001 1002 1003 1004 1005 1006 1007 1008 1099 ip pp nat descriptor 1000 netvolante-dns hostname host pp server=1 (NetvolanteDNSに設定された名前) pp enable 1 provider set 1 provider dns server pp 1 1 provider select 1 ip filter 500000 restrict * * * * * ip inbound filter 1001 reject-nolog * * tcp,udp * 135 ip inbound filter 1002 reject-nolog * * tcp,udp 135 * ip inbound filter 1003 reject-nolog * * tcp,udp * netbios_ns-netbios_ssn ip inbound filter 1004 reject-nolog * * tcp,udp netbios_ns-netbios_ssn * ip inbound filter 1005 reject-nolog * * tcp,udp * 445 ip inbound filter 1006 reject-nolog * * tcp,udp 445 * ip inbound filter 1007 reject-nolog 192.168.100.0/24 * * * * ip inbound filter 1008 reject-nolog 192.168.101.0/24 * * * * ip inbound filter 1099 pass-nolog * * * * * ip policy interface group 101 name=Private local vlan1 vlan2 ip policy interface group 102 name=Vlan vlan1 vlan2 ip policy address group 101 name=Private 192.168.100.0/24 192.168.101.0/24 ip policy address group 102 name=Any * ip policy service 1000 @tcp/80 tcp * 80 ip policy service group 101 name="Open Services" ip policy service group 102 name=General dns ip policy service group 103 name=Mail pop3 smtp submission ip policy service group 2000 name=Masq2000 @tcp/80 ip policy filter 1100 reject-nolog 102 * * * * ip policy filter 1110 pass-nolog * * * * 102 ip policy filter 1122 static-pass-nolog * 102 * * * ip policy filter 1123 static-pass-nolog * local * * * ip policy filter 1124 static-pass-log * * 101 * http ip policy filter 1150 pass-nolog * pp1 * * * ip policy filter 1500 reject-nolog pp* * * * * ip policy filter 1520 pass-log * 102 * * 101 ip policy filter 1700 pass-nolog local * * * * ip policy filter 1710 static-pass-nolog * 102 * * * ip policy filter 3000 reject-nolog * * * * * ip policy filter 5000 pass-nolog * * * 192.168.101.254 2000 ip policy filter set 101 name="Internet Access" 1100 [1110 1123 [1124] 1122 1150] 1500 [1520 5000] 1700 [1710] 3000 ip policy filter set enable 101 nat descriptor type 1000 masquerade nat descriptor masquerade static 1000 1 192.168.101.254 tcp www dhcp service server dhcp server rfc2131 compliant except remain-silent dhcp scope 1 192.168.100.2-192.168.100.191/24 dns server pp 1 dns server select 500001 pp 1 any . restrict pp 1 dns private address spoof on