Archived
Merge pull request 'Fix tailscale exit-node module: enable routing, compose on enable-service' (#11) from worktree-tailscale-exit-node into main
Check NixOS configurations / eval-hosts (push) Failing after 12m10s
Check NixOS configurations / eval-hosts (push) Failing after 12m10s
Reviewed-on: #11
This commit was merged in pull request #11.
This commit is contained in:
commit
ac8c9a20e3
1 file changed
+9
-1
@@ -1,8 +1,16 @@
|
|||||||
_:
|
_:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
imports = [ ./enable-service.nix ];
|
||||||
|
|
||||||
services.tailscale = {
|
services.tailscale = {
|
||||||
enable = true;
|
# Enables the sysctl forwarding settings exit nodes/subnet routers need;
|
||||||
|
# without this, --advertise-exit-node has no effect.
|
||||||
|
useRoutingFeatures = "server";
|
||||||
|
|
||||||
|
# Lets peers reach this node directly over the tailscale UDP port
|
||||||
|
# instead of relaying through DERP.
|
||||||
|
openFirewall = true;
|
||||||
|
|
||||||
# extraSetFlags (tailscale set, via the always-on tailscaled-set
|
# extraSetFlags (tailscale set, via the always-on tailscaled-set
|
||||||
# service), not extraUpFlags -- extraUpFlags is only ever applied by
|
# service), not extraUpFlags -- extraUpFlags is only ever applied by
|
||||||
|
|||||||
Reference in new issue
Block a user