Monday, July 25, 2011

CSF basics

cd /etc/csf
grep -rl 192.168.0.1250 ./
csf -g 192.168.0.250
csf -dr 192.168.1250 -remove deny
csf -d 192.168.0.250 to deny
csf -d 92.168.0.250/24 to deny a range
csf - a 192.168.0.250 to allow
csf -ar 192.168.0.250 to remove allow
csf -a 192.168.0.250/24 to allow a range
csf -t to list templist
csf -tr 192.168.0.250 to remove templist
csf -ta 192.168.0.250 temp allow
csf- td 192.168.0.250 tempdeny
csf -tf tempflufh

No comments:

Post a Comment