Fortinet FortiGate-5001FA2 manual Using the CLI to configure NAT/Route mode

Models: FortiGate-5001FA2

1 34
Download 34 pages 58.46 Kb
Page 26
Image 26

Configuring NAT/Route mode

Quick Configuration Guide

Using the CLI to configure NAT/Route mode

1Use the serial cable supplied with your FortiGate-5001FA2 board to connect the FortiGate Console port to the management computer serial port.

2Start 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.

3At the Login: prompt, type admin and press Enter twice (no password required).

4Change the administrator password.

config system admin edit admin

set password <password>

end

5Configure 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

6Repeat 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

...

7Configure 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

8Configure 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

 

FortiGate-5001FA2 Security System Guide

26

01-30000-0379-20080606

Page 26
Image 26
Fortinet FortiGate-5001FA2 manual Using the CLI to configure NAT/Route mode, Config system interface edit port2