Page 1 of 1

[Idea] Enter custom iptable rules in CSF UI

Posted: 10 Mar 2014, 13:47
by Karel
Create a field in CSF UI where you can input custom ip rules.
Ideal would be to click some options as connection limit, rate limit, inbound, outbound, ports, etc.

I came to this idea after searching for a way to limit 1 ip address which is hammering my server. But I don't want to block this IP nor do I want to limit all ip addresses in general.

Re: [Idea] Enter custom iptable rules in CSF UI

Posted: 13 Apr 2017, 20:13
by postcd
Yes, please allow adding custom iptables rules upon csf start.

I found interesting rules here: https://javapipe.com/iptables-ddos-protection
Which i would like to use. Problem is that i think they are erased when csf is restarted?
Update: it do not seems like they are erased upon csf restart, but what about server reboot.

So i just need to shedule some bash script wull of iptables rules to run at server reboot?