× Presentation and instructions about security tools used to prevent server hacking. Feel free to use them or ask us to protect your site hosting it to a safe, daily monitored vps senter. Freespirits will ensure great quality of services.

CSF Firewall command line

Περισσότερα
7 Μήνες 3 Εβδομάδες πριν #298 από infogate
CSF Firewall command line δημιουργήθηκε από infogate
CSF/LFD Firewall is installed by default on all CWP servers.
Here you can find useful commands you can use from your terminal.
To get the list of all options please use this commands
csf --help
man csf
Configuration location is in the folder /etc/csf/
Main configuration file: /etc/csf/csf.confEnable CSF Firewall
csf -e
Disable CSF Firewall
csf -x
Restart CSF Firewall (iptables rules)
csf -r
Restart CSF/LFD Firewall (iptables rules and LFD service)
csf -ra
Restart LFD only
service lfd restart
Check blocked IP reason (replace IP with the IP address)
csf -g IP 
grep "IP" /var/log/lfd.log
Block IP (permanently)
csf -d IP
Block IP (temporarily for 24 hours, define in seconds)
csf -td IP 86400
Unblock IP
csf -dr IP
Whitelist IP (allow access to all ports)
csf -a IP
Whitelist IP range /24 (allow access to all ports)
csf -a 192.168.0.0/24
Whitelist (temporarily) IP range /24 for 24 hours (allow access to all ports, define in seconds)
csf -ta 192.168.0.0/24 86400
Remove all temporary IP blocks
csf -tf
Remove all permanent IP blocks
csf -df
....and many others


The best possible way to start your online marketing : fspirits.com/go/leadsleap-home
Explode Your Web Site Traffice: fspirits.com/go/sparktraffic
Start your affiliate journey here: fspirits.com/go/olsp-academy
Best Solution To Create Videos: fspirits.com/go/create-studio-pro
Best Solution To Create Graphics: fspirits.com/go/clickdesigns
Smart Chat Automation: fspirits.com/go/chatterpal
Multi-Purpose Video Maker: fspirits.com/go/avatar-builder
Multi-Purpose Video Creator: fspirits.com/go/video-creator
AI Human Spokesperson Videos: fspirits.com/go/humanpal

Παρακαλούμε Σύνδεση ή Δημιουργία λογαριασμού για να συμμετάσχετε στη συζήτηση.

Χρόνος δημιουργίας σελίδας: 0.037 δευτερόλεπτα
Powered by Kunena Φόρουμ