Allow IP Range To Port in csf.allow

Post Reply
MrNovo
Junior Member
Posts: 1
Joined: 16 Feb 2022, 17:37

Allow IP Range To Port in csf.allow

Post 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
Post Reply