| Modifier and Type | Method and Description |
|---|---|
| public SshdSocketAddress | Returns: The boundSshdSocketAddressThe local address local)Start dynamic local port forwarding using a SOCKS proxy. |
| public default SshdSocketAddress | Returns: The boundSshdSocketAddressThe local port - if zero then one will be allocated localPort, SshdSocketAddress The remote address remote)Start forwarding the given local port on the client to the given address on the server. |
| public SshdSocketAddress | Returns: The boundSshdSocketAddressThe local address local, SshdSocketAddress The remote address remote)Start forwarding the given local address on the client to the given address on the server. |
| public SshdSocketAddress | Returns: The boundSshdSocketAddressThe remote address remote, SshdSocketAddress The local address local)Start forwarding tcpip from the given address on the server to the given address on the client. |
| public void | stopDynamicPortForwarding(SshdSocketAddress
The local address local)Stop a previously started dynamic port forwarding. |
| public void | stopLocalPortForwarding(SshdSocketAddress
The local address local)Stop forwarding the given local address. |
| public void | stopRemotePortForwarding(SshdSocketAddress
The remote address remote)Stop forwarding of the given remote address. |
| startDynamicPortForwarding | back to summary |
|---|---|
| public SshdSocketAddress startDynamicPortForwarding(SshdSocketAddress local) throws IOException Start dynamic local port forwarding using a SOCKS proxy.
| |
| startLocalPortForwarding | back to summary |
|---|---|
| public default SshdSocketAddress startLocalPortForwarding(int localPort, SshdSocketAddress remote) throws IOException Start forwarding the given local port on the client to the given address on the server.
| |
| startLocalPortForwarding | back to summary |
|---|---|
| public SshdSocketAddress startLocalPortForwarding(SshdSocketAddress local, SshdSocketAddress remote) throws IOException Start forwarding the given local address on the client to the given address on the server.
| |
| startRemotePortForwarding | back to summary |
|---|---|
| public SshdSocketAddress startRemotePortForwarding(SshdSocketAddress remote, SshdSocketAddress local) throws IOException Start forwarding tcpip from the given address on the server to the given address on the client. The remote host name is the address to bind to on the server:
| |
| stopDynamicPortForwarding | back to summary |
|---|---|
| public void stopDynamicPortForwarding(SshdSocketAddress local) throws IOException Stop a previously started dynamic port forwarding.
| |
| stopLocalPortForwarding | back to summary |
|---|---|
| public void stopLocalPortForwarding(SshdSocketAddress local) throws IOException Stop forwarding the given local address.
| |
| stopRemotePortForwarding | back to summary |
|---|---|
| public void stopRemotePortForwarding(SshdSocketAddress remote) throws IOException Stop forwarding of the given remote address.
| |