Using the command line interface
Using the command line interface
Configuring the FortiGate unit to operate in NAT/Route mode
30
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
config system interface
edit internal
set mode static
set ip <address_ip> <netmask>
end
Example
config system interface
edit internal
set mode static
set ip <192.168.120.99> <255.255.255.0>
end
3
Set the IP address and netmask of the external interface to the external IP address
and netmask that you recorded in
17.
Table 6 on page
Table 6 on page
01-28008-0017-20050128
NAT/Route mode installation
"Connecting to the command line
Table 6 on page 28
to complete the following
28. Enter:
28.
Fortinet Inc.
Need help?
Do you have a question about the FortiGate FortiGate-50A and is the answer not in the manual?
Questions and answers