iptables?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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~~


[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux