diff options
Diffstat (limited to 'bragi.nix')
-rw-r--r-- | bragi.nix | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 = { |