tangled
alpha
login
or
join now
devins.page
/
flake
0
fork
atom
configurations for my servers and desktops
nix
nixos
flake
dots
dotfiles
0
fork
atom
overview
issues
pulls
pipelines
fix: socat
devins.page
1 month ago
cf758c00
6fc5e1e8
+6
-7
1 changed file
expand all
collapse all
unified
split
hosts
bluepill-proxy
modules
socat.nix
+6
-7
hosts/bluepill-proxy/modules/socat.nix
···
10
10
after = ["network-online.target"];
11
11
serviceConfig = {
12
12
ExecStart = ''
13
13
-
socat TCP-LISTEN:25565,reuseaddr,fork TCP:100.108.47.83:25565 &
14
14
-
socat UDP-LISTEN:25565,reuseaddr,fork UDP:100.108.47.83:25565 &
15
15
-
socat UDP-LISTEN:24454,reuseaddr,fork UDP:100.108.47.83:24454 &
13
13
+
${pkgs.socat}/bin/socat TCP-LISTEN:25565,reuseaddr,fork TCP:100.108.47.83:25565 &
14
14
+
${pkgs.socat}/bin/socat UDP-LISTEN:25565,reuseaddr,fork UDP:100.108.47.83:25565 &
15
15
+
${pkgs.socat}/bin/socat UDP-LISTEN:24454,reuseaddr,fork UDP:100.108.47.83:24454 &
16
16
17
17
-
socat TCP-LISTEN:23343,reuseaddr,fork TCP:100.108.47.83:23343 &
18
18
-
socat UDP-LISTEN:23343,reuseaddr,fork UDP:100.108.47.83:23343 &
19
19
-
socat UDP-LISTEN:22232,reuseaddr,fork UDP:100.108.47.83:22232 &
17
17
+
${pkgs.socat}/bin/socat TCP-LISTEN:23343,reuseaddr,fork TCP:100.108.47.83:23343 &
18
18
+
${pkgs.socat}/bin/socat UDP-LISTEN:23343,reuseaddr,fork UDP:100.108.47.83:23343 &
19
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
26
-
Path = "${pkgs.socat}/bin:/run/current-system/sw/bin:/usr/bin:/bin";
27
26
};
28
27
wantedBy = ["multi-user.target"];
29
28
};