Hi guys,
New in using Fortinet firewall and getting familiar with configurations. 2 VIPs configured for external proxy and this has been configured under config firewall policy as dstaddr. I would like to know what does the dstaddr means is there are 2 two objects stated.
edit 11 set srcintf " internal" set dstintf " wan1 " set srcaddr " any" set dstaddr "VIP1""VIP2 "
set action accept
Thanks in advance
The word dstaddr means "destination address", in this case it's the 2x VIPS that where configured
Ken
PCNSE
NSE
StrongSwan
Thank you for the reply.
How will be the operation when there are two dstaddr, primary/secondary? It is good to clarify.
NO that does not do that or work in that way, that's a fwpolicy, it looks at the VIP1 or VIP2 addres being allowed by that policy, nothing more. If traffic matches VIP1 or VIP2 address it will pass ( depending on the fwpolicy action of "accept" in your example )
Multiple src or dst addr applied to a fwpolicy reduce the total amount of rules and management. It can simplify design.
You could have more or less methods of achieving the same outcome;
examples
config firewall policy
edit 11 set srcintf " internal" set dstintf " wan1 " set srcaddr " any" set dstaddr "VIP2" set action accept blah blah blah
next
edit 12 set srcintf " internal" set dstintf " wan1 " set srcaddr " any" set dstaddr "VIP1"" set action accept blah blah blah
next
Or you could even done
config firewall vipgrp
edit myvips
set member VIP1 VIP2
end
config firewall policy
edit 13 set srcintf " internal" set dstintf " wan1 " set srcaddr " any" set dstaddr myvips set action accept blah blah blah
next
And had accomplished the same thing.
Ken
PCNSE
NSE
StrongSwan
User | Count |
---|---|
2551 | |
1356 | |
795 | |
646 | |
455 |
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.