Adding custom IPTables rules

Post Reply
geekytone
Junior Member
Posts: 23
Joined: 04 Aug 2020, 13:58

Adding custom IPTables rules

Post by geekytone »

Good morning,

I wish to rate limit by outgoing trafic using some IPTables rules like this:

Code: Select all

iptables -A OUTPUT -m hashlimit --hashlimit-upto 5000/sec --hashlimit-burst 10000 --hashlimit-mode dstip --hashlimit-name loutput_ip --hashlimit-dstmask 24 -j RETURN
If I just add these rules in IPTables, will it break CSF? Or is there a way to add some custom iptables rules inside CSF?
Post Reply