Search found 2 matches

by scotw
15 Nov 2017, 21:22
Forum: General Discussion (csf)
Topic: block IP range but allow individual IPs within range
Replies: 1
Views: 2297

Re: block IP range but allow individual IPs within range

Probably to late. Cant believe no one answered this.... IPtables rules go in order. So as long as the 'allow 46.229.160.1' was before the 'DENY 46.229.160.0/20', it would work. I'm not sure how CSF handles the order but you could put ip tables rules in the correct order into csfpost.sh file manually...
by scotw
15 Nov 2017, 21:02
Forum: General Discussion (csf)
Topic: CSF periodically blocking external SMTP connection
Replies: 4
Views: 5395

Re: CSF periodically blocking external SMTP connection

Be sure in and out ports for the smtp service are allowed and correct. I had similar issue with virtual servers sometimes seeing the host and sometimes not. Restarting CSF always fixed it. But restarting the virtual server after restarting CSF caused it to be blocked again. Think during CFS restart,...