via http://fedorasrv.com/iptables.shtml とても素敵な設定例です。ありがとう↑の人!。 (1)ファイアウォール設定スクリプト作成 mkdir /root/iptables cd /root/iptables/ chmod 700 /root/iptables vi iptables.sh #!/bin/bash #---------------------------------------# # 設定開始 # #---------------------------------------# # インタフェース名定義 LAN=eth0 #---------------------------------------# # 設定終了 # #---------------------------------------# # 内部ネットワークのネットマス