Created on 
    
	
		
		
		09-04-2019
	
		
		12:43 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
  Edited on 
    
	
		
		
		09-08-2025
	
		
		10:13 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 By  
				
		 Jean-Philippe_P
		
			Jean-Philippe_P
		
		
		
		
		
		
		
		
	
			 
		
Description
This article describes how, since FortiOS v5.6, it is possible to create a VIP with the same External IP and Mapped IP.
However, until firmware 6.0, creating a VIP with the same External IP and Mapped IP will throw an error in both CLI and GUI.
CLI Error:
Static NAT's extip should be different from mappedip.
object check operator error, -8, discard the setting
Command fail. Return code -8
GUI Error:

Scope
FortiGate.
Solution
Change the VIP Type from static-nat to load-balanc while creating the VIP. 
Disable the arp-reply, which is enabled by default.
Via CLI:
config firewall vip
    edit "SSH_redirect"
        set extip 10.50.50.150
        set extintf "any"
        set portforward enable
        set mappedip "10.50.50.150"
        set extport 666
        set mappedport 22
        set arp-reply disable   
        set type load-balance   
end
Via GUI:

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.