Fortinet FortiWiFi FortiWiFi-60 Installation And Configuration Manual page 46

Antivirus firewalls
Hide thumbs Also See for FortiWiFi FortiWiFi-60:
Table of Contents

Advertisement

Using the command line interface
46
5
Confirm that the addresses are correct. Enter:
get system interface
The CLI lists the IP address, netmask, and other settings for each of the FortiGate
interfaces.
To configure DNS server settings
Set the primary and secondary DNS server IP addresses. Enter
config system dns
set primary <address_ip>
set secondary <address_ip>
end
Example
config system dns
set primary 293.44.75.21
set secondary 293.44.75.22
end
To add a default route
Add a default route to configure where the FortiGate unit sends traffic that should be
sent to 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.
Set the default route to the Default Gateway IP address. Enter:
config router static
edit 1
set dst 0.0.0.0 0.0.0.0
set gateway <gateway_IP>
set device <interface>
end
Example
If the default gateway IP is 204.23.1.2 and this gateway is connected to WAN1:
config router static
edit 1
set dst 0.0.0.0 0.0.0.0
set gateway 204.23.1.2
set device wan1
end
01-28008-0030-20050128
NAT/Route mode installation
Fortinet Inc.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fortiwifi 60

Table of Contents