configurations for my servers and desktops
nix nixos flake dots dotfiles

fix: socat

+6 -7
+6 -7
hosts/bluepill-proxy/modules/socat.nix
··· 10 10 after = ["network-online.target"]; 11 11 serviceConfig = { 12 12 ExecStart = '' 13 - socat TCP-LISTEN:25565,reuseaddr,fork TCP:100.108.47.83:25565 & 14 - socat UDP-LISTEN:25565,reuseaddr,fork UDP:100.108.47.83:25565 & 15 - socat UDP-LISTEN:24454,reuseaddr,fork UDP:100.108.47.83:24454 & 13 + ${pkgs.socat}/bin/socat TCP-LISTEN:25565,reuseaddr,fork TCP:100.108.47.83:25565 & 14 + ${pkgs.socat}/bin/socat UDP-LISTEN:25565,reuseaddr,fork UDP:100.108.47.83:25565 & 15 + ${pkgs.socat}/bin/socat UDP-LISTEN:24454,reuseaddr,fork UDP:100.108.47.83:24454 & 16 16 17 - socat TCP-LISTEN:23343,reuseaddr,fork TCP:100.108.47.83:23343 & 18 - socat UDP-LISTEN:23343,reuseaddr,fork UDP:100.108.47.83:23343 & 19 - socat UDP-LISTEN:22232,reuseaddr,fork UDP:100.108.47.83:22232 & 17 + ${pkgs.socat}/bin/socat TCP-LISTEN:23343,reuseaddr,fork TCP:100.108.47.83:23343 & 18 + ${pkgs.socat}/bin/socat UDP-LISTEN:23343,reuseaddr,fork UDP:100.108.47.83:23343 & 19 + ${pkgs.socat}/bin/socat UDP-LISTEN:22232,reuseaddr,fork UDP:100.108.47.83:22232 & 20 20 wait 21 21 ''; 22 22 Restart = "always"; 23 23 User = "nobody"; 24 24 StandardOutput = "journal"; 25 25 StandardError = "journal"; 26 - Path = "${pkgs.socat}/bin:/run/current-system/sw/bin:/usr/bin:/bin"; 27 26 }; 28 27 wantedBy = ["multi-user.target"]; 29 28 };