Paste number 344488: | nixos firewall example |
Pasted by: | lfam |
When: | 5 years, 3 months ago |
Share: | Tweet this! | http://paste.lisp.org/+7DT4 |
Channel: | None |
Paste contents: |
networking.firewall = { allowPing = true; allowedTCPPorts = [ 80 443 22000 ]; # 22000 syncthing traffic allowedUDPPorts = [ 21027 ]; # 21027 syncthing discovery allowedUDPPortRanges = [ { from = 60000; to = 60100; } # mosh, mobile shell ]; };
This paste has no annotations.