fix issues reaching transmission web

This commit is contained in:
Noah Masur 2022-10-09 20:41:04 +00:00
parent d8b5d74dcb
commit 7aacfe7887

View File

@ -60,6 +60,7 @@ in {
};
wantedBy = [ "multi-user.target" ];
script = ''
${pkgs.iproute2}/bin/ip netns exec wg ${pkgs.iproute2}/bin/ip link set dev lo up
${pkgs.socat}/bin/socat tcp-listen:9091,fork,reuseaddr exec:'${pkgs.iproute2}/bin/ip netns exec wg ${pkgs.socat}/bin/socat STDIO "tcp-connect:10.66.13.200:9091"',nofork
'';
};