Apple Mac OS X Server Network Card User Manual


 
Chapter 6 Setting Network Preferences 77
To enable or disable the FTP proxy for a configuration:
$ sudo networksetup -setftpproxystate "
configuration
" (on|off)
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
" (on|off)
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
" (on|off)
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
" (on|off)
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
" (on|off)