firewall is always very important for the security of your system, specially if you are running a web server running very popular websites then firewall is the life of your server.
Previously I explained how to install CSF firewall, and here is the tutorial for APF which is another great firewall...
20,21: FTP. Note that ftp will use a "random high port number" if the client is in PORT mode, so you may need to add a port range into your /etc/proftpd.conf file to allow ftp connections, eg:
PassivePorts 35000 35999
and then open that port range as well in your firewall.
22: ssh...
[root@mailserver csf]# service csf status
Status of csf:Can't locate LWP/UserAgent.pm in @INC (@INC contains: /usr/local/cpanel /etc/csf /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl...
For users that are behind a firewall it might be required that you enable passive ftp in your ftp server and client.
While enabling passive ftp in your ftp client is simple, doing so in your ftp server configuration files might be a bit tricky if you don’t know what you are doing.
This...