https://<fgt-mgmt-ip>FortiGate-VM64-KVM login:).Open the FortiGate console (telnet). Default login:
username: admin
password: (just press Enter — blank by default)
Set the admin password and Mgmt interface (typically port1 = WAN, but we'll use port1 for Mgmt too in the lab):
config system admin
edit admin
set password NhFgt1!
next
end
config system interface
edit port1
set mode static
set ip 192.168.10.10 255.255.255.0
set allowaccess ping https ssh http
set alias Mgmt
next
end
config system dns
set primary 1.1.1.1
end
config router static
edit 1
set gateway 192.168.10.1
set device port1
next
end
end as a commit. No separate commit step like PAN-OS.192.168.10.30 / 24).https://192.168.10.10.admin / NhFgt1!.Network → Interfaces:
| Interface | Role | IP/Mask | Access |
|---|---|---|---|
| port1 (already set) | Mgmt | 192.168.10.10/24 | https ssh ping |
| port2 | WAN | 198.51.100.1/24 | ping |
| port3 | LAN | 10.10.10.1/24 | ping https |
Edit each from the GUI: assign role, set static IP, enable DHCP on LAN if you like.
Policy & Objects → Firewall Policy → Create New:
| Field | Value |
|---|---|
| Name | LAN-to-WAN |
| Incoming Interface | port3 (LAN) |
| Outgoing Interface | port2 (WAN) |
| Source | all |
| Destination | all |
| Service | ALL |
| Action | ACCEPT |
| NAT | Enabled (use outgoing interface address) |
Save. No separate commit needed.
Open the R2 telnet console:
enable
configure terminal
interface Ethernet0/0
ip address 10.10.10.10 255.255.255.0
no shutdown
ip route 0.0.0.0 0.0.0.0 10.10.10.1
end
ping 198.51.100.254 source Ethernet0/0
Reply success ⇒ traffic is going R2 → FortiGate (LAN) → NAT → R1 (WAN). Confirm in the GUI: Log & Report → Forward Traffic — your ICMP flow shows up with action accept.
| Symptom | Check |
|---|---|
| Browser shows "connection refused" | HTTPS access disabled on port1. Re-run set allowaccess ping https ssh from CLI. |
| Browser hangs forever | Wrong Mgmt IP, or port1 link is down. CLI: get system interface physical. |
| Policy added but ping fails | NAT not enabled on the policy, or no default route on R2. Check Network → Static Routes on FGT. |
| "Configuration not synchronized" | You're in HA mode by accident. get system ha → set mode standalone. |
| License banner blocks features | Expected on eval. Most labs work fine; only signature-based services (IPS, AV) need a paid license. |