Archived
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c939454983 |
@@ -1,8 +1,16 @@
|
|||||||
{ vars, ... }:
|
{ vars, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
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;
|
||||||
|
|
||||||
extraUpFlags = [
|
extraUpFlags = [
|
||||||
"--advertise-exit-node"
|
"--advertise-exit-node"
|
||||||
|
|||||||
Reference in New Issue
Block a user