Fortinet FortiGate-5001FA2 Switch User Manual


 
FortiGate-5001FA2 Security System Guide
26 01-30000-0379-20080606
Configuring NAT/Route mode Quick Configuration Guide
Using the CLI to configure NAT/Route mode
1 Use the serial cable supplied with your FortiGate-5001FA2 board to connect the
FortiGate Console port to the management computer serial port.
2 Start a terminal emulation program (HyperTerminal) on the management
computer. Use these settings:
Baud Rate (bps) 9600, Data bits 8, Parity None, Stop bits 1, and Flow Control
None.
3 At the Login: prompt, type admin and press Enter twice (no password required).
4 Change the administrator password.
config system admin
edit admin
set password <password>
end
5 Configure the port1 internal interface to the setting that you added to Table 6 on
page 24.
config system interface
edit port1
set ip <intf_ip>/<netmask_ip>
end
6 Repeat to configure each interface as required, for example, to configure the port2
interface to the setting that you added to Table 6 on page 24.
config system interface
edit port2
...
7 Configure the primary and secondary DNS server IP addresses to the settings
that you added to Table 6 on page 24.
config system dns
set primary <dns-server_ip>
set secondary <dns-server_ip>
end
8 Configure the default gateway to the setting that you added to Table 6 on page 24.
config router static
edit 1
set device <interface_name>
set gateway <gateway_ip>
end