I have a lot of rules for my iptables setup (routing, ssh bans etc) I also picked up a list of IP's to ban from here http://blacklist.linuxadmin.org and now its getting really complicated.
My /etc/sysconfig/iptables
is really long. Is there a way to manage the rules by including rules from external files?
For example:
#include "pre_routing_rules"
#include "ssh_bans"
This will include the rules added in the files "pre_routing_rules" and "ssh_bans" This way I can easily manage my rules without hunting around in cat /etc/sysconfig/iptables
.