I saw this option in my OPNsense gateway configuration, and was hoping someone could shed light on what it is, exactly:
Dynamic gateway policy: [YES/NO]
This interface does not require an intermediate system to act as a gateway
With this explanation:
If the destination is directly reachable via an interface requiring no intermediary system to act as a gateway, you can select this option which allows dynamic gateways to be created without direct target addresses. Some tunnel types support this.
I found this googling and it is getting me a little closer to understanding: https://kb.fortinet.com/kb/documentLink.do?externalID=FD48900#
Once enabled, dynamic-gateway hides the gateway variable for a dynamic interface, such as a DHCP or PPPoE interface. When the interface connects or disconnects, the corresponding routing entries are updated to reflect the change.
But I still don't quite understand. Would someone be nice enough to explain to me a real-world situation in which this might be used, and the difference between using a dynamic gateway or an intermediary gateway?