Skip to content

Instantly share code, notes, and snippets.

@henteko
Created October 26, 2012 18:12
Show Gist options
  • Save henteko/3960400 to your computer and use it in GitHub Desktop.
Save henteko/3960400 to your computer and use it in GitHub Desktop.
proxy setup sh
#!/bin/sh
PROXY="proxy url"
PORT=port_num
networksetup -setwebproxy Wi-Fi ${PROXY} ${PORT}
networksetup -setsecurewebproxy Wi-Fi ${PROXY} ${PORT}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment