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
  • Install and configure wds 1
    Install Windows Deployment Services on Windows Server 2022 Windows Server
  • ad
    Service and Network Port requirements for Active Directory Windows
  • unionfsfeature
    How to Overlay two files with UnionFs in a Linux System Linux
  • Slide2 1
    SU Authentication Fix: Sudo Permission Denied in Ubuntu Linux
  • How to fix BitLocker always prompting for Recovery Key
    How to fix BitLocker always prompting for Recovery Key Windows
  • Integrate OOTBI with VBR
    How to integrate ObjectFirst OOTBI Appliance with VBR Backup
  • image 41
    INACCESSIBLE BOOT DEVICE: Fix Your PC ran into a problem and needs to restart Windows
  • term “git” was not used as the name of a cmdlet, function, script file, or executable Program recognised
    The term “git” was not used as the name of a cmdlet, function, script file, or executable Program recognized Version Control System

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.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to 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

  • Comprehensive guide on WSUS setup
    How to install WSUS on Windows Server 2022 Windows Server
  • Could not load file or assembly
    Unable to edit MDT XML unattended file: Could not load file Windows Server
  • Missing Windows defender
    Missing Windows Defender? Install and manage Microsoft Defender via Windows Security on Windows Server Windows Server
  • Defender Antivirus
    Windows Defender Antivirus Management with Intune Anti-Virus Solution
  • Nakivo windows server backup
    How to perform Windows Server backup with Nakivo or Windows Server backup utility Windows Server
  • Windows 10 1024x683 1
    ADK|WinPE|MDT: Deploy Windows with WDS Windows Server

More Related Articles

Comprehensive guide on WSUS setup How to install WSUS on Windows Server 2022 Windows Server
Could not load file or assembly Unable to edit MDT XML unattended file: Could not load file Windows Server
Missing Windows defender Missing Windows Defender? Install and manage Microsoft Defender via Windows Security on Windows Server Windows Server
Defender Antivirus Windows Defender Antivirus Management with Intune Anti-Virus Solution
Nakivo windows server backup How to perform Windows Server backup with Nakivo or Windows Server backup utility Windows Server
Windows 10 1024x683 1 ADK|WinPE|MDT: Deploy Windows with WDS 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

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a
 
  • Install and configure wds 1
    Install Windows Deployment Services on Windows Server 2022 Windows Server
  • ad
    Service and Network Port requirements for Active Directory Windows
  • unionfsfeature
    How to Overlay two files with UnionFs in a Linux System Linux
  • Slide2 1
    SU Authentication Fix: Sudo Permission Denied in Ubuntu Linux
  • How to fix BitLocker always prompting for Recovery Key
    How to fix BitLocker always prompting for Recovery Key Windows
  • Integrate OOTBI with VBR
    How to integrate ObjectFirst OOTBI Appliance with VBR Backup
  • image 41
    INACCESSIBLE BOOT DEVICE: Fix Your PC ran into a problem and needs to restart Windows
  • term “git” was not used as the name of a cmdlet, function, script file, or executable Program recognised
    The term “git” was not used as the name of a cmdlet, function, script file, or executable Program recognized Version Control System

Subscribe to Blog via Email

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

Join 1,841 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

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

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.