oignon: nft: output-lan: accept HTTP(s)
authorJulien Moutinho <julm+julm-nix@sourcephile.fr>
Sat, 16 Mar 2024 12:02:44 +0000 (13:02 +0100)
committerJulien Moutinho <julm+julm-nix@sourcephile.fr>
Sun, 17 Mar 2024 15:21:23 +0000 (16:21 +0100)
hosts/oignon/networking/nftables.nix

index 0de752fe1fbe4c575fe8586d929cf67c7a395afe..8ebec85a0f4f3b8c5e0f5b22231d88edf19cfb72 100644 (file)
@@ -26,6 +26,7 @@ in
         }
 
         chain output-lan {
+          tcp dport { http, https } counter accept comment "HTTP(s)"
           tcp dport { ssh, 2222 } counter accept comment "SSH"
           udp dport 60001-60100 counter accept comment "Mosh"
           tcp dport bootps counter accept comment "DHCP"