added advertise-routes to defiant tailscale config
This commit is contained in:
parent
500cbc213c
commit
ab94cb1dae
|
@ -162,7 +162,10 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
authKeyFile = config.sops.secrets."wireguard-keys/tailscale-authkey/defiant".path;
|
authKeyFile = config.sops.secrets."wireguard-keys/tailscale-authkey/defiant".path;
|
||||||
useRoutingFeatures = "server";
|
useRoutingFeatures = "server";
|
||||||
extraUpFlags = ["--advertise-exit-node"];
|
extraUpFlags = [
|
||||||
|
"--advertise-exit-node"
|
||||||
|
"--advertise-routes=192.168.1.0/24"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue