To enable or disable the FTP proxy for a configuration:

$ sudo networksetup -setftpproxystate "configuration" (onoff)

Viewing or Changing Web Proxy Settings

To view the web proxy information for a configuration:

$ sudo networksetup -getwebproxy "configuration"

To set the web proxy information for a configuration:

$ sudo networksetup -setwebproxy "configuration" domain portnumber

To enable or disable the web proxy for a configuration:

$ sudo networksetup -setwebproxystate "configuration" (onoff)

Viewing or Changing Secure Web Proxy Settings

To view the secure web proxy information for a configuration:

$ sudo networksetup -getsecurewebproxy "configuration"

To set the secure web proxy information for a configuration:

$ sudo networksetup -setsecurewebproxy "configuration" domain portnumber

To enable or disable the secure web proxy for a configuration:

$ sudo networksetup -setsecurewebproxystate "configuration" (onoff)

Viewing or Changing Streaming Proxy Settings

To view the streaming proxy information for a configuration:

$ sudo networksetup -getstreamingproxy "configuration"

To set the streaming proxy information for a configuration:

$ sudo networksetup -setstreamingproxy "configuration" domain portnumber

To enable or disable the streaming proxy for a configuration:

$ sudo networksetup -setstreamingproxystate "configuration" (onoff)

Viewing or Changing Gopher Proxy Settings

To view the gopher proxy information for a configuration:

$ sudo networksetup -getgopherproxy "configuration"

To set the gopher proxy information for a configuration:

$ sudo networksetup -setgopherproxy "configuration" domain portnumber

To enable or disable the gopher proxy for a configuration:

$ sudo networksetup -setgopherproxystate "configuration" (onoff)

Chapter 6 Setting Network Preferences

77

Page 77
Image 77
Apple Mac OS X Server manual Viewing or Changing Web Proxy Settings, Viewing or Changing Secure Web Proxy Settings