aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/arrakis/default.nix
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-11-21 16:54:52 -0800
committerMark Nipper <nipsy@bitgnome.net>2024-11-21 16:54:52 -0800
commit6ee7845d25c0c6e5421d323ffaf8656734f499b2 (patch)
tree1e20aa4f6bb11d9bedd47c1e3da29d2db32dfab0 /hosts/arrakis/default.nix
parent52975dd48460d4145f507f1cf4ced6850dc2716b (diff)
downloadnix-6ee7845d25c0c6e5421d323ffaf8656734f499b2.tar
nix-6ee7845d25c0c6e5421d323ffaf8656734f499b2.tar.gz
nix-6ee7845d25c0c6e5421d323ffaf8656734f499b2.tar.bz2
nix-6ee7845d25c0c6e5421d323ffaf8656734f499b2.tar.lz
nix-6ee7845d25c0c6e5421d323ffaf8656734f499b2.tar.xz
nix-6ee7845d25c0c6e5421d323ffaf8656734f499b2.tar.zst
nix-6ee7845d25c0c6e5421d323ffaf8656734f499b2.zip
Add *arr firewall rule
Diffstat (limited to 'hosts/arrakis/default.nix')
-rw-r--r--hosts/arrakis/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/hosts/arrakis/default.nix b/hosts/arrakis/default.nix
index a66ad3b..92ebf31 100644
--- a/hosts/arrakis/default.nix
+++ b/hosts/arrakis/default.nix
@@ -279,6 +279,7 @@
${pkgs.nftables}/bin/nft insert rule inet nixos-fw input 'iifname "wlp5s0" tcp dport 2049 counter accept'
${pkgs.nftables}/bin/nft insert rule inet nixos-fw input 'iifname "wlp5s0" udp dport { 2456, 2457 } counter accept # Valheim dedicated server'
${pkgs.nftables}/bin/nft insert rule inet nixos-fw input 'iifname "wlp5s0" udp dport 5121 counter accept # Neverwinter Nights Server'
+ ${pkgs.nftables}/bin/nft insert rule inet nixos-fw input 'iifname "veth.host" tcp dport { 7878, 8080, 8686, 8787, 8989 } counter accept # Radarr, Sabnzb, Lidarr, Sonarr, Readarr'
${pkgs.nftables}/bin/nft insert rule inet nixos-fw input 'iifname "wlp5s0" tcp dport { 7878, 8080, 8686, 8787, 8989 } counter accept # Radarr, Sabnzb, Lidarr, Sonarr, Readarr'
${pkgs.nftables}/bin/nft insert rule inet nixos-fw input 'iifname "wlp5s0" udp dport 15637 counter accept # Enshrouded'
${pkgs.nftables}/bin/nft insert rule inet nixos-fw input 'iifname "wlp5s0" ip saddr 192.168.1.0/24 udp dport { 27031, 27036 } counter accept # Steam Remote Play'