#!/bin/sh # Hack to get HLDS around firewalls/NAT at the expense of latency socat -d -d tcp4-listen:37015,reuseaddr,fork UDP:127.0.0.1:27015 2>&1 | sed '{s/^/'$(hostname)': /}' & ssh -R 0.0.0.0:27015:127.0.0.1:27015 -R 0.0.0.0:37015:127.0.0.1:37015 victoria.omgwallhack.org socat -d -d -T15 udp4-recvfrom:27015,reuseaddr,fork tcp:localhost:37015 2>&1 | sed '{s/^/victoria : /}' kill %1