diff options
author | Ben Sima <ben@bsima.me> | 2021-02-17 20:30:44 -0500 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2021-02-17 20:30:44 -0500 |
commit | c669819375378a5cebe298abc91a5aeeaf3684a5 (patch) | |
tree | 235471ccfd39f8dbe4eed2f65d22d78f144f6819 /Biz/Cloud/Networking.nix | |
parent | dda25240553486522c953e7a1f43ae67dbe2f22a (diff) |
Add routes for dandel-rovbur and sabten
Diffstat (limited to 'Biz/Cloud/Networking.nix')
-rw-r--r-- | Biz/Cloud/Networking.nix | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/Biz/Cloud/Networking.nix b/Biz/Cloud/Networking.nix index b259d86..4c8e058 100644 --- a/Biz/Cloud/Networking.nix +++ b/Biz/Cloud/Networking.nix @@ -1,9 +1,21 @@ { lib, config, ... }: -{ +let + ports = { + ssh = 22; + http = 80; + https = 443; + sabten = 8080; + }; +in { networking = { firewall = { - allowedTCPPorts = [ 22 80 443 ]; + allowedTCPPorts = [ + ports.ssh + ports.http + ports.https + ports.sabten + ]; }; nameservers = [ "67.207.67.2" |