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.

Dell owns my soul.

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: i7-5960X 4.4GHz, Noctua NH-D14, ASUS Rampage V, 32GB, RTX3080, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Thermaltake Overseer RX1, 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 Celeron N5105 (pfSense) WiFi: Zyxel NWA210AX (1.44Gbit peak at 160Mhz 2x2 MIMO, ~900Mbit at 80Mhz)

Switches: Netgear MS510TXUP, Netgear MS510TXPP, Netgear GS110EMX
ISPs: Zen Full Fibre 900 (~915Mbit down, 115Mbit up) + Three 5G (~500Mbit average down)

Folding@home Live Stats  Folding@home Recent WUs

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 10700k @ 5.1Ghz, 4.8 Ring - - Z490 Vision G - - EVGA RTX 2080 XC Ultra @ 2025Mhz - - 4x8GB Vengeance Pro 3000Mhz 15-17-17-34 @ 3500MHz 16-19-19-38 - - Samsung 950 Pro 512 NVMe Boot + Main Programs - - Samsung 830 Pro 256 RAID 0 Lightroom + Photo work - - WD Blue 1 TB SSD for Games - - Corsair RM850x - - Sound BlasterX EA-5 - - EK Supremacy Evo - - XT45 X-Flow 420 + UT60 280 rads - - EK Full Cover GPU Block - - 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 for VM's/Proxmox boot - - Xeon e5 2660 V4- - Supermicro X10SRF-i - - 64 GB ECC 2133 - - 10x4 TB WD Red RAID Z2 - - 10TB WD Red for expendable data - - 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
 Share


×