sudo setWebProxy.sh
sudo setWebProxy.sh <mountPoint> <computerName> <currentUsername> <networkInterface> <proxyAddress> <port>
If the $networkInterface parameter is specified (parameter 4), this is the Netowrk Interface for
which the search domains will be set. The expected values for the $networkInterface parameter can
be found by running the command:
networksetup -listallnetworkservices
If the $proxyAddress parameter is specified (parameter 5), this is the proxy address that will
be set.
If the $port parameter is specified (parameter 6), this is the port to which the proxy traffic
be passed.
If no parameters are specified for parameters 4, 5 or 6, the hardcoded value in the script will be used.
This script will configure the web proxy on the specified network interface.