Back to product page

ProxyType property


Specifies the type of proxy to use.

Type

A ProxyTypes enumeration. Specifies type of the proxy server.

Syntax

  • Basic
object.ProxyType [= value]
The ProxyType(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodSSH.
valueA ProxyTypes enumeration, as described in settings.

Remarks

The settings for value are:

Constant Value Description
ProxyNone 0 No proxy is used.
ProxySocks4 1 Connection is made through SOCKS4 proxy firewall.
ProxySocks5 2 Connection is made through SOCKS5 proxy firewall.
ProxyWEBStandard 3 Typical WEB proxy (using web CONNECT command) is used.
ProxyRelay 4 Only relays (pipes) connection to another host/port.
ProxySocks4a 5 Connection is made through SOCKS4a proxy firewall.
ProxyWEBNtlmAuth 6 NTLM authenticated WEB proxy (using web CONNECT command) is used.
ProxyWEBIntegratedAuth 8 Windows Integrated Authentication


If the user needs to connect to a remote server through a proxy, this property should be set to a value other than ProxyNone. Depending on the type of remote proxy, the user should specify the correct protocol with this property.

The most common proxy type is ProxyWEBStandard. Socks 4 and Socks 5 are general proxy protocols, universal to any type of protocol. Relay is not a real proxy, but just a 'pipe' or 'redirector' that listens on a predefined port and when a client connects to it, opens a predefined destination hostname and redirects all traffic between the client and the remote server. A relay proxy is very useful when testing other protocols. ProxyWEBNtlmAuth is most recent proxy added and is basically the same as ProxyWebStandard, except NTLM challenge-response authentication is used with the proxy server.

ProxyWEBIntegratedAuth is type of proxy where no username or passwords are sent. Instead, component will try to authenticate using credentials of currently logged in user.

Platforms

Windows