summaryrefslogtreecommitdiffstats
path: root/krebs/3modules
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-01-16 11:10:34 +0100
committertv <tv@krebsco.de>2019-01-16 11:10:34 +0100
commit2d2ab95f0707209c4c248d43cb57877a50a37991 (patch)
treec5d6240c03f3cfad9f0a91570c9861ea2b59e95b /krebs/3modules
parent1e37db3b790cd4c01efd37722f2cc2fc40966b4e (diff)
krebs tinc: Broadcast = no
Diffstat (limited to 'krebs/3modules')
-rw-r--r--krebs/3modules/tinc.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/krebs/3modules/tinc.nix b/krebs/3modules/tinc.nix
index ecd449b09..24eac7158 100644
--- a/krebs/3modules/tinc.nix
+++ b/krebs/3modules/tinc.nix
@@ -27,6 +27,7 @@ let
"tinc.conf" = pkgs.writeText "${netname}-tinc.conf" ''
Name = ${tinc.config.host.name}
Interface = ${netname}
+ Broadcast = no
${concatMapStrings (c: "ConnectTo = ${c}\n") tinc.config.connectTo}
PrivateKeyFile = ${tinc.config.privkey.path}
Port = ${toString tinc.config.host.nets.${netname}.tinc.port}