Block WordPress Attack with CSF

Edit /etc/csf/regex.custom.pm and add: Code: Select all # wordpress if (($globlogs{CUSTOM4_LOG}{$lgfile}) and ($line =~ /(\S+).*] “POST \/wp-login\.php.*” 200/)) { return (“Failed WordPress login from”,$1,”wordpress”,”20″,”80,443″,”3600″); } Then update /etc/csf/csf.conf and change CUSTOM4_LOG to scan your web server access logs. (If they aren’t doing so already). Eg. for Plesk: /var/www/vhosts/system/*/logs/access_log That rule will block brute force attacks […]

WhatsApp Firewall Ports

If you need WhatsApp Voice Calling to work behind a firewall you will need to open the following ports. TCP: 4244,5222,5223,5228,5242 TCP/UDP: 59234, 50318 UDP: 3478,45395