Fortinet white logo
Fortinet white logo

Handbook

Configuring static routes

Configuring static routes

You configure a static route to enable you to connect to the web UI and CLI from a remote location, like your desk.

Before you begin:

  • You must have Read-Write permission for System settings.
To configure a static route:
  1. Go to System > Network > Static Route.
  2. Click Add to display the configuration editor.
  3. Complete the configuration as described in the figure/table below.
  4. Save the configuration.

Static route configuration page

Static route configuration guidelines

Settings Guidelines
Interface Select the network interface that uses the static route.
Destination IP/mask Destination IP address and network mask of packets that use this static route, separated by a slash ( / ) or space.

The value 0.0.0.0/0 is a default route, which matches all packets
Gateway IP address of the next-hop router for the FortiDDoS-F management computer.

To configure a static route using the CLI:

config system default-gateway

edit <route_number>

set destination <destination_ipv4/mask>

set gateway <gateway_ipv4>

set interface {mgmt1 | mgmt2}

end

Configuring static routes

Configuring static routes

You configure a static route to enable you to connect to the web UI and CLI from a remote location, like your desk.

Before you begin:

  • You must have Read-Write permission for System settings.
To configure a static route:
  1. Go to System > Network > Static Route.
  2. Click Add to display the configuration editor.
  3. Complete the configuration as described in the figure/table below.
  4. Save the configuration.

Static route configuration page

Static route configuration guidelines

Settings Guidelines
Interface Select the network interface that uses the static route.
Destination IP/mask Destination IP address and network mask of packets that use this static route, separated by a slash ( / ) or space.

The value 0.0.0.0/0 is a default route, which matches all packets
Gateway IP address of the next-hop router for the FortiDDoS-F management computer.

To configure a static route using the CLI:

config system default-gateway

edit <route_number>

set destination <destination_ipv4/mask>

set gateway <gateway_ipv4>

set interface {mgmt1 | mgmt2}

end