Tailscale: Difference between revisions

imported>Telotortium
Initial page stub
 
imported>Cablespaghetti
Add ipv6 known issue and basic docs
Line 8: Line 8:


== Basic setup ==
== Basic setup ==
{{Expansion}}
Enabling tailscale is as simple as adding <code><nowiki>services.tailscale.enable = true;</nowiki></code> to your Nix config.
 
If you are using features like subnet routers or exit nodes you will also need to set <code><nowiki>services.tailscale.useRoutingFeatures</nowiki></code> to "server", "client" or "both" depending on the role of your machine.


== Configuring TLS ==
== Configuring TLS ==
Line 21: Line 23:
* Show how to run for multiple services on a single machine.
* Show how to run for multiple services on a single machine.
}}
}}
== Known issues ==
If you encounter issues with IPv6 not working through your NixOS-based exit node, this might be an issue with the tailscale client's detection of whether IPv6 NAT is supported. This is the "checkSupportsV6NAT" function in the tailscale codebase. Enabling <code><nowiki>networking.nftables.enable = true;</nowiki></code> and then rebooting may fix this issue if you are using iptables.


== Running multiple Tailnet-accessible services on a single machine ==
== Running multiple Tailnet-accessible services on a single machine ==