User`s guide

Network Setup Tool 49
Designating Proxy Servers
You can use the Network Setup Tool to designate servers to be used as proxies for some
services. Use these commands to set up proxy servers.
-setftpproxy
-setwebproxy
-setsecurewebproxy
-setstreamingproxy
-setgopherproxy
-setsocksfirewallproxy
For each command, specify the network service, domain, and port number in this format:
-setwebproxy <network service> <domain> <port number>
Example command:
networksetup -setwebproxy "Built-in Ethernet" proxy.company.com 80
Turn Proxy Servers On or Off
Use these commands to enable or disable the proxy settings.
-setftpproxystate <on or off>
-setwebproxystate <
on or off>
-setsecurewebproxystate <
on or off>
-setstreamingproxystate <
on or off>
-setgopherproxystate <
on or off>
-setsocksfirewallproxystate <
on or off>
For each command, specify the network service in this format:
networksetup -setftpproxystate <network service> <on or off>
Example command:
networksetup -setstreamingproxystate "Built-in Ethernet" off
networksetup -setgopherproxystate "Built-in Ethernet" on
Designate the Proxy Bypass Domain
Use this command to designate the bypass domain that you want to use for the specified
network service. You can list any number of domains.
-setproxybypassdomains <network service> <domain1> [domain2] [...]
Example command:
networksetup -setproxybypassdomains “Built-in Ethernet Port”
company.com corp.com
LL2133.book Page 49 Friday, May 24, 2002 11:17 AM