Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPv6 exit node ACL not working #1277

Closed
fuomag9 opened this issue Mar 22, 2023 · 5 comments
Closed

IPv6 exit node ACL not working #1277

fuomag9 opened this issue Mar 22, 2023 · 5 comments
Labels
bug Something isn't working stale

Comments

@fuomag9
Copy link

fuomag9 commented Mar 22, 2023

Bug description

Is ipv6 exit node with ACL possible? As the ACL below makes ipv4 work but ipv6 does not, and I see this in the logs, which does not seem correct:

Mar 21 20:41:49 headscale headscale[7944]: 2023-03-21T20:41:49+01:00 WRN No IPs found with the alias all6

On discord it was suggested to use [::]/0 but that did not work as well and outputted the same log

To Reproduce

Create an exit node and use the following ACL

{
  "groups": {
    "group:admin": ["fuomag9"]
  },
"Hosts": {
        "all6":  "::/0",
    },
  "acls": [
   { "action": "accept", "src": ["group:admin"], "dst": ["group:admin:*"] },
   {"action": "accept", "src": ["group:admin"], "dst": ["0.0.0.0/0:*"]},
   {"action": "accept", "src": ["group:admin"], "dst": ["all6:*"]}
  ]
}

Context info

  • 0.21.0
  • 1.38.1
  • MacOS 13.2.1 (22D68) tailscale, RHEL 9.1 headscale
  • Linux proxmox 6.1.15-1-pve
@fuomag9 fuomag9 added the bug Something isn't working label Mar 22, 2023
@github-actions
Copy link
Contributor

This issue is stale because it has been open for 180 days with no activity.

@github-actions github-actions bot added the stale label Sep 26, 2023
@almereyda
Copy link

It will be useful to reconsider this use case, now that the #1473 has passed.

@github-actions github-actions bot removed the stale label Sep 29, 2023
@turbotorsten
Copy link

"dst": ["::/0:*"],

works for me to enable IPv6

Copy link
Contributor

github-actions bot commented Feb 5, 2024

This issue is stale because it has been open for 90 days with no activity.

@github-actions github-actions bot added the stale label Feb 5, 2024
Copy link
Contributor

This issue was closed because it has been inactive for 14 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

3 participants