<*>; Connection tracking (required for masq/NAT)
; FTP protocol support
; IRC protocol support
; Userspace queueing via NETLINK (EXPERIMENTAL)
<*>; IP tables support (required for filtering/masq/NAT)
; limit match support
; MAC address match support
; netfilter MARK match support
; Multiple port match support
; TOS match support
; AH/ESP match support
; LENGTH match support
; TTL match support
; tcpmss match support
; Connection state match support
; Unclean match support (EXPERIMENTAL)
; Owner match support (EXPERIMENTAL)
<*>; Packet filtering
; REJECT target support
; MIRROR target support (EXPERIMENTAL)
<*>; Full NAT ; MASQUERADE target support
; REDIRECT target support
; Basic SNMP-ALG support (EXPERIMENTAL)
<*>; Packet mangling
; TOS target support
; MARK target support
; LOG target support
; ULOG target support
; TCPMSS target support
#
###加载必要的模块
#
echo -n "Staring modprobe the necessary mod for iptables"
for i in /lib/modules/`uname -r`/kernel/net/ipv4/netfilter/*
do
t=`echo $i |sed 's/\.o$//g'`
module=`basename $t`
modprobe $module
done
#
###允许ICMP数据包(ping)
#
$IPTABLES -A INPUT -p icmp -j ACCEPT