Page 1 of 1

CIDR addressing : csf.deny

Posted: 24 Aug 2013, 17:15
by marks2013
Hi Guys, My question is for clarification really.

1. To block by CIDR addressing do you enter it manually in to the csf.deny
2. I need to block a country / district.
180.254.50.81
180.254.24.22

180.246.47.79
180.246.55.220


There are a many more for each range but the format i'm looking at blocking is

180.254.x.x
180.246.x.x

Would this be the correct format at enter in to the csf.deny file.

180.254.0.0/16 # Spam
180.46.0.0/16 # Spam


I did read over the following information, but need clarification, where to enter the CIDR and How.

Topic ID =6&t=4203&hilit=cdir (Im unable to directly link to the topic (new member) link to the topic of reference).

Thank you in advance.

mark

Re: CIDR addressing : csf.deny

Posted: 26 Aug 2013, 06:16
by Sergio
180.254.0.0/16 # Spam
180.46.0.0/16 # Spam
Are correct, that is the way of using CIDR in CSF.

Re: CIDR addressing : csf.deny

Posted: 26 Aug 2013, 11:23
by marks2013
Thank you for your feedback :)
Apreciated