Go into the Yast firewall module. Once in it select the "allowed services" section. In the advanced section open these ports.
In the TCP Ports box put "20 21" (separated by a space only).
In the UDP Ports box put "20"
Then exit and restart your firewall.
FYI, you can always get a clue to what you need to open by typing this in "cat /etc/services | grep ftp". The /etc/services file shows all the common ports used by various services. Although there will be quite a few FTP services listed, the top 3 are the generic ftp ports you are looking for. The second column shows how I got the numbers and the protocol.
If this is indeed your first install, please read the vsftpd docs very carefully. FTP can be tricky although vsftpd would be what I recommend to new ftp admins. Look at the chroot variable and see if that fits your scheme. It will lock people into the directory of your choice so they can't poke around where they shouldn't be.
Last edited by ghight; 07-29-2005 at 03:16 PM.
|