LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Setting Up An FTP Server in Suse (https://www.linuxquestions.org/questions/suse-opensuse-60/setting-up-an-ftp-server-in-suse-396078/)

fclnewark 12-23-2005 08:02 PM

Setting Up An FTP Server in Suse
 
I am using SUSE 10. I have an HTTP server running with remote access (Putty and Browser (not VNC). It was a pain in the butt. Can someone please help me on how to get an FTP server going? I need to get it up pretty quick and help would be great. My Linux knowledge is not that great, some some detailed help would be a life saver. Thanks.

tangle 12-23-2005 08:39 PM

There is a ProFTP how to here.
http://www.linuxquestions.org/linux/...to_end_ProFTPD

You might want to start with that.

XavierP 12-23-2005 08:42 PM

I have renamed this thread to give it a more meaningful title.

fclnewark 12-24-2005 01:08 PM

I have ProFTP 1.3 up and running when I do it in a command shell (FTP Localhost), but I can not access it from an outside connection. How exactly do you:

"... ensure you make IPTables rules that allow port 21 to be open (this is the standard port that FTP runs on)."

I went through YAST and in the firewall put SSH and TFTP. What else do I exactly need to do. Please bear in mind that I am a Linux Novice and am using Suse 10. Thank you.

tangle 12-25-2005 10:02 AM

Try this command
iptalbes -A tcp_inbound -p TCP -s 0/0 --destination-port 62000:64000 -j ACCEPT

fclnewark 12-26-2005 09:16 AM

I will give it a try. As I understand it the FTP port is 21? Thanks for the time to reply.

** I tried it and it did not work**

I downloaded Guarddog and enabled (in both local and internet) FTP, HTTP, HTTPS, and SSH). Then I saved it and tried it again. When I place my IP into an internet browser I get the message that the port (21) is disabled for security purposes. I don't see how? How do I open ports in the firewall (either through YAST or Webmin). In Filezilla the connection is refused. XXX.XX.XX.XXX:21

Also, when I put my IP address into the browser (after an IFCONFIG) it comes back to my router. Can this be the problem? Do I have to forward requests to my PC IP address (192.168.x.x) from my router IP?

What is the different between the firewall in Webmin vs YAST? How do I get the Guarddog configuration to take effect? Any help would be great?

rbk25 01-30-2006 10:03 AM

Not 100% positive, but i think that you will have to forward ports 20 and 21 on your router for non-passive mode.

fclnewark 01-30-2006 04:12 PM

Thanks to everyone for all of the great tips and advice. I have not gotten it to work yet. I am going to do a clean install and try it again. Thanks again!!


All times are GMT -5. The time now is 04:58 AM.