|
|
|
Configuring the FortiWiFi | NAT/Route mode installation |
To set the WAN1 interface to use PPPoE, enter:
config system interface edit WAN1
set mode pppoe
set connection enable set username <name_str> set password <psswrd>
end
4Use the same syntax to set the IP address of each FortiWiFi interface as required.
5Confirm that the addresses are correct. Enter:
get system interface
The CLI lists the IP address, netmask, and other settings for each of the FortiWiFi 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
Adding a default route
Add a default route to configure where the FortiWiFi 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.
To add a default route
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
37 | |