Using the cli, Configure the interfaces – Fortinet FortiGate 30B User Manual

Page 23

Advertising
background image

Configuring

Configuring NAT mode

FortiGate-30B FortiOS 3.0 MR6 Install Guide
01-30006-0459-20080505

23

3

Set the following and select OK.

Firewall policy configuration is the same in NAT/Route mode and Transparent
mode.

Note that these policies allow all traffic through. No protection profiles have been
applied. Ensure you create additional firewall policies to accommodate your
network requirements.

For details, see the FortiGate Administration Guide.

Using the CLI

After connecting to the CLI, you can use the following procedures to complete the
basic configuration of the FortiGate unit. Ensure you read the section

“Connecting

to the CLI” on page 19

before beginning.

Configure the interfaces

When shipped, the FortiGate unit has a default address of 192.168.1.99 and a
netmask of 255.255.255.0. for either the Port 1 or Internal interface. You need to
configure this and other ports for use on your network.

To set an interface to use a static address

config system interface

edit <interface_name>

set mode static
set ip <address_ip> <netmask>

end

To set an interface to use DHCP addressing

config system interface

edit external

set mode dhcp
set distance <integer>
set defaultgw {enable | disable}
set dns-server-override {enable | disable}

end

Source Interface

Select the port connected to the Internet.

Source Address

All

Destination Interface Select the port connected to the network.
Destination Address All
Schedule

always

Service

Any

Action

Accept

Advertising