change extraUpFlags to extraSetFlags across the board
This commit is contained in:
@@ -19,11 +19,11 @@ in {
|
|||||||
authKeyFile = authkey_file;
|
authKeyFile = authkey_file;
|
||||||
extraSetFlags = [
|
extraSetFlags = [
|
||||||
"--advertise-routes=10.10.0.10/32" # advertise self
|
"--advertise-routes=10.10.0.10/32" # advertise self
|
||||||
];
|
|
||||||
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
|
||||||
];
|
];
|
||||||
|
extraUpFlags = [
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# network config
|
# network config
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ in {
|
|||||||
enable = true;
|
enable = true;
|
||||||
useRoutingFeatures = "both";
|
useRoutingFeatures = "both";
|
||||||
#authKeyFile = authkey_file;
|
#authKeyFile = authkey_file;
|
||||||
extraUpFlags = [
|
extraSetFlags = [
|
||||||
"--accept-routes=true" # true is equilivant to useRoutingFeatures = "client" (breaks shit)
|
"--accept-routes=true" # true is equilivant to useRoutingFeatures = "client" (breaks shit)
|
||||||
"--accept-dns=true" # explicitly allow resolved
|
"--accept-dns=true" # explicitly allow resolved
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user