Tunnel community

DO NOT MERGE
This shouldn't be here, as this socks stuff is supposed to be generic.