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: sh
devins.page
1 month ago
21b548fd
988fcfa7
+7
-9
1 changed file
expand all
collapse all
unified
split
hosts
bluepill-proxy
modules
socat.nix
+7
-9
hosts/bluepill-proxy/modules/socat.nix
···
12
after = ["network-online.target"];
13
serviceConfig = {
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 &
19
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
-
'
25
'';
26
Restart = "always";
27
User = "nobody";
···
12
after = ["network-online.target"];
13
serviceConfig = {
14
ExecStart = ''
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 &
0
18
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
0
23
'';
24
Restart = "always";
25
User = "nobody";