eozb DD-WRT Novice
Joined: 26 Feb 2015 Posts: 4
|
Posted: Fri Feb 27, 2015 9:03 Post subject: A Tiny Firewall Rule help |
|
Hi,
I'm new to linux so i try to learn now,
I'm trying to add some rules for my firewall,
Can enlighten me please?(DDWRT 26138)
Iptables -A INPUT -m state --state INVALID -j DROP
Iptables -A INPUT -p tcp ! --syn -m state --state NEW -j DROP
Iptables -A INPUT -p tcp --tcp-flags ALL ALL -j DROP
-Do i have to leave a space between each lines?(or write a #Comment before each lines?)
-Do i have to change the order any lines?(-m,-p,! confuses me)
Thank you, |
|