I am working to phase out an aging CyberRoam CR35ing with a FortiGate 60F but have ran into a couple of things that I can't seem to find a decent explanation of. The FortiGate 60F is running the latest available firmware at this time of 7.2.2 for reference if needed. I'm going to cross one bridge at a time so-to-speak so please bear with me.
2.On the same CyberRoam appliance we use an option called Virtual Hosts (pictured below) to essentially map external IPs and ports to internally mapped IPs and ports. I know that I can do this by using Virtual IPs on my 60F but when I attempt to assign them I'm running into a small problem. When I attempt to add a range of IPs (i.e. x.x.x.221-x.x.x.226) it tells me that it's an invalid IP address. If I just put the starting IP address in it works fine.
Thanks for any and all opinions and answers!
@HEdwarIT_CMCPL
For your first question, you can put only 2 IPs on one interface on fortigate:
Technical Tip: Set a secondary IP on a FortiGate i... - Fortinet Community
This means that you cannot enable all 4 IPs as in your first appliance.
The approach here is to create VIP for every internal IP and put IP that includes all subnet on WAN interface
For your second question you can create Virtual IP group where you can include all required IPs (your second picture) but in your case it gives error because you have one external IP mapping to many internal. You have to put many external to many internal
i.e External IP/Range 10.10.10.10-10.10.10.13
Mapped to 192.168.1.20-192.168.1.23
And for your third question is the same with ports. You have that error because you have to select Many to many and put the port numbers in the fields
To build on the excellent response above, you might not need to do the first step of putting the extra IP addresses on your interface. With VIPs configured, the ForitGate will automatically respond to arp requests for the public IP address that is configured in the VIP.
You can have more than 1 secondary address on an interface. AFAIK the limit is 256 addresses in all.
This is in FortiOS v6.4.11:
Regarding mapping a range of IP addresses:
You can indeed use ONE VIP for a range of addresses, like so:
You notice that there needs to be an equal number of mappings, that is, you can map 10 external addresses to 10 internal ones. But you cannot map one external address to 10 internal ones, using round robin or the like. This would be a "load balancing VIP", which does exist but will be configured via CLI only.
After a while, you will see there are many ways to solve a problem in FortiOS, sometimes even more than one at a time.
Thanks to everyone that has responded so far! I will look into trying these out later this afternoon.
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1751 | |
1114 | |
766 | |
447 | |
241 |
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 2025 Fortinet, Inc. All Rights Reserved.