Which iptables rule do you think is a 'must have'

Posted by Saif Bechan on Server Fault See other posts from Server Fault or by Saif Bechan
Published on 2010-04-18T04:27:36Z Indexed on 2010/04/18 4:33 UTC
Read the original article Hit count: 303

I have some basic iptable rules set up now for my vps. Just block everything except some default ports, 80,21,22,443. I do get brute forced a lot. I have heard that iptables is very powerful but I have not seen many use cases.

Can you give me an example of a(some) rule(s) you always use and give a small example why.

I can not find a general best practice post here on SF, if there is any I would like the link. If this is a duplicate I am sorry and it can be closed.

© Server Fault or respective owner

Related posts about iptables

Related posts about best-practices