# config firewall internet-service-customSample configuration.
edit <name>
set comment <comment>
set reputation {1|2|3|4|5}
# config entry
edit <ID #>
set protocol <number #>
set dst <object_name>
# config port-range
edit <ID #>
set start-port <number #>
set end-port <number #>
next
end
next
end
end
end
# config firewall internet-service-customTo apply a custom Internet Service into a policy:
edit "test-isdb-1"
set comment "Test Custom Internet Service"
set reputation 4
# config entry
edit 1
set protocol 6
# config port-range
edit 1
set start-port 80
set end-port 443
next
end
set dst "10-1-100-0"
next
edit 2
set protocol 6
# config port-range
edit 1
set start-port 80
set end-port 80
next
end
set dst "172-16-200-0"
next
end
next
end
# config firewall policyResult.
edit 1
set name "Internet Service in Policy"
set srcintf "wan2"
set dstintf "wan1"
set srcaddr "all"
set internet-service enable
set internet-service-id 65646
set internet-service-custom "test-isdb-1"
set action accept
set schedule "always"
set utm-status enable
set av-profile "g-default"
set ssl-ssh-profile "certificate-inspection"
set nat enable
next
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.