summaryrefslogtreecommitdiff
path: root/bragi.nix
diff options
context:
space:
mode:
Diffstat (limited to 'bragi.nix')
-rw-r--r--bragi.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/bragi.nix b/bragi.nix
index 1ea4f214..e4bda858 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -191,9 +191,12 @@
191 enable = true; 191 enable = true;
192 allowPing = true; 192 allowPing = true;
193 allowedTCPPorts = [ 22 193 allowedTCPPorts = [ 22
194 ]; 194 ];
195 allowedUDPPortRanges = [ { from = 60000; to = 61000; } # mosh 195 allowedUDPPortRanges = [ { from = 60000; to = 61000; } # mosh
196 ]; 196 ];
197 extraCommands = ''
198 iptables -t nat -A POSTROUTING -o wlp4s0 -j MASQUERADE
199 '';
197 }; 200 };
198 201
199 services.dhcpd = { 202 services.dhcpd = {