Skip to content

TechDirectArchive

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

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

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

Posted on 22/08/202120/08/2026 Christian By Christian 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.

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
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

  • Deploy BitLocker on Windows Server manually
    Install BitLocker on Windows Server via the Server Manager Windows Server
  • How To Upgrade Windows 11 Pro to Enterprise
    Upgrade Windows 11 Pro to Enterprise and vice Versa Windows
  • App Locker
    Harden your Veeam Backup Server with Microsoft AppLocker Windows
  • MBAM Reports
    Microsoft BitLocker Administration and Monitoring Report Fields Windows Server
  • Database Connection Stuck on Working on it
    How to fix TeamPass stuck on working on it Network | Monitoring
  • image 63
    What to do when your Remote Desktop Licensing Manager Server Crashes Windows

More Related Articles

picture1 101 Can’t Sign In: Domain Unavailable & 169.254 IP Address Issue Windows Server
reboot computer Determine the last boot time of a Windows Server Windows Server
microsoft confirms some pcs freeze after windows 10 Analyze group policies applied to a user and computer account Windows Server
a3a5a8be58fa09468cd4f70d36869e98 Restore AD Objects: How to restore deleted user accounts in Active Directory with Microsoft LDP and PowerShell Windows Server
windows update 03 Check if Windows Updates were installed via the Registry Editor Windows
wacxx How to set up System Insights on Windows Admin Center Windows Server

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

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

Top 30 Sysadmin blog

veeaam100

Veeam Vanguard

  • VRO upgrade
    In-place upgrade of Veeam Recovery Orchestrator to version 13.1 Backup
  • File Audit
    File Audit: How to install and configure PA File Sight Ultra and PA Endpoints Reviews
  • awscli56
    Configure AWS Command Line Interface AWS/Azure/OpenShift
  • db nginxseriesanisibleplaybook 1540x748 1
    How to install and configure Ansible on Ubuntu Configuration Management Tool
  • BitLocker result virtualization
    Create a web page to visualize the output of BitLocker Recovery Web Server
  • veeamcmce 2
    A review of the VMCE training and certification Backup
  • PowerShell Exec
    Determine the execution policy configured on Windows PC Windows
  • ERRORFEATURE
    Fix 404 Not Found Repository Errors in Ubuntu/Debian distribution Linux

Subscribe to Blog via Email

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

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

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.