You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are various scenarios that I've found where ACL rules are not working in Headscale as expected:
IPv6 addresses or prefixes are not supported in dst (error Could not load the ACL policy error="invalid port format") unless they are in the hosts alias map and an alias is used instead.
Using src/dst rules with subnet router CIDRs does not send the subnet router peer itself. A dummy rule e.g subnetrouterip:0 must be defined in the ACLs to make it work.
If a node is tagged with headscale nodes tag, no peers are sent to the node even if the packet filter allows for it. Untagging the node then correctly sends the peers.
There are various scenarios that I've found where ACL rules are not working in Headscale as expected:
dst
(errorCould not load the ACL policy error="invalid port format"
) unless they are in thehosts
alias map and an alias is used instead.dst: *:*
(existing bug report - dst:"*:*" not working in ACLs #699)subnetrouterip:0
must be defined in the ACLs to make it work.headscale nodes tag
, no peers are sent to the node even if the packet filter allows for it. Untagging the node then correctly sends the peers.Context info
The text was updated successfully, but these errors were encountered: