Using The Command Line Interface; Configuring The Fortigate Unit To Operate In Nat/Route Mode - Fortinet FortiGate 50A Installation Manual

Hide thumbs Also See for FortiGate 50A:
Table of Contents

Advertisement

Using the command line interface

Using the command line interface

Configuring the FortiGate unit to operate in NAT/Route mode

28
To add a default route
Add a default route to configure where the FortiGate unit sends traffic destined for an
external network (usually the Internet). Adding the default route also defines which
interface is connected to an external network. The default route is not required if the
interface connected to the external network is configured using DHCP or PPPoE.
1
Go to System > Router > Static.
2
If the Static Route table contains a default route (IP and Mask set to 0.0.0.0), select
the Delete icon to delete this route.
3
Select Create New.
4
Set Destination IP to 0.0.0.0.
5
Set Mask to 0.0.0.0.
6
Set Gateway to the default gateway IP address.
7
Set Device to the interface connected to the external network.
8
Select OK.
You can also configure the FortiGate unit using the command line interface (CLI). For
information about connecting to the CLI, see
interface (CLI)" on page
Use the information that you gathered in
procedures.
To add/change the administrator password
1
Log in to the CLI.
2
Change the admin administrator password. Enter:
config system admin
edit admin
set password <psswrd>
end
To configure interfaces
1
Log in to the CLI.
2
Set the IP address and netmask of the internal interface to the internal IP address and
netmask that you recorded in
14.
Table 6 on page
01-28005-0017-20041101
NAT/Route mode installation
"Connecting to the command line
Table 6 on page 26
to complete the following
26. Enter:
Fortinet Inc.

Advertisement

Table of Contents
loading

Table of Contents