configurations for my servers and desktops
nix nixos flake dots dotfiles

fix: sh

+7 -9
+7 -9
hosts/bluepill-proxy/modules/socat.nix
··· 12 12 after = ["network-online.target"]; 13 13 serviceConfig = { 14 14 ExecStart = '' 15 - sh -c ' 16 - socat TCP-LISTEN:25565,reuseaddr,fork TCP:100.108.47.83:25565 & 17 - socat UDP-LISTEN:25565,reuseaddr,fork UDP:100.108.47.83:25565 & 18 - socat UDP-LISTEN:24454,reuseaddr,fork UDP:100.108.47.83:24454 & 15 + socat TCP-LISTEN:25565,reuseaddr,fork TCP:100.108.47.83:25565 & 16 + socat UDP-LISTEN:25565,reuseaddr,fork UDP:100.108.47.83:25565 & 17 + socat UDP-LISTEN:24454,reuseaddr,fork UDP:100.108.47.83:24454 & 19 18 20 - socat TCP-LISTEN:23343,reuseaddr,fork TCP:100.108.47.83:23343 & 21 - socat UDP-LISTEN:23343,reuseaddr,fork UDP:100.108.47.83:23343 & 22 - socat UDP-LISTEN:22232,reuseaddr,fork UDP:100.108.47.83:22232 & 23 - wait 24 - ' 19 + socat TCP-LISTEN:23343,reuseaddr,fork TCP:100.108.47.83:23343 & 20 + socat UDP-LISTEN:23343,reuseaddr,fork UDP:100.108.47.83:23343 & 21 + socat UDP-LISTEN:22232,reuseaddr,fork UDP:100.108.47.83:22232 & 22 + wait 25 23 ''; 26 24 Restart = "always"; 27 25 User = "nobody";