How to add permanently rules to the ISPConfig Bastille-firewall ?
Hello,
I've read this forum http://www.howtoforge.com/preventing...s#comment-1346
and I've not seen how to add the iptables rules to use with the ISPConfig Bastille-firewall ?
How to add these rules permanently and properly ?
I want to add some iptables rules like this :
iptables -A SSH_CHECK -m recent --update --seconds 60 --hitcount 4 --name SSH
But the ISPConfig web interface seems not to allow this kind of rules.
Perhaps is there a file in which I can put these rules ?
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
It's /etc/Bastille/bastille-firewall.cfg. But this file gets overwritten everytime you make changes in ISPConfig, so you better make your changes also in the template in /root/ispconfig/isp/conf.
Recent comments
3 days 9 min ago
3 days 8 hours ago
3 days 11 hours ago
3 days 13 hours ago
3 days 14 hours ago
3 days 16 hours ago
3 days 17 hours ago
3 days 18 hours ago
4 days 10 hours ago
4 days 11 hours ago