Skip to content

Commit

Permalink
fix transmission
Browse files Browse the repository at this point in the history
  • Loading branch information
0x77dev committed Jan 4, 2025
1 parent 30eb7af commit 560bd80
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion systems/nixos/tomato/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,12 @@
accessibleFrom = [
"192.168.0.0/24"
"100.64.0.0/10"
"127.0.0.1/32"
];
};

networking.firewall.enable = true;
networking.firewall.allowedTCPPorts = [ 22 19999 139 445 2283 80 443 8181 32400 5001 8501 4001 6800 ];
networking.firewall.allowedTCPPorts = [ 22 19999 139 445 2283 80 443 8181 32400 5001 8501 4001 6800 9091 ];
networking.firewall.allowedUDPPorts = [ 137 138 80 443 4001 ];

# Copy the NixOS configuration file and link it from the resulting system
Expand Down
3 changes: 3 additions & 0 deletions systems/nixos/tomato/services/storage.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

services.transmission = {
enable = true;
openFirewall = true;
openPeerPorts = false;
performanceNetParameters = true;
settings = {
"rpc-bind-address" = "192.168.15.1";
"download-dir" = "/data/share/Downloads";
Expand Down

0 comments on commit 560bd80

Please sign in to comment.