Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Content of "This Firewall" Alias
« previous
next »
Print
Pages: [
1
]
Author
Topic: Content of "This Firewall" Alias (Read 13646 times)
banym
Sr. Member
Posts: 468
Karma: 31
Free Human Being, FreeBSD, Linux and Mac nerd
Content of "This Firewall" Alias
«
on:
September 16, 2020, 07:30:00 pm »
Can I check what "This Firewall" looks like?
Does it contain the IPV6 DHCP wan address?
Logged
Twitter: banym
Mastodon: banym@bsd.network
Blog:
https://www.banym.de
Fright
Hero Member
Posts: 1777
Karma: 164
Re: Content of "This Firewall" Alias
«
Reply #1 on:
September 16, 2020, 09:56:40 pm »
yes. can view actual rule in Firewall-diagnostics-pfinfo.
"This firewall" == "self" keyword (means all IPs assigned to interface)
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Content of "This Firewall" Alias
«
Reply #2 on:
September 17, 2020, 08:43:30 am »
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
Logged
Fright
Hero Member
Posts: 1777
Karma: 164
Re: Content of "This Firewall" Alias
«
Reply #3 on:
September 17, 2020, 08:55:16 am »
actually we can with a little trick )
make advanced alias (eg "self_content"). then
Code:
[Select]
pfctl -t self_content -Tadd {self}
pfctl -t self_content -Tshow
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Content of "This Firewall" Alias
«
Reply #4 on:
September 17, 2020, 09:48:11 am »
How nifty, thanks!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Content of "This Firewall" Alias