Britto <britto_antony@xxxxxxxxx> writes: > Hi > > Can you pls anyone help me correct it if i am wrong. I > have the following entries in the iptables > > iptables -P INPUT DROP > iptables -P OUTPUT DROP > iptables -P FORWARD DROP > iptables -A INPUT -p tcp --dport 22 -j ACCEPT > > but still i can not do ssh to linux box from the PC > which is sitting in the internal network. How do you think the server's response to your login attempts will find the way back to you when you tell it to drop all output traffic? Hint: Check out the ESTABLISHED and RELATED states. When you understand what they do, use them in your output rules. -- Bjørn