Created on
11-14-2019
12:02 AM
Edited on
03-13-2025
07:01 AM
By
Stephen_G
Description
This article describes how to configure and troubleshoot an FTP proxy on FortiGate.
Scope
FortiGate.
Solution
The FortiGate FTP explicit feature enables explicit FTP proxying of IPv4 and IPV6 traffic on one or more FortiGate interfaces.
To access ftp services, users on a network must configure their ftp application to use the explicit proxy and set the proxy server address to the IP address of the FortiGate interface that has explicit proxy enabled.
From the GUI:
Then select the interface in which FortiGate needs to listen for FTP proxy, and select the desired port number.
COMMAND:
Note that if a proxy-user is used as part of the user name, provide a proxy-passwd as part of the password.
Furthermore, proxy-token can only be provided in the password if proxy-user has been provided.
Command:
PASS ****
Login successful.
STATUS: Login successful.
For troubleshooting FTP Proxy cases, enable WAD debugging on FortiGate:
diagnose debug console timestamp enable
diagnose wad debug enable level verbose
diagnose wad debug display pid enable
diagnose wad debug enable category ftp
diagnose wad filter dst x.x.x.x <- Replace the x.x.x.x with FTP server IP.
diagnose wad filter list
diagnose wad debug show
diagnose debug enable
When using FTP Over HTTP, the configuration must be as follows:
config web-proxy explicit
set status enable
set ftp-over-http enable <- This option must be enabled.
set http-incoming-port 8020
set https-incoming-port 8080
set ftp-incoming-port 8021
config system interface
edit "port10"
set vdom "root"
set ip 10.120.0.61 255.255.252.0
set allowaccess ping https ssh http
set type physical
set explicit-ftp-proxy enable
set explicit-web-proxy enable
set sbnmp-index 12
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.