add extraSetFlags to tailscale config
This commit is contained in:
@@ -17,10 +17,12 @@ in {
|
|||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
useRoutingFeatures = "both";
|
useRoutingFeatures = "both";
|
||||||
authKeyFile = authkey_file;
|
authKeyFile = authkey_file;
|
||||||
|
extraSetFlags = [
|
||||||
|
"--advertise-routes=10.10.0.10/32" # advertise self
|
||||||
|
];
|
||||||
extraUpFlags = [
|
extraUpFlags = [
|
||||||
"--accept-routes=false" # true is equilivant to useRoutingFeatures = "client" (breaks shit)
|
"--accept-routes=false" # true is equilivant to useRoutingFeatures = "client" (breaks shit)
|
||||||
"--accept-dns=true" # explicitly allow resolved
|
"--accept-dns=true" # explicitly allow resolved
|
||||||
"--advertise-routes=10.10.0.10/32" # advertise self
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user