Hi,
Is it possible on Fortigate to use the same port and NAT it to two different internal Devices depend to the which source public IP is requesting the connection?
Example :
Src-IP-1 + DST-Port-222 --> 192.168.1.100:222
Src-IP-2 + DST-Port-222 --> 192.168.1.101:222
Thank you
Yes, there is an option in VIP config to specify traffic by source IP(s). At least my 50E took the config below although I haven't test it.
config firewall vip edit "VIPtest1" set src-filter "1.1.1.1" set service "SMTP" set extip x.x.x.x set extintf "WAN_INTERFACE" set portforward enable set mappedip "172.16.2.200" set mappedport 25 next edit "VIPtest2" set src-filter "2.2.2.2" set service "SMTP" set extip x.x.x.x set extintf "WAN_INTERFACE" set portforward enable set mappedip "172.16.2.201" set mappedport 25 next end
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 |
---|---|
1742 | |
1113 | |
759 | |
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.