summaryrefslogtreecommitdiff
path: root/machines
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2023-03-01 14:10:25 -0500
committerKjetil Orbekk <kj@orbekk.com>2023-03-01 14:10:25 -0500
commit1ff6fefe39521844872cb7aad165cf8ee9f6a1cc (patch)
tree180e99dd3810185ec512108adbc3362dd5aa7bdc /machines
parent0c203461517244b40a576135c76e49f1fa23c2e2 (diff)
vpn setup
Diffstat (limited to 'machines')
-rw-r--r--machines/dragon.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/machines/dragon.nix b/machines/dragon.nix
index 9174c15..16ae1cf 100644
--- a/machines/dragon.nix
+++ b/machines/dragon.nix
@@ -50,10 +50,10 @@ in {
services.transmission = {
enable = true;
- openPeerPorts = true;
- openRPCPort = true;
settings.download-dir = "/storage/upload";
- settings.peer-port = 51413;
+ settings.peer-port = 55324;
+ settings.rpc-bind-address = "0.0.0.0";
+ settings.rpc-whitelist = "172.20.*.*";
};
systemd.services.transmission.serviceConfig.NetworkNamespacePath = "/var/run/netns/vpn";
# services.tailscale.enable = true;