Created on 11-14-2019 12:02 AM Edited on 11-27-2024 10:29 PM By Jean-Philippe_P
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.
CLI debug on FortiGate:
diagnose wad debug enable level info
diagnose wad debug enable category ftp
diagnose debug enable
When using FTP Over HTTP, the configuration must be as follows:
config ftp-proxy explicit
set status enable
set incoming-port 8021
set ftp-over-http enable <- This option must be enabled.
set http-incoming-port 8021
set https-incoming-port 8021
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.