Allow IP Range To Port in csf.allow
Posted: 10 Jan 2023, 12:44
I've bunch of ips / networks added to csf.deny
However i want to allow 1.1.1.1 on port 80 and 443 with csf.allow
or
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
Code: Select all
csf.deny
1.1.0.0/19 # do not delete
Code: Select all
csf.allow
tcp|in|d=80|s=1.1.1.1
tcp|in|d=443|s=1.1.1.1
Code: Select all
csf.allow
1.1.1.1
- 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