Close Menu
    What's Hot

    Fix Apple Intelligence Not Working in a macOS VM (VMware/UTM) on Windows 11/10 Host

    January 6, 2026

    Top Hamachi Alternatives for Virtual LAN Gaming in 2026

    January 1, 2026

    250+ Funny Facebook Status/Quotes/Posts in 2026 – Free AI Creator

    December 29, 2025
    Facebook X (Twitter) YouTube LinkedIn
    Facebook X (Twitter) YouTube LinkedIn
    SysprobsSysprobs
    • Tech Guides
      • Windows
        • Windows 11
        • Windows 10
        • Windows Servers
      • Virtualization
        • VirtualBox
        • VMware
        • Hyper-V
        • Server Virtualization
        • VirtualBox Images
      • PC
        • Linux
        • macOS
        • Hackintosh
        • MS Office
      • Pro IT Tips
        • Internet
        • MS Exchange
        • Fintech
    • Reviews
      • Gadgets
        • Android
        • iPhone
    • Security & Privacy
      • IT Security
    • Trading Gear
      • Laptops
    SysprobsSysprobs
    Home»Pro IT Tips»How to Allow FTP Incoming Traffic on FortiGate by Port Forwarding

    How to Allow FTP Incoming Traffic on FortiGate by Port Forwarding

    DineshBy DineshUpdated:November 11, 2020
    Share
    Facebook Twitter LinkedIn Pinterest Email

    In this article, let me show you how to allow incoming FTP traffic on the FortiGate firewall device so that you can host the FTP sites to the outside world. We will use port forwarding technique to complete this target. Any incoming FTP requests to external (WAN) interface will reach the FTP server on the internal network. FortiGate is a famous hardware firewall device which can protect your home and office network from network threats. We can set up several firewall policies and filtering options to secure the network. It can also work as a web application firewall device if you are hosting web or FTP sites internally but want to allow access to external users through the internet.

    We have earlier published a guide about setting up an FTP server on Windows 10/8.1 and how to allow FTP traffic on Windows firewall service. If you want to host the same FTP site from Windows PC or Windows 2012 R2 server to the external network through FortiGate firewall, then this post will be useful.

    Note: Though the below screenshots had been taken on FortiOS 5.x version, it is applicable for latest versions such as 6.x. You may find similar options but with a slightly different GUI screen.

    Steps to Allow FTP Port Forwarding in FortiGate

    1) Create a virtual IP which maps the internal and external IP with a correct TCP/UDP port number.

    Firstly check the WAN IP of the interface which is connected to the internet. If you have a static public IP on the WAN interface, then write it down. Check the WAN IP in FortiGate

    If you do not have the static IP on WAN interface which changes dynamically, then you should use ‘dynamic DNS’ service such as DynDNS to map the particular web address name to IP address. You can check this guide about setting up DynDNS on Fortigate.

    Head down to ‘Virtual IPs’ and create a new virtual IP.

    Enter the name of an object, select the correct WAN interface which will receive the incoming FTP traffic. As said earlier, if the WAN IP is a dynamic (not fixed), leave the ‘External IP address/Range’ to 0.0.0.0 as shown below, otherwise, you have to enter the static IP in these fields.

    On the next box, type the IP address of the local FTP server which will accept FTP traffic through this FortiGate Firewall.

    Enable Port Forwarding and enter port number 21 as TCP port (which is used by FTP protocol by default).  Click OK to save the changes.

    create virtual ip - fortigate port forwarding

    2) Create a new firewall policy to allow incoming FTP traffic.

    Select the WAN port as an incoming port and ‘all’ under source address.

    Select the port where the network of FTP server is connected, mostly it could be on internal or DMZ port.

    The destination address should be the virtual IP we created in step 1, set the schedule if you want to restrict the access during a specific time.

    The service can be ‘ALL’ or ‘FTP’, since we set the FTP port number in virtual IP, selecting the ‘All’ will not cause any issues. Select Accept in Action.

    If you have any security profiles to restrict and monitor the traffic, you can apply them under security profiles area. Do not forget to enable Logging options if you like to log and track the allowed traffic. allow incoming ftp traffic in policyWith the above policy, we have successfully configured to allow incoming FTP traffic on the WAN interface by using Fortigate port forwarding method.

    Two important checks

    1. Make sure FTP service is running on port 21 on the server because we allowed only this port number. For any special cases, if you are hosting FTP or SFTP sites on different port numbers, then you need to modify the virtual IP to accept a particular port number.
    2. Gateway of the FTP server should be the FortiGate internal interface IP. For example, if you have multiple FortiGate devices and routers on the network, the FTP server gateway IP  must point to this FortiGate which is accepting the incoming FTP traffic. Because the traffic will flow back by that default gateway only.
    Firewall Fortigate FortiOS5.2 Windows 2012 R2
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Dinesh
    • Website

    Dinesh is the founder of Sysprobs and written more than 400 articles. Enthusiast in Microsoft and cloud technologies with more than 15 years of IT experience.

    Related Posts

    250+ Funny Facebook Status/Quotes/Posts in 2026 – Free AI Creator

    December 29, 2025

    10 Best Home Server OS in 2026 (Linux & Windows) for Media Lovers

    December 24, 2025

    Step-by-Step Guide to Creating Personalized Banners Online

    October 4, 2025

    The Cost of Human Error: How SAP Solutions Help to Avoid Business Damage

    October 2, 2025

    The Ultimate Guide to Combining PDF Documents

    July 25, 2025

    Why are Web Applications Becoming Popular?

    July 24, 2025

    Comments are closed.

    Top Posts

    Network Stack BIOS – What is it, and Should I enable it?

    December 15, 2025

    250+ Funny Facebook Status/Quotes/Posts in 2026 – Free AI Creator

    December 29, 2025

    How to Install and Use Outlook for Ubuntu 24.04 LTS/24.10

    December 10, 2025
    Don't Miss

    Fix Apple Intelligence Not Working in a macOS VM (VMware/UTM) on Windows 11/10 Host

    January 6, 2026

    Apple Intelligence not showing up (or refusing to enable) inside a macOS VM is usually…

    Top Hamachi Alternatives for Virtual LAN Gaming in 2026

    January 1, 2026

    250+ Funny Facebook Status/Quotes/Posts in 2026 – Free AI Creator

    December 29, 2025

    Context Engineering vs Prompt Engineering: The Battle You Didn’t Know Was Happening

    December 29, 2025
    Stay In Touch
    • Facebook
    • YouTube
    • Twitter
    • LinkedIn
    Latest Posts

    Fix Apple Intelligence Not Working in a macOS VM (VMware/UTM) on Windows 11/10 Host

    January 6, 2026

    Top Hamachi Alternatives for Virtual LAN Gaming in 2026

    January 1, 2026

    250+ Funny Facebook Status/Quotes/Posts in 2026 – Free AI Creator

    December 29, 2025
    INFORMATION
    • About
    • Contact Us
    • Privacy Policy
    ABOUT

    Established in 2007, Sysprobs is a trusted resource for IT professionals and System Administrators. We bridge the gap between enterprise infrastructure and the future of fintech security. From Windows virtualization to Blockchain node management, we provide technical guides for the modern digital economy.

    POPULAR SECTION

    WINDOWS 11
    WINDOWS 10
    VIRTUALIZATION
    IT SECURITY
    PRO IT TIPS

     

    Sysprobs
    Facebook X (Twitter) YouTube LinkedIn
    • Home
    • Windows
    • Cloud
    • Security & Privacy
    © 2026 SYSPROBS: System Security & Fintech Solutions. Protected by Cloudflare.

    Type above and press Enter to search. Press Esc to cancel.