I am very new to Linux and computer science in general - please be patient with me.

I am attempting to create a read-only FTP server such that I can share some files in a manner as easy as possible for end users. I am in the preliminary stages of simply getting outside users (WAN)to be able to connect. I have had little luck. Here is my vsftpd.conf file:

pasv_address=xxx.xxx.x.xx (my external IP)

I'm having people attempt to connect via FTP at external IP : 21 (port)

Does what I'm doing make sense?

My router is forwarded 21, 60000-60100, to my local IP of my server. Nobody can connect to my server - it just doesn't work, connection times out Thanks for the help.

I can access it through FTP on the LAN easily from another computer. The problem is outside users.


  • You should have people connecting to your external IP, not your router IP. Jul 3 '16 at 3:48
  • Google "What's my IP" and it will tell you your external IP address. You may also want to research what that is. Jul 3 '16 at 3:50
  • OK - I will edit my post. I meant to say external IP.
    – Wyatt
    Jul 3 '16 at 3:50
  • OK. You're also not really saying what the issue is. Jul 3 '16 at 3:51
  • Nobody can connect to my server - it just doesn't work, connection times out. I also am just trying to decide if I am going about this the correct way. IE - does this make sense at all?
    – Wyatt
    Jul 3 '16 at 3:52

You could try changing the port forwarding configuration as suggested by x...

(O)pen the FTP at port 21 local, then use port forwarding in router, map it to port ex: 12345. Then user can connect to your ftp from outside using xxx.xxx.xxx.xxx:12345.

This would circumvent any ISP troubles, but you would have to make sure that the port you choose is not used by any other service. There is a wikipedia page on commonly used ports.

Also you can troubleshoot the FTP server with a FTP client, such as FileZilla, from your network and from a separate network such as the Library or a Cafe.

Even though it is read only, I still would recommend using a more secure way of distributing files, such as a dropbox, google drive, or by using SFTP.

Good Luck! :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.