Change to CLI commands for configuring custom Internet services (397029)
Custom internet services are no longer configured through use of the commands config application internet-service and config application internet-service-custom in the CLI.
These commands are replaced by config firewall internet-service and config firewall internet-service-custom.
CLI Syntax – examples
config firewall internet-service 1245324 set name “Fortinet-FortiGuard”
set reputation 5 set icon-id 140 set offset 1602565 config entry edit 1 set protocol 6 set port 443 set ip-range-number 27
set ip-number 80
next edit 2 set protocol 6 set port 8890 set ip-range-number 27 set ip-number 80
next edit 3 set protocol 17 set port 53 set ip-range-number 18 set ip-number 31
next edit 4 set protocol 17 set port 8888 set ip-range-number 18 set ip-number 31
next
end
end
config firewall internet-service-custom edit “custom1” set comment “custom1” config entry edit 1 set protocol 6 config port-range edit 1 set start-port 30 set end-port 33
next
end
set dst “google-drive” “icloud”
next
end
next
end