Skip to content

Instantly share code, notes, and snippets.

View louisaslett's full-sized avatar
🤓

Louis Aslett louisaslett

🤓
View GitHub Profile
@louisaslett
louisaslett / proxy-toggle.sh
Created August 18, 2020 08:47 — forked from dgoguerra/proxy-toggle.sh
Script to toggle Mac OS X SOCKS proxy, and setup a SOCKS server with SSH
#!/bin/sh
PROXY_INTERFACE="Wi-Fi"
PROXY_HOST=127.0.0.1
PROXY_PORT=1080
# A host where ssh can login without interaction, with a key-based
# authentication.
SOCKS_PROC_USER="username"
SOCKS_PROC_HOST="example.com"