add 0ad-sockets
This commit is contained in:
parent
d3c57bebd5
commit
6817791c1b
6
local/bin/0ad-sockets
Executable file
6
local/bin/0ad-sockets
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
st -e socat tcp-listen:6667,reuseaddr,fork udp:localhost:20595 &
|
||||||
|
st -e ssh -R 6667:localhost:6667 Hetzner "grep -q '^AllowTcpForwarding yes$' /etc/ssh/sshd_config && grep -q '^GatewayPorts yes$' /etc/ssh/sshd_config && socat udp-listen:20595,reuseaddr,fork tcp:localhost:6667" &
|
||||||
|
|
||||||
|
wait
|
Loading…
Reference in New Issue
Block a user