1 2 3 4 5 6 7 8 9 10
[Unit] Description=Tunnel TCP:%i connections to actual masterserver [Service] Type=simple Restart=always ExecStart=/usr/bin/socat tcp-listen:%i,reuseaddr,su=nobody,fork tcp:%DOMAIN%:%i [Install] WantedBy=multi-user.target