Content of "This Firewall" Alias

Started by banym, September 16, 2020, 07:30:00 PM

Previous topic - Next topic
Can I check what "This Firewall" looks like?

Does it contain the IPV6 DHCP wan address?
Twitter: banym
Mastodon: banym@bsd.network
Blog: https://www.banym.de

yes. can view actual rule in Firewall-diagnostics-pfinfo.
"This firewall" == "self" keyword (means all IPs assigned to interface)

It's a special keyword inside pf matching all configured addresses of the system. It's not an alias that can be inspected as far as I know.


Cheers,
Franco

actually we can with a little trick )
make advanced alias (eg "self_content"). then
pfctl -t self_content -Tadd {self}
pfctl -t self_content -Tshow