Configuring ports
To improve security, the default ports for administrative connections to the FortiGate can be changed. Port numbers must be unique. If a conflict exists with a particular port, a warning message is shown.
When connecting to the FortiGate after a port has been changed, the port number be included, for example: https://192.168.1.99:100
.
To configure the ports in the GUI:
- Go to System > Settings.
- In the Administration Settings section, set the HTTP, HTTPS, SSH, and Telnet ports.
- Enable Redirect to HTTPS to prevent HTTP from being used by administrators.
- Click Apply.
To configure the ports in the CLI:
config system global set admin-port <port> set admin-sport <port> set admin-https-redirect {enable | disable} set admin-ssh-port <port> set admin-telnet-port <port> end