fix(inadyn): filter IPv6 via Global Unicast Address Prefix
This commit is contained in:
parent
be9f968c51
commit
921b59fa40
1 changed files with 2 additions and 2 deletions
|
@ -81,8 +81,8 @@ in
|
|||
''}";
|
||||
services.inadyn.ipv6.enable = true;
|
||||
services.inadyn.ipv6.command = "${pkgs.writeScript "get-ipv6" ''
|
||||
${pkgs.tailscale}/bin/tailscale status --json \
|
||||
| ${pkgs.jq}/bin/jq -r '.Self.Addrs' \
|
||||
${pkgs.iproute2}/bin/ip -6 addr show scope global \
|
||||
| ${pkgs.grepcidr}/bin/grepcidr '2000::/3' \
|
||||
| grep -o '[0-9a-f:]*::102'
|
||||
''}";
|
||||
services.inadyn.domains = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue