networksetup
command in Terminal to get around this. networksetup
command can configure a vast array of network options, a full list of which you can see by typing networksetup --help
. The two options we're concerned with for this purpose are -setwebproxy
and -setsecurewebproxy
. You need to enter a service name with each command: in most cases this will be Ethernet for wired connections, and Wi-Fi for wireless ones. networksetup -setwebproxy Wi-Fi proxy.example.com 8080
networksetup -setsecurewebproxy Wi-Fi proxy.example.com 8080