Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Ssh.StartSocksServer Method

Namespace: Rebex.Net
Assembly: Rebex.SshShell.dll (version 7.0.9147)

StartSocksServer(String, Int32)

Starts a new outgoing tunnel. Connections to local host/port will be tunneled through the SSH server to the specified remote host/port.

Declaration
public SshTunnel StartSocksServer(string localHostName, int localPort)
Parameters
Type Name Description
String localHostName

Local hostname to listen at.

Int32 localPort

Local port to listen at.

Returns
Type Description
SshTunnel

A tunnel instance.

StartSocksServer(IPEndPoint)

Starts a new outgoing tunnel. Connections to local endpoint will be tunneled through the SSH server to the specified remote host/port.

Declaration
public SshTunnel StartSocksServer(IPEndPoint localEndPoint)
Parameters
Type Name Description
IPEndPoint localEndPoint

Local endpoint to listen at.

Returns
Type Description
SshTunnel

A tunnel instance.

In This Article
  • StartSocksServer(String, Int32)
  • StartSocksServer(IPEndPoint)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies