Page 1 of 1

Block a hostname forever

Posted: 03 Jan 2017, 14:55
by Silent Ninja
One of our customers is having issues with a remote MX, so my plan was to block it on CSF, but every once in a while it gets cleared out due to the IP limit of the deny table.

How can I block that IP forever?

Also, is there a way to block domains using dyndns instead of just allowing them thru?

Re: Block a hostname forever

Posted: 03 Jan 2017, 15:40
by Achtron
You can add "do not delete" within the comment field in the csf.deny file if you don't want to rotate the IP.

Like this:

Code: Select all

11.22.33.44 # do not delete
Or when you block the IP using cli :

Code: Select all

csf -d 11.22.33.44 do not delete