# Ports for FTP

#Allowing FTP Connections, including passive ports. (proftpd)
sudo iptables -A INPUT -p tcp --dport 21 -j ACCEPT

# Allowing FTP Connections in active mode, where Data are passed through Port 20
sudo iptables -A OUTPUT -p tcp --sport 20 -j ACCEPT

# Allowing Ports for Passive Mode connection, where Data is passed through ports
sudo iptables -A INPUT -p tcp --dport 40110:40210 -j ACCEPT

Bunun haricinde

https://support.plesk.com/hc/en-us/a...nd-a-firewall-

https://corpocrat.com/2010/01/01/how...-csf-firewall/

buralara bakabilirsin. Web sitesi varsa direkt olarak iptables te kural yazmakla uğraşma csf kurabilirsin daha iyi olacaktır.