IPtables Rule Generator

IPtables Rule Generator:

This IPTables Rule Generator is a simple form to create a comprehensive iptables firewall ruleset based upon your input. Currently, it only accepts the device name for the network interface card that faces the public internet. This is usually eth0. I'll be adding more fuctions, like the ability to specify ports to allow, ip whitelists, ip blacklists, and the ability to turn on / off the bogon, China, and Korea blacklists. Comments are welcome, enjoy! Results are cached for 24 hours to save bandwidth and avoid abusing the kind providers of the blacklists used here.

Logging: On Off
Block Bogon List: On Off
Block China SMTP: On Off
Block Korea SMTP: On Off

Public ports:

Public NIC:

Coming soon:

NAT / Masquerading

Private NIC:

N. B. - Use at your own risk! I cannot be responsible for you locking yourself out of your own machine. If you are unsure about any of the commands generated by this tool, do not use it. Furthermore, by using this tool, you agree to accept complete responsibility for the results. This service comes with NO WARRANTY.