diff options
author | makefu <github@syntax-fehler.de> | 2018-01-28 14:15:48 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2018-01-28 14:15:48 +0100 |
commit | e2a6d7ba2dc9842ea6e61f1445e03d4c2fdb18eb (patch) | |
tree | 915c1569f2c24ff4c55c0dc23f6fce21f4286f22 /1systems/gum/config.nix | |
parent | a57ce347ae6f9a0562ef9a4b51f273495ae8474d (diff) |
ma gum.r: add vpn pubkeys for work router
Diffstat (limited to '1systems/gum/config.nix')
-rw-r--r-- | 1systems/gum/config.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/1systems/gum/config.nix b/1systems/gum/config.nix index f473d9e4c..a656fdce3 100644 --- a/1systems/gum/config.nix +++ b/1systems/gum/config.nix @@ -109,6 +109,8 @@ in { #} { # wireguard server + # opkg install wireguard luci-proto-wireguard + # TODO: networking.nat # boot.kernel.sysctl."net.ipv4.ip_forward" = 1; @@ -136,9 +138,23 @@ in { allowedIPs = [ "10.244.0.3/32" ]; publicKey = "Lju7EsCu1OWXhkhdNR7c/uiN60nr0TUPHQ+s8ULPQTw="; } + { + # x-test + allowedIPs = [ "10.244.0.4/32" ]; + publicKey = "vZ/AJpfDLJyU3DzvYeW70l4FNziVgSTumA89wGHG7XY="; + } + { + # work-router + allowedIPs = [ "10.244.0.5/32" ]; + publicKey = "QJMwwYu/92koCASbHnR/vqe/rN00EV6/o7BGwLockDw="; + } ]; }; } + { # iperf3 + networking.firewall.allowedUDPPorts = [ 5201 ]; + networking.firewall.allowedTCPPorts = [ 5201 ]; + } ]; makefu.dl-dir = "/var/download"; |