config firewall service custom
edit "FTP"
set category "File Access"
set tcp-portrange 21
set session-ttl 4800
next
end
config firewall policy
edit 4
set srcintf "mgmt1"
set dstintf "port3"
set srcaddr "all"
set dstaddr "FTP"
set action accept
set schedule "always"
set service "ALL"
set logtraffic disable
set session-ttl 3600
next
end
config system session-ttl
config port
edit 1
set protocol 6
set timeout 28800
set start-port 21
set end-port 21
next
end
end
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 2024 Fortinet, Inc. All Rights Reserved.