Hi,
I wanted to apply set match-vip enable to policy and it turns out FortiOS doesn't have such a command ! When it was removed, and how can I now accomplish hair-pin NAT ?
This is what I get in cli:
# set match-vip enable
command parse error before 'match-vip'
Command fail. Return code -61
When I do set ? it doesn't even display me match-vip as an argument.
It's still there in 5.6.6 (and I assume in 5.6.5 since it transferred my match-vip enable settings).
Are you setting it from within the specific security policy? That's where you need to enable it.
Example:
config firewall policy
edit 226 set srcintf "Example-SourceInterface" set dstintf "Example-TargetInterface" set srcaddr "all" set dstaddr "all" set action accept set schedule "always" set service "SMTP" set comments "Hairpin NAT Fix" set match-vip enable next
end
-DDSkier FCNSA, FCNSP FortiGate 400D, (2) 200D, (12) 100D, (2) 60D
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 |
---|---|
1737 | |
1107 | |
752 | |
447 | |
240 |
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 2024 Fortinet, Inc. All Rights Reserved.