Back to product page
- Introduction
- License Agreement
- Objects
- Enumerations
- wodTunnel
- Methods
- Properties
- AllocatePty
- Authentication
- Channels
- ClientName
- Compression
- Encryption
- EncryptionList
- FIPS
- HMacList
- Hostname
- KeyExchangeList
- KeySignatureList
- Login
- MyHostname
- MyIP
- Notification
- Password
- Port
- PrivateKey
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemoteIdentification
- State
- StateText
- Threads
- Timeout
- UseIPv6
- Version
- Events
- wodTunnelNotify
- Channel
- Channels
- User
- Users
- How to get support?
- Technical information
- Fast notifications interface
- Using threads
- Error list
Add method
Adds a new tunneling channel.
Type
A Chanel object. Reference to newly created channel.Syntax
- Basic
object.Add ([Type], [LocalAddress], [LocalPort], [RemoteAddress], [RemotePort])
The Add(object,Type,LocalAddress,LocalPort,RemoteAddress,RemotePort) syntax has these parts:
The Add(object,Type,LocalAddress,LocalPort,RemoteAddress,RemotePort) syntax has these parts:
object | An expression evaluating to an object of type Channels. |
Type | Optional. A Variant value. Determines if you are creating local port forwarding, remote port forwarding, or Socks proxy service (from ForwardTypes enumeration). |
LocalAddress | Optional. A Variant value. Holds the local IP address where the socket is bound. |
LocalPort | Optional. A Variant value. Local port used for listening and accepting connections. |
RemoteAddress | Optional. A Variant value. Holds the IP address where you want the SSH server to connect or where the SSH server will bind a socket for listening (ignored if Type = SocksProxy). |
RemotePort | Optional. A Variant value. Holds the port on the remote end to which you want to forward the channel or on which the SSH server will listen for incoming connections (ignored if Type = SocksProxy). |
Remarks
The settings for Action are:
Constant | Value | Description |
---|---|---|
LocalListen | 0 | Local forwarding. |
RemoteListen | 1 | Remote forwarding. |
SocksProxy | 2 | Dynamic socks proxy forwarding. |