On Sun, 26 Apr 2020 13:54:27 +0200, Jan Stary <[email protected]> wrote: > Is there a recommended way to deal with this?
If I correctly understood your problem, the solution: (from pf.conf(5)) > Host name resolution and interface to address translation are > done at ruleset load-time. When the address of an interface (or > host name) changes (under DHCP or PPP, for instance), the ruleset > must be reloaded for the change to be reflected in the kernel. > Surrounding the interface name (and optional modifiers) in > parentheses changes this behaviour. When the interface name is > surrounded by parentheses, the rule is automatically updated > whenever the interface changes its address. The ruleset does not > need to be reloaded. This is especially useful with NAT. Cheers, Daniel

