Page 1 of 1

Allow IP Range To Port in csf.allow

Posted: 10 Jan 2023, 12:44
by MrNovo
I've bunch of ips / networks added to csf.deny

Code: Select all

csf.deny
1.1.0.0/19 # do not delete
However i want to allow 1.1.1.1 on port 80 and 443 with csf.allow

Code: Select all

csf.allow
tcp|in|d=80|s=1.1.1.1
tcp|in|d=443|s=1.1.1.1
or

Code: Select all

csf.allow
1.1.1.1
Allow rules above is not working.

- If i add IP adress to both csf.allow and csf.ignore it works but opens all ports which i don't want to
- Adding "tcp|in|d=80|s=1.1.1.1" to both csf.allow & csf.ignore not working
- Adding "tcp|in|d=80|s=1.1.1.1" to both csf.allow & 1.1.1.1 csf.ignore not working