NAT/Route mode installation Configuring the FortiGate unit to operate in NAT/Route mode
FortiGate-500A Installation Guide 01-28005-0101-20041015 29
To add a default gateway to an interface
The default gateway is usually configured for the interface connected to the Internet.
You can use the procedure below to configure a default gateway for any interface.
1Press Enter to display the interface list.
2Use the down arrow key to highlight the name of the interface connected to the
Internet and press Enter.
3Use the down arrow to highlight Default Gateway.
4Press Enter and set the default gateway.
5After you set the last digit of the default gateway, press Enter.
6Press Esc to return to the Main Menu.
You have now completed the initial configuration of the FortiGate unit and you can
proceed to “Next steps” on page35.
Using the command line interface
You can also configure the FortiGate unit using the command line interface (CLI). For
information about connecting to the CLI, see “Connecting to the command line
interface (CLI)” on page15.

Configuring the FortiGate unit to operate in NAT/Route mode

Use the information that you gathered in Table5 on page 26 to complete the following
procedures.
To add/change the administrator password
1Log in to the CLI.
2Change the admin administrator password. Enter:
config system admin
edit admin
set password <psswrd>
end
To configure interfaces
1Log in to the CLI.
2To set the IP address and netmask of the LAN interface, enter:
config system interface
edit lan
set ip <address_ip> <netmask>
end