Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » Windows Server » Secure FTP Login Issue: NAT Router Configuration for Passive Mode and Port Forwarding
  • Could not load file or assembly
    Unable to edit MDT XML unattended file: Could not load file Windows Server
  • Fix Network related MSSQL instance error
    Fix a network-related or instance-specific error occurred while establishing a connection to SQL Server [Part 2] Oracle/MSSQL/MySQL
  • image 3
    How to Migrate Your WordPress Site with WordPress Duplicator Network | Monitoring
  • RDS Architecture
    The following servers in this deployment are not part of the deployment Pool: Create an RDS Session Host and Collection Windows Server
  • Docker Volumes
    Create and Mount Volume to Docker Container Containers
  • Screenshot 2020 09 19 at 02.22.42
    Remove Windows 10 Apps with DISM: How to remove pre-provisioned apps from Windows Image Windows Server
  • defdfd
    The password has expired, update your password and try again AWS/Azure/OpenShift
  • xxxxxx 1
    Display Windows system information via the Windows registry Windows

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

Posted on 22/08/202108/09/2024 Christian By Christian 2 Comments on 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 Pocket (Opens in new window) Pocket
  • 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

  • Active Directory Setup
    Active Directory: How to Setup a Domain Controller Windows Server
  • hero windowsadmincenter
    Failed to create a scheduled task: Cannot perform the operation because the runspace pool is not in the open state Windows Server
  • BitLocker Recovery Password Rotation in Active Directory
    Perform BitLocker Recovery Password Rotation in Active Directory Windows Server
  • RemoteDesktopLinceseServer
    Fix Remote session was disconnected because there are no Remote Desktop License Servers available to provide a license Network | Monitoring
  • How to pause updates and why
    How to Pause Windows Update via Windows Settings Windows
  • sid5
    How to Find Security Identifier on Windows [Part 2] Windows

More Related Articles

Active Directory Setup Active Directory: How to Setup a Domain Controller Windows Server
hero windowsadmincenter Failed to create a scheduled task: Cannot perform the operation because the runspace pool is not in the open state Windows Server
BitLocker Recovery Password Rotation in Active Directory Perform BitLocker Recovery Password Rotation in Active Directory Windows Server
RemoteDesktopLinceseServer Fix Remote session was disconnected because there are no Remote Desktop License Servers available to provide a license Network | Monitoring
How to pause updates and why How to Pause Windows Update via Windows Settings Windows
sid5 How to Find Security Identifier on Windows [Part 2] Windows

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

sysadmin top30a

  • Could not load file or assembly
    Unable to edit MDT XML unattended file: Could not load file Windows Server
  • Fix Network related MSSQL instance error
    Fix a network-related or instance-specific error occurred while establishing a connection to SQL Server [Part 2] Oracle/MSSQL/MySQL
  • image 3
    How to Migrate Your WordPress Site with WordPress Duplicator Network | Monitoring
  • RDS Architecture
    The following servers in this deployment are not part of the deployment Pool: Create an RDS Session Host and Collection Windows Server
  • Docker Volumes
    Create and Mount Volume to Docker Container Containers
  • Screenshot 2020 09 19 at 02.22.42
    Remove Windows 10 Apps with DISM: How to remove pre-provisioned apps from Windows Image Windows Server
  • defdfd
    The password has expired, update your password and try again AWS/Azure/OpenShift
  • xxxxxx 1
    Display Windows system information via the Windows registry Windows

Subscribe to Blog via Email

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

Join 1,834 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 AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.