Create VIP (portforward) on fortigate with DHCP WAN

GUI wont let you make multiple 0.0.0.0 external hosts. You can solve this by using the CLI.

config firewall vip
edit “Second 1.1.1.1 VIP”
set extip 1.1.1.1
set extintf “wan interface”
set portforward enable
set mappedipĀ 192.168.1.2
set extport 21
set mappedport 21
next
end

Close Menu