Csf - шпаргалка по командам - CSF Cheat Sheet

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск

Csf - шпаргалка по командам - CSF Cheat Sheet

csf -e	Enable CSF	
csf -x	Disable CSF
csf -s	Start the firewall rules	
csf -f	Flush/Stop firewall rules (note: lfd may restart csf)
csf -r	Restart the firewall rules	
csf -a [IP address] [Optional comment]	Allow an IP and add to /etc/csf/csf.allow
csf -td [IP address] [Optional comment]	Place an IP on the temporary deny list in /var/lib/csf/csf.tempban	
csf -tr [IP.add.re.ss]	Remove an IP from the temporary IP ban or allow list.
csf -tf	Flush all IPs from the temporary IP entries
csf -d [IP.add.re.ss] [Optional comment]	Deny an IP and add to /etc/csf/csf.deny	
csf -dr [IP.add.re.ss]	Unblock an IP and remove from /etc/csf/csf.deny	
csf -df	Remove and unblock all entries in /etc/csf/csf.deny
csf -g [IP.add.re.ss]	Search the iptables and ip6tables rules for a match (e.g. IP, CIDR, Port Number)	
csf -t	Displays the current list of temporary allow and deny IP entries with their TTL and comments

Комментарии

Индекс цитирования