From a server 192.168.0.**1**, I'd like to reach a server 192.168.0.**2** on port 80.
192.168.0.**2** can reach 192.168.0.**1**, but 192.168.0.**1** can't reach 192.168.0.**2** (firewall).
I have set up a reverse proxy, by typing the following command on 192.168.0.**2**:
ssh -f -N -T -R0.0.0.0:80:localhost:80 192.168.0.1
now 192.168.0.**1** can reach 192.168.0.**2**, with the following command:
wget localhost:80
However I'd like to be able to reach 192.168.0.**2** by taping
wget 192.168.0.2:80
Is this possible, without messing with the DNS?
Asked by rogerJ
(61 rep)
Mar 1, 2016, 01:42 PM
Last activity: Apr 11, 2025, 04:06 PM
Last activity: Apr 11, 2025, 04:06 PM