Maintaining a safe, effective, and compliant network environment requires configuring a FortiGate firewall for internet access. It offers the resources you need to safeguard your network, control traffic, enhance performance, and maintain regulatory compliance.
Using command:
Set
name Fortigate:
config
system global
set
hostname FT-HQ
Set
IP
config system interface
edit
port1
set
mode static
set
ip 192.168.37.10/24
set
allowaccess ping https http ssh telnet
set
role wan
set
alias WAN
end
Configure
Route
config
router static
edit
1
set
dst 0.0.0.0/0
set gateway 192.168.37.2
set
device port1
Using Interface
For
interface
Networkg Interfaceg chose Interface for WAN (port1)g Double Click on it
Alias (WAN)g
Role (WAN)g
Addressing mode (Manual)g IP/Netmask 192.168.37.10/255.255.255.0 g
Administrative Accessg IPv4 HTTPS, HTTP, PING, TELNET, SSHg Ok
Network DNS
DNS
DNS servers (Specify)
Primary DNS: 8.8.8.8
Secondary DNS serve 8.8.4.4
Static Routes
Create
Newg
Destination g
Subnet 0.0.0.0/0.0.0.0
Gateway:
192.168.57.2
Interface:
port1 (WAN) g
Ok
Testing
Excecute
ping google.com