I
I
Inter Carpenter2016-03-11 17:03:29
linux
Inter Carpenter, 2016-03-11 17:03:29

How to make an ssh tunnel to access the local network?

Hello
There is a server on Debian, a program is raised on it that is controlled only through the address 127.0.0.1:3565
The program is controlled only through a web browser
Externally, the port is not available, only locally
Since the server is without a graphical representation, I don’t know how to access this address from another computer (available on wine and ubuntu computers)
While the assumption is to raise the proxy via SSH and somehow access it, but it will still refer to the localhost

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Melkij, 2016-03-11
@Byrger

You can forward the port:
ssh -L 3565:127.0.0.1:3565 [email protected]

R
res2001, 2016-03-11
@res2001

On the OpenSSH server, the parameter must be enabled:
AllowTcpForwarding yes
On the client, configure tunneling, for example, in PuTTY this is done in Connection - SSH - Tunnels

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question