iptables on Deian 7

Posted July 1, 2013 7.6k views
Hey! Is there any easy to use guides to installing iptables on Debian 7 :) Some easy steps so i don't get locked out when playing ?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
4 answers
iptables is installed by default. We have an article on iptables:

It's for Ubuntu 12.04 but it should work on Debian as well.
Thank you very much!

I'll have a look at it :)

Should there be applied first or last when i have made some rulesets

iptables -F INPUT
iptables -F FORWARD
iptables -F OUTPU

The thing im after is stopper some dosw attack (if occur) still allow the connection that is allready made. and allow the following ports : 5022/80
Nevermind the reply :)