diff options
author | tv <tv@krebsco.de> | 2021-02-18 20:25:47 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2021-02-18 20:25:47 +0100 |
commit | f9bc618fada82326ed371b131eaed34d21626ae9 (patch) | |
tree | c48156ed3dc16594907c3744b14fcdafd2409206 /lass/1systems/yellow | |
parent | 9365aff352d99b7506bafbef6682de7bfb00df27 (diff) | |
parent | 8b7477926d0b7c1ac3d92d07e6934f9e593ea9ff (diff) |
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'lass/1systems/yellow')
-rw-r--r-- | lass/1systems/yellow/config.nix | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/lass/1systems/yellow/config.nix b/lass/1systems/yellow/config.nix index 1afad003c..178a5adf1 100644 --- a/lass/1systems/yellow/config.nix +++ b/lass/1systems/yellow/config.nix @@ -152,10 +152,11 @@ with import <stockholm/lib>; krebs.iptables = { enable = true; tables.filter.INPUT.rules = [ - { predicate = "-p tcp --dport 80"; target = "ACCEPT"; } - { predicate = "-p tcp --dport 9091"; target = "ACCEPT"; } - { predicate = "-p tcp --dport 51413"; target = "ACCEPT"; } - { predicate = "-p udp --dport 51413"; target = "ACCEPT"; } + { predicate = "-p tcp --dport 80"; target = "ACCEPT"; } # nginx web dir + { predicate = "-p tcp --dport 9091"; target = "ACCEPT"; } # transmission-web + { predicate = "-p tcp --dport 51413"; target = "ACCEPT"; } # transmission-traffic + { predicate = "-p udp --dport 51413"; target = "ACCEPT"; } # transmission-traffic + { predicate = "-p tcp --dport 8096"; target = "ACCEPT"; } # jellyfin ]; }; @@ -265,4 +266,9 @@ with import <stockholm/lib>; ''; }; }; + + services.jellyfin = { + enable = true; + group = "download"; + }; } |