Trying to create a server but no dice

Discussion in 'General Server' started by Kryyll, Dec 28, 2013.

  1. Kryyll

    Kryyll Active Member

    Messages:
    111
    Likes Received:
    38
    Trophy Points:
    28
    So I posted a thread earlier about not being able to get my PPTP server working. I mainly just need to have a FTP server so I can backup my important files for school. I tried this and I'm still not getting it to work. I'm following the tutorials but yet I can't connect to either. Am I missing something? Is there something about serving that I'm missing and isn't in the tutorials?

  2. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,341
    Likes Received:
    447
    Trophy Points:
    83
    For Debian?

    Should be straight forward. Do you want remote access? Secure FTP?
  3. Kryyll

    Kryyll Active Member

    Messages:
    111
    Likes Received:
    38
    Trophy Points:
    28
    Yeah for Debian. Yes and yes.
  4. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,341
    Likes Received:
    447
    Trophy Points:
    83
    I am running vsftp on Arch Linux with remote access via noip.com

    Simply put, install vsftp
    https://wiki.debian.org/vsftpd

    signup for noip redirect
    http://www.noip.com/

    Install the client that will update noip.com with your computers ip address
    http://www.noip.com/support/knowledgebase/installing-the-linux-dynamic-update-client/

    make sure vsftpd is running at startup:
    Code:
    /sbin/service vsftpd enable
    (as root)

    And on your router, open the port you choose for vsftp in the configuration file at
    Code:
    /etc/vsftpd.conf.
  5. Kryyll

    Kryyll Active Member

    Messages:
    111
    Likes Received:
    38
    Trophy Points:
    28
    I don't understand that last step. How do I open the port?
  6. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,341
    Likes Received:
    447
    Trophy Points:
    83
    When you look at the configuration file, it should say what port vsftp is using. Unless you have changed it, the port you need to open is 20.

    Now, you need to open your router/modem configuration page in a web browser . This can depend on what brand you are using. My wireless router uses
    10.0.0.1 as the ip.
    My old modem used
    192.168.1.1 as the default page.

    Once you gain access to your router/modem, the port vsftp (in the default case 20) needs to be forwarded (port forwarding)
    take a look at
    http://portforward.com/english/routers/port_forwarding/

    Also, make sure to allow incoming/outgoing from port 20 is in you firewall rules. IE iptables by default. (ufw in most systems).
  7. Kryyll

    Kryyll Active Member

    Messages:
    111
    Likes Received:
    38
    Trophy Points:
    28
    Okay, I did that. So how to I connect to it and transfer files?

Share This Page