Categories
Posts

autotunnel

This is a set of scripts for OS X that will automatically connect your SSH SOCKS proxy when you switch to a SOCKS-enabled Network Location.

Basically, we add a LaunchAgent to detect when your active Network Location profile has changed. If set to a SOCKS-enabled profile, it enables another LaunchAgent to start an autossh session. If changed to a non-SOCKS profile, we disable that LaunchAgent, stopping autossh. Easy peezy.

lhl/autotunnel – GitHub

I like the idea of using the network location to manage making the right ssh connections for a SOCKS proxy to work automatically.

Leave a Reply

Your email address will not be published. Required fields are marked *