Find the answer to your Linux question:
Results 1 to 8 of 8
Hi guys. I would like to setup a FTP server, that could be accessed from outside of my local network.Can some tell me where could I find a beginners guid ...
  1. #1
    Linux Newbie
    Join Date
    Feb 2006
    Location
    Slovenia
    Posts
    162

    How to setup FTP server?

    Hi guys. I would like to setup a FTP server, that could be accessed from outside of my local network.Can some tell me where could I find a beginners guid for setting up a FTP server on Suse 10.2. I have searched the net, but I couldn't find one Thanx for your help.

  2. #2
    Just Joined!
    Join Date
    Apr 2007
    Posts
    7
    first check ftp is installed or not or ftp service is running ????

  3. #3
    Linux Newbie
    Join Date
    May 2006
    Location
    Kansas
    Posts
    187
    You should already have a ftp server installed named "vsftpd". Check with this command:

    # rpm -qa | grep -i vsftpd
    vsftpd-2.0.5-24


    If you do have it, use yast to open the firewall for external connections:
    yast -> Security and Users -> Firewall -> Allowed Services -> Service to allow = TFTP Server -> Add -> Next -> Accept.

    After it is added, try typing this to start it:

    # /etc/init.d/vsftpd start

    Lastly, try and connect from your local machine and, if successful, from a remote machine.

  4. #4
    Linux Newbie
    Join Date
    May 2006
    Location
    Kansas
    Posts
    187
    You can also stop the FTP server with:

    # /etc/init.d/vsftpd stop

  5. #5
    Linux Newbie
    Join Date
    Feb 2006
    Location
    Slovenia
    Posts
    162
    I gues I got runnig the vsftpd service, how do I know, which my local folder will be used as ftp folder, and which ports should I open on the router. Is this just 21, or do I need some others. Thanx again for your help.

  6. #6
    Just Joined!
    Join Date
    May 2007
    Posts
    9
    Quote Originally Posted by arcull View Post
    I gues I got runnig the vsftpd service, how do I know, which my local folder will be used as ftp folder, and which ports should I open on the router. Is this just 21, or do I need some others. Thanx again for your help.

    local ftp folder "/var/ftp/pub"

  7. #7
    Linux Newbie
    Join Date
    May 2006
    Location
    Kansas
    Posts
    187
    I don't think /var/ftp is right. On my openSUSE 10.2 box, it is /srv/ftp. You should only need port 21 open. That is all FTP uses.

  8. #8
    Linux Newbie
    Join Date
    Feb 2006
    Location
    Slovenia
    Posts
    162
    Thanx guys. I'll try when I get home.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...