Skip to content

Instantly share code, notes, and snippets.

View m3nt0r's full-sized avatar

Kjell Bublitz m3nt0r

  • mediacode GmbH
  • Germany
View GitHub Profile
@m3nt0r
m3nt0r / proxy-toggle.sh
Last active April 13, 2016 23:39 — forked from mnewt/proxy-toggle.sh
Added "start" command which creates a local SSH tunnel to a pre-configured server. The connection may then be used as SOCKS proxy within the Mac OSX network settings (and this toggle script)
#!/bin/sh
[email protected]
SSH_PORT=22
PROXY_INTERFACE="Wi-Fi"
PROXY_HOST=localhost
PROXY_PORT=8080
if [[ $1 == "start" ]]; then