diff options
| -rw-r--r-- | bragi.nix | 16 |
1 files changed, 1 insertions, 15 deletions
| @@ -52,21 +52,7 @@ in rec { | |||
| 52 | useDHCP = true; | 52 | useDHCP = true; |
| 53 | }; | 53 | }; |
| 54 | 54 | ||
| 55 | firewall = { | 55 | firewall.enable = false; |
| 56 | enable = true; | ||
| 57 | allowPing = true; | ||
| 58 | allowedTCPPorts = [ 22 # SSH | ||
| 59 | 80 # HTTP | ||
| 60 | 5432 # PostgreSQL | ||
| 61 | 6600 # MPD | ||
| 62 | 139 445 # SAMBA | ||
| 63 | ]; | ||
| 64 | allowedUDPPorts = [ 137 138 # SAMBA | ||
| 65 | 67 # DHCP | ||
| 66 | ]; | ||
| 67 | allowedUDPPortRanges = [ { from = 60000; to = 61000; } # mosh | ||
| 68 | ]; | ||
| 69 | }; | ||
| 70 | 56 | ||
| 71 | defaultMailServer = { | 57 | defaultMailServer = { |
| 72 | directDelivery = true; | 58 | directDelivery = true; |
