4MLinux Server Admin Area
Home
Autostart
Firewall
Blacklist
Apache
Hosts
PHP
MySQL
Logout
Firewall
/etc/firewall/config
# Accept all internal requests: LOCALHOST=yes # Accept external ping requests: PINGS=yes # Accept external traceroute requests: TRACEROUTE=yes # Allow outgoing traffic: OUTGOING=yes # Allow incoming traffic to the following TCP ports: TCP="21 22 80 443 10000" # Allow incoming traffic to the following UDP ports: UDP="21 69" # Unblock port 53 for DNS server: DNS=no # Unblock ports 25,465,587 for SMTP server: SMTP=no # Unblock ports 111,1110,2049,4045,4046 for NFS server: NFS=no # Allow passive FTP connections: PASSIVE=yes # Range of ports for passive FTP connections: RANGE=50000:55000 # Enable support for Samba client: SAMBA=yes # Enable support for Avahi daemon: AVAHI=yes # Enable SSH brute force protection: BRF=yes # Blacklist IP addresses from the following list: BLACKLIST=/etc/firewall/black.list # Enable DDOS protection: DDOS=no # NOTE: # Always enabled (even if DDOS is set to "no"): # SYN flood protection, # NULL scan protection, # XMAS scan protection.