Jump to content

Help: Can't connect to my FileZilla FTP-server from another network

So I've been trying to get access to my FileZilla server from another network and I was able to connect the normal way but it wouldn't load my files.

I found an old post on this issue on stack overflow where they solved it by using SFTP.
I started trying this but now I'm completely unable to connect to my FTP server.

What could I possibly try now?
 

Thanks in advance

2022-09-29 11_01_48-FileZilla.png

Link to comment
Share on other sites

Link to post
Share on other sites

Is this over the Internet, or a different subnet that should have a route back to the network your FTP server lives on?

 

If it's over the Internet, your traffic is probably getting stopped by your firewall. Opening FTP to the public Internet is a very bad idea for a variety of reasons, you're better off running a VPN like Wireguard instead.

I sold my soul for ProSupport.

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, Needfuldoer said:

Is this over the Internet, or a different subnet that should have a route back to the network your FTP server lives on?

 

If it's over the Internet, your traffic is probably getting stopped by your firewall. Opening FTP to the public Internet is a very bad idea for a variety of reasons, you're better off running a VPN like Wireguard instead.

Yes it is going over the internet but since it isn't safe I'm trying to get it to work with SSH (SFTP).

I did add a rule in my windows firewall to let FileZilla and its port through which did work when I was using regular FTP but after trying to use SFTP I couldn't connect anymore.

Link to comment
Share on other sites

Link to post
Share on other sites

-> Moved to Networking

 

2 minutes ago, Djeunut said:

I did add a rule in my windows firewall to let FileZilla and its port through which did work when I was using regular FTP

FTP uses "Passive mode" so in addition to port 21 you also have to open another range of ports that will be used for the actual transfers, those need to match the settings in your server.

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Kilrah said:

-> Moved to Networking

 

FTP uses "Passive mode" so in addition to port 21 you also have to open another range of ports that will be used for the actual transfers, those need to match the settings in your server.

I did think I had to do something like this but every tutorial or discussion online didn't mention this once.

I'll try opening some of these ports and try connecting again.

Link to comment
Share on other sites

Link to post
Share on other sites

Small update:

For some reason the connection I tried earlier showed up much later in my server console.

2022-09-29 11_26_58-Parsec.png

Link to comment
Share on other sites

Link to post
Share on other sites

I opened the ports but I'm still not getting anywhere, I'm still getting the same error.

I think I just misconfigured something but I can't figure out what.

Link to comment
Share on other sites

Link to post
Share on other sites

3 hours ago, Djeunut said:

I opened the ports but I'm still not getting anywhere, I'm still getting the same error.

I think I just misconfigured something but I can't figure out what.

Is your PC connected directly to the Internet?  If not, are you port forwarding to that PC on the router?

 

Don't even bother with FTP though, SSH is much easier and safer to deal with as you only need a single port and traffic is encrypted.

Router:  Intel N100 (pfSense) WiFi6: Zyxel NWA210AX (1.7Gbit peak at 160Mhz)
WiFi5: Ubiquiti NanoHD OpenWRT (~500Mbit at 80Mhz) Switches: Netgear MS510TXUP, MS510TXPP, GS110EMX
ISPs: Zen Full Fibre 900 (~930Mbit down, 115Mbit up) + Three 5G (~800Mbit down, 115Mbit up)
Upgrading Laptop/Desktop CNVIo WiFi 5 cards to PCIe WiFi6e/7

Link to comment
Share on other sites

Link to post
Share on other sites

16 hours ago, Alex Atkin UK said:

Is your PC connected directly to the Internet?  If not, are you port forwarding to that PC on the router?

 

Don't even bother with FTP though, SSH is much easier and safer to deal with as you only need a single port and traffic is encrypted.

I did port forward my pc but I just can't get SSH to work but I don't know what I'm doing wrong.

Link to comment
Share on other sites

Link to post
Share on other sites

5 hours ago, Djeunut said:

I did port forward my pc but I just can't get SSH to work but I don't know what I'm doing wrong.

90% of the issues I see people having with Port forwarding is caused by multiple layers of NAT or something miss configured. 

 

Multi layers of NAT is caused by connecting multiple routers in a chain OR can be caused by the fact the ISP uses NAT on its network because they dont have enough IP addresses for everyone. You can check for the ISP's NAT by looking at your WAN IP and seeing if it falls with in the range used by Carrier Grade NAT,. 

I just want to sit back and watch the world burn. 

Link to comment
Share on other sites

Link to post
Share on other sites

Don’t use FTP… but it certainly sounds like a double NAT issue. Do you have multiple routers? Who is your ISP (they me be using C-NAT). 

Rig: i7 13700k - - Asus Z790-P Wifi - - RTX 4080 - - 4x16GB 6000MHz - - Samsung 990 Pro 2TB NVMe Boot + Main Programs - - Assorted SATA SSD's for Photo Work - - Corsair RM850x - - Sound BlasterX EA-5 - - Corsair XC8 JTC Edition - - Corsair GPU Full Cover GPU Block - - XT45 X-Flow 420 + UT60 280 rads - - EK XRES RGB PWM - - Fractal Define S2 - - Acer Predator X34 -- Logitech G502 - - Logitech G710+ - - Logitech Z5500 - - LTT Deskpad

 

Headphones/amp/dac: Schiit Lyr 3 - - Fostex TR-X00 - - Sennheiser HD 6xx

 

Homelab/ Media Server: Proxmox VE host - - 512 NVMe Samsung 980 RAID Z1 for VM's/Proxmox boot - - Xeon e5 2660 V4- - Supermicro X10SRF-i - - 128 GB ECC 2133 - - 10x4 TB WD Red RAID Z2 - - Corsair 750D - - Corsair RM650i - - Dell H310 6Gbps SAS HBA - - Intel RES2SC240 SAS Expander - - TreuNAS + many other VM’s

 

iPhone 14 Pro - 2018 MacBook Air

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×