# # 自社サーバーを公開(複数の固定グローバルIPアドレス / DMZセグメント : LAN3) : コマンド設定 # # # LANインターフェースの設定 # ip lan1 address 192.168.0.1/24 # # DMZインターフェースの設定 # ip lan3 address (xxx.xxx.xxx.1)/29 ip lan3 secure filter in 2000 ip lan3 secure filter out 3000 dynamic 100 101 200 # # WANインターフェースの設定 # pp select 1 pp always-on on pppoe use lan2 pp auth accept pap chap pp auth myname (ISPに接続するID) (ISPに接続するパスワード) ppp lcp mru on 1454 ppp ipcp msext on ip pp mtu 1454 ip pp secure filter in 1020 1030 1031 1032 2000 dynamic 201 202 ip pp secure filter out 1010 1011 1012 1013 1014 1015 3000 dynamic 100 101 102 103 104 105 106 ip pp intrusion detection in on ip pp nat descriptor 1 pp enable 1 ip route default gateway pp 1 # # フィルターの設定 # ip filter source-route on ip filter directed-broadcast on 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.0.0/24 * ip filter 1030 pass * 192.168.0.0/24 icmp ip filter 1031 pass * (xxx.xxx.xxx.2) tcpflag=0x0002/0x0fff * www ip filter 1032 pass * (xxx.xxx.xxx.3) tcpflag=0x0002/0x0fff * 21 ip filter 2000 reject * * ip filter 3000 pass * * 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 ip filter dynamic 200 192.168.0.0/24 * telnet ip filter dynamic 201 * (xxx.xxx.xxx.2) www ip filter dynamic 202 * (xxx.xxx.xxx.3) ftp # # NATの設定 # nat descriptor type 1 masquerade nat descriptor address outer 1 (xxx.xxx.xxx.1) nat descriptor address inner 1 192.168.0.1-192.168.0.254 # # DHCPの設定 # dhcp service server dhcp server rfc2131 compliant except remain-silent dhcp scope 1 192.168.0.2-192.168.0.100/24 # # DNSの設定 # dns server (ISPより指定されたDNSサーバのIPアドレス) dns private address spoof on