iptables?

Littlefield, Tyler compgeek13 at gmail.com
Sun Mar 25 18:36:43 EDT 2007


Hello list,
I've got the following iptables set.
iptables -F
iptables -A INPUT -p tcp --sport 20:22 -j ACCEPT
iptables -A INPUT -p tcp --sport 80 -j ACCEPT
iptables -A INPUT -p tcp --sport 110 -j ACCEPT
iptables -A INPUT -p tcp --sport 3784 -j ACCEPT
iptables -A INPUT -p tcp --sport 443 -j ACCEPT
iptables -A INPUT -p tcp --sport 6666:6670 -j ACCEPT
iptables -A INPUT -p tcp --sport 10000 -j ACCEPT
iptables -A INPUT -p tcp --sport 20000 -j ACCEPT
iptables -P INPUT DROP
iptables -P OUTPUT ACCEPT
I'm dmzed, and when I run this, it puts everything to filter.
Any idea what I'm doing wrong?
Thanks,
~~TheCreator~~


More information about the Speakup mailing list