On Saturday 21 December 2002 14:16, you wrote: > 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 -P INPUT 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 Ssh hangs because you drop all packets on tcp from and to everywhere.. So, your connection to the server is being cut. But policies like yours make no sens. Regards Giorgio Zarrelli