L
L
lytta2020-01-10 15:04:51
SSH
lytta, 2020-01-10 15:04:51

How to make a forwarded port visible from the outside?

There is a local machine A, to which all incoming connections are denied (Windows 10), and a remote machine B (Ubuntu 16.04), to which I want to forward a local port from machine A.
I do the following on the local machine:
plink.exe Адрес_Машины_B -R 1234:127.0.0.1:80
The port is forwarded, respectively, on machine B it becomes accessible, but only locally i.e. when trying to connect, for example, from a third system to Machine_Address_B:1234, we get Connection Refused.
Actually, the question is how to make this forwarded port remotely accessible from machine B?
PS uwf on machine B is off

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
res2001, 2020-01-10
@lytta

You can also specify listen-IP in the -R parameter, maybe this will help you. See built-in help:
plink --help

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question