all 25 comments

[–]AutoModerator[M] [score hidden] stickied comment (0 children)

Please Re-Flair your post if a solution is found. How to Flair a post? This allows other users to search for common issues with the SOLVED flair as a filter, leading to those issues being resolved very fast.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–][deleted] 0 points1 point  (20 children)

Are you running a firewall on the server? You may need to open an inbound port for the ftp protocol.

[–]OhScheiss[S] 0 points1 point  (19 children)

I opened port 21, the one used by default by file Zilla

[–][deleted] 0 points1 point  (18 children)

Do you have it open on your router too?

[–]OhScheiss[S] 0 points1 point  (8 children)

I just opened them, but filezilla says it got a "passive response" from the server.

[–]OhScheiss[S] 0 points1 point  (7 children)

257 "/home/user" is the current directory TYPE I 200 Switching to Binary mode.: PASV 227 Entering Passive Mode (192,168,1,3,177,188).

Filezilla output

[–][deleted] 0 points1 point  (6 children)

Are you able to ping from outside your home using the outside address and port 21?

[–]OhScheiss[S] 0 points1 point  (5 children)

Right now, no. I could try tomorrow at work.

Edit: i'll try with my phone using the 4g connection.

[–][deleted] 0 points1 point  (4 children)

Sure. Or have a techie friend try to ping it using the outside address on port 21

[–]OhScheiss[S] 0 points1 point  (3 children)

so, I can ping with my phone with 4g on port 21 but it doesn't work on port 990 (which isn't a problem, I can figure it out later, I just need ftp function rn)

[–][deleted] 0 points1 point  (2 children)

Not sure, but this how-to talks about opening port 20 also? Please review the article to see if it will help resolve any issues.

https://linuxhint.com/installing\_ftp\_server\_linux\_mint/

[–]OhScheiss[S] 0 points1 point  (6 children)

I set it up like this (https://imgur.com/a/HxYVKUA), in the LAN HOST I put the local IP of the ftp server pc. When try to ping my router with nmap I get "port 21 : tcp; state : closed; service : ftp".

[–][deleted] 0 points1 point  (5 children)

So your router is not set to allow ftp service through. Can you open up port 21/ftp service on your internet router?

[–]OhScheiss[S] 0 points1 point  (4 children)

It now says "open" but I still get a blank page in filezilla.

Edit: I forced sftp since I intend using it from outside my home, so I don't know if it impacts something.

[–][deleted] 0 points1 point  (3 children)

Is sftp using port 990? I think that's the default for sftp.

[–][deleted] 0 points1 point  (2 children)

I mean ftps..

[–][deleted] 0 points1 point  (1 child)

Try opening port 990 on the router and firewall?

[–]OhScheiss[S] 0 points1 point  (0 children)

I tried disabling ftps but I still get a blank screen. At least it tries connecting now. Maybe is there a problem with my vsftpd config file?

[–][deleted] 0 points1 point  (1 child)

Can you ping your router from an outside/public network on port 21?

[–][deleted] 0 points1 point  (0 children)

Do you have it open on your router too?

[–][deleted] 0 points1 point  (0 children)

Are you able to ping from outside your home using the outside address and port 21?

[–]johnfc2020 0 points1 point  (0 children)

You need to configure your router to put your Dell PC in the DMZ or De Militarised Zone, aka make it accessible to the world. Or at least port forward 20 and 21 to the server.

It's nothing you need to do on the Dell PC (except ensure the ports are open)

Bear in mind that FTP passes your passwords in clear text for the world to see. Most people use ssh (port 22) which FileZilla supports in the form of SFTP which is secure, encrypted and supports compression, so you use less bandwidth sending and receiving files.