LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Help w/ FTP and SSH rules (https://www.linuxquestions.org/questions/linux-security-4/help-w-ftp-and-ssh-rules-374492/)

Charles Daniel 10-18-2005 08:50 PM

Help w/ FTP and SSH rules
 
Well part of the questions deals with iptables and part deals with configuration.

What ports do I need to open to run an ftp server from my Linux host? And how do I configure SSH so that I can manage my server from a remote location?

Also what ports to open to allow SSH access from a remote client? What software need to be run at the remote client that will allow my to login a session.

If you have an iptables example it would be helpful as well.


Thanks

Osensei

anomie 10-18-2005 09:58 PM

I don't have an iptables example for you, but here is the project page: http://www.netfilter.org/ It has comprehensive documentation.

ftp server - usually runs on port 21.
ssh server - usually runs on port 22.

Instead of running an ftp server, consider learning about and running the sftp-subsystem. Also, don't start running any servers until you understand them and know how to secure them.


All times are GMT -5. The time now is 06:30 AM.