Starts a new incoming tunnel. Connections to remote endpoint 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 ( _
	remoteEndPoint As IPEndPoint, _
	targetEndPoint As IPEndPoint _
) As SshTunnel
C#
public SshTunnel StartIncomingTunnel(
	IPEndPoint remoteEndPoint,
	IPEndPoint targetEndPoint
)

Parameters

remoteEndPoint
Type: System.Net..::..IPEndPoint
Remote endpoint 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