Iptables debachle im going through

view story

http://www.linuxquestions.org – I have no excuse,.. its late, im hungry,.. etc. But I cannot figure out my issue here. It must be the ordering but im not seeing it, and i keep locking myself out of my box. Can someone take a glance and fix me please? Basically, where should I be putting my allow dst port rules? Code: cat > /etc/network/iptables.rules << EOF *filter :INPUT DROP [0:0] :FORWARD DROP [0:0] :OUTPUT ACCEPT [144:26289] :TCP - [0:0] :UDP - [0:0] -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -m conntrack --ctstate INVALID -j DROP -A INPUT -p icmp -m icmp (HowTos)