Yes, you need to track the connections and allow those connections that are related to your existing connections:
Code:
/sbin/iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
That appends a new rule to your INPUT chain that ACCEPTs those connections that are tracked to be related to some existing connections (started by you). Read more from
I must apologize I don't have a Linux box to test if the command succeeds but if it doesn't, there's just some minor typing error. Try that out and if it fails, read the man page if I miswrote some part, though it should be like that.