Hi All,
Following is the policy that my firewall generation
script gives, but my system hangs when i execute this, I am using ssh to execute
this script. I am opening all other required ports. When I comment the last two
lines my script works fine.
******Script*******
#Set default policies to DROP
$IPTABLES -F INPUT $IPTABLES -F OUTPUT $IPTABLES -F FORWARD $IPTABLES -P INPUT DROP $IPTABLES -P OUTPUT DROP $IPTABLES -P FORWARD DROP # Rejecting all Packets
#$IPTABLES -A INPUT -s 0/0 -d 0/0 -p udp -j
DROP
#$IPTABLES -A INPUT -s 0/0 -d 0/0 -p tcp -j DROP Can anyone help me.
thanks in advance.
Regards,
|