Is it possible to show the content/ip of a host alias?
-
Hi,
is it possible to look whats inside the host alias (IPs) on the terminal?
-
@slu simple way would be to just cat your /tmp/rules.debug, the user aliases will be listed out in there
example:
# User Aliases 80_443_22 = "{ 80 443 22 8080 }" table <AccessPoints> { 192.168.2.2 192.168.2.3 192.168.2.4 } AccessPoints = "<AccessPoints>" table <alexas> { 192.168.4.76 192.168.4.77 192.168.4.78 192.168.4.79 192.168.4.80 } alexas = "<alexas>"
-
@slu You can run:
pfctl -T show -t aliasname
-
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.