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
12
after = ["network-online.target"];
13
13
serviceConfig = {
14
14
ExecStart = ''
15
15
-
sh -c '
16
16
-
socat TCP-LISTEN:25565,reuseaddr,fork TCP:100.108.47.83:25565 &
17
17
-
socat UDP-LISTEN:25565,reuseaddr,fork UDP:100.108.47.83:25565 &
18
18
-
socat UDP-LISTEN:24454,reuseaddr,fork UDP:100.108.47.83:24454 &
15
15
+
socat TCP-LISTEN:25565,reuseaddr,fork TCP:100.108.47.83:25565 &
16
16
+
socat UDP-LISTEN:25565,reuseaddr,fork UDP:100.108.47.83:25565 &
17
17
+
socat UDP-LISTEN:24454,reuseaddr,fork UDP:100.108.47.83:24454 &
19
18
20
20
-
socat TCP-LISTEN:23343,reuseaddr,fork TCP:100.108.47.83:23343 &
21
21
-
socat UDP-LISTEN:23343,reuseaddr,fork UDP:100.108.47.83:23343 &
22
22
-
socat UDP-LISTEN:22232,reuseaddr,fork UDP:100.108.47.83:22232 &
23
23
-
wait
24
24
-
'
19
19
+
socat TCP-LISTEN:23343,reuseaddr,fork TCP:100.108.47.83:23343 &
20
20
+
socat UDP-LISTEN:23343,reuseaddr,fork UDP:100.108.47.83:23343 &
21
21
+
socat UDP-LISTEN:22232,reuseaddr,fork UDP:100.108.47.83:22232 &
22
22
+
wait
25
23
'';
26
24
Restart = "always";
27
25
User = "nobody";