Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Tech News
  • Contact
  • Toggle search form

Secure FTP Login Issue: NAT Router Configuration for Passive Mode and Port Forwarding

Posted on 22/08/202108/09/2024 IT Expert By IT Expert 2 Comments on Secure FTP Login Issue: NAT Router Configuration for Passive Mode and Port Forwarding
  1. Home
  2. Windows Server
  3. Secure FTP Login Issue: NAT Router Configuration for Passive Mode and Port Forwarding
Secure FTP

FileZilla Server is a server that supports FTP and FTP over TLS which provides secure encrypted connections to the server. FileZilla supports TLS, the same level of encryption supported by your web browser, to protect your data. Kindly refer to this detailed guide on how to connect to a FileZilla Server: How to install and configure a FileZilla Server on Windows. In this article, we will discuss how to resolve “Secure FTP Login Issue: NAT Router Configuration Needed for Passive Mode and Port Forwarding”.

FileZilla Clients are available for Windows, Linux, and macOS, but the servers are available only in Windows. Both server and client support FTP and FTPS, while the clients can also connect to SFTP servers. To reiterate further, FTP is a TCP-based service exclusively and there isn’t a UDP component to FTP.

FTP is a service that utilizes two ports, a “data port” and a “command” port (also known as the control port). These are port 21 for the command port and port 20 for the data port.

This is not an error but a warning giving you some basic information you need. Once connected to the server, you’ll get a screen like below. It’ll give you some basic info about the server and also auto-detect if you are behind a NAT router.

- If you do not want to allow connections to your FTP server from the Internet, and wish to use it only in your local network only, you can ignore these passive mode settings that is needed to fix this issue.

You may also want to see how to access FTP Server from your browser: How to create a shortcut and access Filezilla from Windows Explorer.

Initial Configuration of FTP Server

When launched for the first time, it will ask you to configure the FTP server. Leave the Host (127.0.0.1) and admin port (14147) as default.

Type a new password (You will use this password for administering the FileZilla FTP server) and Press Connect.

FTP Login

You can also set this password at a later time under the Admin Interface Settings.

NAT Router Configuration
In the options, you can set the connection port, a password, and a possible restriction only to certain IP addresses as you wish.

When you try to connect, you will be prompted with the following warning below. Note: By default Active Mode is the default mode for FTP.

To learn more about Active and Passive Mode, kindly refer to this guide “How to install and configure a FileZilla Server on Windows“.

Passive Mode

Solution “NAT Router Configuration Needed for Passive Mode and Port Forwarding”

Click on the icon (settings) below to open the general preferences. Alternatively, you can also click on the Edit Menu and Settings

Secure FTP

This will open the FileZilla options as shown below. Set the FTP connection port, this is the default port “21” anyways.

Navigate to the Passive mode settings and check to use the custom port range.

If you do not want to allow incoming connections on all ports or if your FTP server is behind a NAT router, you need to configure FileZilla Server to use a specific range of ports for passive-mode connections say from 1000-2300 etc. These ports must then be opened on the firewall. If you have a NAT router, you need to forward these ports to the local machine where FileZilla Server is installed.
Secure FTP
NAT Router Configuration

Create user accounts and shared folders Secure FTP Login

Create a user by using the Add button as shown below. Now that the account has been created, we will need to create a password. Select the user and create a password for it as shown below.

FTP Login

Click on the shared folders and click on Add, select the folder and assign the needed permissions.

When you are done, click on Okay.

Screenshot-2021-08-22-at-15.03.46
Screenshot-2021-08-22-at-15.07.06

Configure the Windows Firewall: You will need to open the FTP port on the Windows firewall (or on other firewalls if necessary). Here we have chosen the default port, 21, but it can obviously be any other port. If you are working in a cloud environment, you will need to configure additional rules to permit external connection.

Enter the program part and follow the needed steps. You may want to see this guide on how to create a Windows firewall rule on Windows or “how to resolve request timed out when pinging“.

Screenshot-2021-08-22-at-17.30.19
If you installed FileZilla to the default location, you need to allow C:\Program Files(x86)\FileZilla Server\FileZilla Server.exe to the exceptions list.

Connect to a Filezilla Server from Windows: 

If you do not want to allow connections to your FTP server from the Internet, and therefore for use in the local network only, you can ignore these passive mode settings.

To download the FileZilla client, you will need to download the FileZilla client installer from the Filezilla site.

Screenshot-2021-08-22-at-15.54.23

Follow through the installation steps and on the “Choose Start Menu Folder” as shown below, click on Install.

Screenshot-2021-08-22-at-15.45.10

When the installation is complete, launch the FileZilla client and connect as shown below. You should now be able to connect to your FTP server from a different device or on the same host as shown below.

Kindly “login” with the username and passwords you have set. If you have configured FTP over TLS, you should be able to connect to the FTP server with FTPS to utilize encryption.

When prompted with the following notification below, click on Ok as we are already aware of this issue.

Screenshot-2021-08-22-at-16.21.12

As you can see below, we have successfully connected to the FileZilla server via the FileZilla client.

Screenshot-2021-08-22-at-16.05.51

Note: You can also connect to your FTP server via the Command Prompt as shown below. All you need to do is type “ftp <filezilla server IP>” and click on enter.

Screenshot-2021-08-22-at-16.04.45

As you can see below, the connection to the FileZilla server was successful.

Screenshot-2021-08-22-at-19.14.06

I hope you found this blog post on “Secure FTP Login Issue: NAT Router Configuration Needed for Passive Mode and Port Forwarding” helpful. If you have any questions, please let me know in the comment session.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Windows Server Tags:files, FileZilla Client, Microsoft Windows, Windows 10, Windows Server 2016

Post navigation

Previous Post: Connect to a FileZilla Server: How to install and configure a FileZilla Server on Windows
Next Post: Access FTP Server from your browser: How to create a shortcut and access Filezilla from Windows Explorer

Related Posts

  • DC creation as recommended by Microsoft
    Setup a Domain Controller as Recommended by Microsoft Windows Server
  • Screenshot 2020 11 09 at 11.26.54
    The logon attempt failed for the remote desktop connection Windows Server
  • image 117
    Deploy MVC Application to AWS EC2 Using RDP and Web Deploy Configuration Management Tool
  • Download and apply Windows ADK Patch
    How to download and install the Windows ADK Patches Windows
  • Fix Secure Boot certificate expiration
    Enable Secure Boot: Fix Secure Boot certificates expiration [Part 1] Windows
  • HyperV VM disk size increase
    How to Increase Disk Size in Hyper-V Virtualization

More Related Articles

DC creation as recommended by Microsoft Setup a Domain Controller as Recommended by Microsoft Windows Server
Screenshot 2020 11 09 at 11.26.54 The logon attempt failed for the remote desktop connection Windows Server
image 117 Deploy MVC Application to AWS EC2 Using RDP and Web Deploy Configuration Management Tool
Download and apply Windows ADK Patch How to download and install the Windows ADK Patches Windows
Fix Secure Boot certificate expiration Enable Secure Boot: Fix Secure Boot certificates expiration [Part 1] Windows
HyperV VM disk size increase How to Increase Disk Size in Hyper-V Virtualization

Comments (2) on “Secure FTP Login Issue: NAT Router Configuration for Passive Mode and Port Forwarding”

  1. Avatar photo jim says:
    24/12/2021 at 5:56 PM

    My stupid NETGEAR ORBI will not let me connect via TLS and I do not know how to fix it.

    Log in to Reply
    1. chris Christian says:
      30/12/2021 at 5:16 PM

      If you do not want to allow incoming connections on all ports or if your FTP server is behind a NAT router, you need to configure FileZilla Server to use a specific range of ports for passive-mode connections say from 1000-2300 etc. These ports must then be opened on the firewall. If you have a NAT router, you need to forward these ports to the local machine where FileZilla Server is installed.

      Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • Featured image 3
    How to add a device to your Microsoft Account Microsoft Exchange/Office/365
  • Trellix ePO Repair and reinstall
    Fix Trellix ePO DAT and Engine Packages missing Security | Vulnerability Scans and Assessment
  • Veeam
    Install and configure Veeam Backup and Replication Community Edition Backup
  • Leave Slack
    How to remove a user from a Slack Channel JIRA|Confluence|Apps
  • Chocolatey Packages
    Create Chocolatey Package: Upgrade Software with Chocolatey Scripts
  • banner 2
    Why is Google moving from Universal Analytics (UA) property to GA4 property JIRA|Confluence|Apps
  • upgrading Veeam BAckup and Replication to v13
    Upgrade Path and In-Place Upgrade for VBR v13 and Known Fixes Backup
  • maxresdefault 2 2
    Fix Outlook Not Responding and Outlook Crashing or freezing Network | Monitoring

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,766 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.