Starts a new incoming tunnel. Connections to remote address/port will be tunneled from the SSH server through the local machine to the specified target.

Namespace:  Rebex.Net
Assembly:  Rebex.SshShell (in Rebex.SshShell.dll)

Syntax

Visual Basic
Public Function StartIncomingTunnel ( _
	remoteAddress As String, _
	remotePort As Integer, _
	targetEndPoint As IPEndPoint _
) As SshTunnel
C#
public SshTunnel StartIncomingTunnel(
	string remoteAddress,
	int remotePort,
	IPEndPoint targetEndPoint
)

Parameters

remoteAddress
Type: System..::..String
Remote address from which to tunnel connections.
remotePort
Type: System..::..Int32
Remote port from which to tunnel connections.
targetEndPoint
Type: System.Net..::..IPEndPoint
Local endpoint to which to tunnel connections.

Return Value

A tunnel instance.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also