Iptables firewall on Debian

Iptables provide filtering, NAT and other packet mangling.

Viewing current configuration

Output will be like

Storing iptables rules in a file

Activate these new rules:

See the difference

If you are happy then save new rules to master iptables file

To make sure the iptables rules are started on a reboot we’ll create a new file

Set permission

Please follow and like us:
About shk

shk is a DevOps engineer with more than 12 years of experience in different organizations. He enthusiastic about learning new technologies and shares his knowledge through his blogs.

Trackbacks

  1. […] InfinitelyGalactic how to setup and configure iptables firewall on debian. Continued here: Handling iptables on Debian OS – MyLiteratureTechLife.COM This entry was posted in Uncategorized and tagged firewall-on-debian by InfinitelyGalactic. […]

Comment Policy:

Your words are your own, so be nice and helpful if you can. Please, only use your real name, not your business name or keywords. Using business name or keywords instead of your real name will lead to the comment being deleted. Anonymous commenting is not allowed either. Limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.

Tell us what you're thinking...

All comments are moderated.

* Denotes required field.

*

*

Previous Post:
Next Post: