「ipf」の編集履歴(バックアップ)一覧はこちら
ipf - (2008/12/24 (水) 14:41:27) の1つ前との変更点
追加された行は緑色になります。
削除された行は赤色になります。
&link_edit()&topicpath()
# cd /usr/src/sys/i386/conf
# cp GENERIC IPFILTER
# vi IPFILTER
ident IPFILTER
options IPFILTER
options IPFILTER_LOG
options IPFILTER_DEFAULT_BLOCK
# cd /usr/src
# make buildkernel KERNCONF=IPFILTER
# make installkernel KERNCONF=IPFILTER
# reboot
# vi /etc/rc.conf
ipfilter_enable="YES"
ipfilter_rules="/etc/ipf.rules"
ipmon_enable="YES"
ipmon_flags="-Ds"
gateway_enable="YES"
ipnat_enable="YES"
ipnat_rules="/etc/ipnat.rules"
# vi /etc/ipf.rules
# ipf -Fa -f /etc/ipf.rules
&link_edit()&topicpath()
# cd /usr/src/sys/i386/conf
# cp GENERIC IPFILTER
# vi IPFILTER
ident IPFILTER
options IPFILTER
options IPFILTER_LOG
options IPFILTER_DEFAULT_BLOCK
# cd /usr/src
# make buildkernel KERNCONF=IPFILTER
# make installkernel KERNCONF=IPFILTER
# reboot
# vi /etc/rc.conf
ipfilter_enable="YES"
ipfilter_rules="/[[etc]]/ipf.rules"
ipmon_enable="YES"
ipmon_flags="-Ds"
gateway_enable="YES"
ipnat_enable="YES"
ipnat_rules="/etc/ipnat.rules"
# vi /etc/ipf.rules
# ipf -Fa -f /etc/ipf.rules