How to allow certain IP for services in CSF


How to allow certain IP for services in CSF


Add the following line in your /etc/csf/csf.allow

tcp|in|d=3306|s=192.168.1.1
tcp|out|d=3306|d=192.168.1.3

Restart csf with : csf -r

This will allow incoming/outgoing connections to port 3306

Bu cevap yeterince yardımcı oldu mu?

Diğer Dökümanlar


  • WARNING: RESTRICT_SYSLOG is disabled. See SECURITY WARNING in Firewall Configuration

    Today I got the above error while entering to “ConfigServer Security & Firewall” in WHM. Solution: 1. Login to WHM 2.Home » Plugins » ConfigServer Security &...

  • Some useful tweak settings on CSF Configuration File

    IP Limit in Permanent “Deny” FileDENY_IP_LIMIT = “200”A higher number here will obviously screen out more IP addresses in csf.deny. IP Limit in Temporary...

  • Linux Malware Detect ( LMD )

    Linux Malware Detect ( LMD ) Easy way to install LMD via root shell. # vim maldetect.sh #/bin/bashmkdir tmpcd tmpwget http://www.rfxn.com/downloads/maldetect-current.tar.gztar...

  • Install ChkRootKit

    Install ChkRootKit Follow these steps to install ChkRootKit cd /usr/local/src/ – Down load the chkrootkit.# wget http://www.spenneberg.org/chkrootkit-mirror/files/chkrootkit.tar.gz#...

  • CSF Installation

    CSF Installation To install csf simply do the following from the root shell via SSH: wget http://www.configserver.com/free/csf.tgztar -xzf csf.tgzcd csfsh install.shcd ..rm -Rfv...