Hi
I continue to try to configure my first FortiGate.
After admin login, the GUI hang on register
I think it's beacause it has no internet access.
So I tried to configure on CLI.
First WAN :
edit "port1"
set vdom "root"
set ip 192.168.99.191 255.255.255.0
set type physical
set alias "WAN"
set role wan
set snmp-index 3
nextThen route
config router static
edit 1
set gateway 192.168.99.254
set device "port1"
next
endThen DNS
config system dns
set primary X.X.X.X
set secondary X.X.X.X
endThen firewall policy
config firewall policy
edit 1
set name "LAN_to_WAN"
set srcintf "any"
set dstintf "port1"
set action accept
set srcaddr "all"
set dstaddr "all"
set schedule "always"
set service "ALL"
set nat enable
next
end
What have I missed :) ?
Regards
Marc
Solved! Go to Solution.
Ok I have set port1 on mode dhcp. And now I have access to GUI :)
| User | Count |
|---|---|
| 2913 | |
| 1451 | |
| 852 | |
| 826 | |
| 455 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2026 Fortinet, Inc. All Rights Reserved.