FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
guptas
Staff
Staff
Article Id 195059
Description
By default, FTP is accessible on port 21 and even the port will be configured forwarding on the firewall to use FTP server on different port, users unable to connect to FTP server and gets below error:



Solution
This configuration will help users to take access FTP server externally on different port number with port forwarding configuration on FortiGate:

It is necessary to add session helper for different port on which FTP server is accessible externally.

Configuration Setup.
# config sys session-helper
    edit <id>
        set name ftp
        set protocol 6
        set port <port number>
    next
end
Example.

To use FTP server externally on port 9630 for example.
# config sys session-helper
    edit 22
        set name ftp
        set protocol 6
        set port 9630
    next
end






Contributors