Thread: ssh port forwarding
i'm not @ english.
i'm trying port forwarding on ssh. network below.
pc -> 172.20.0.50/20
ssh server01 -> 172.16.0.10/20
ssh server02 -> 172.16.0.20/20,192.168.0.20/24
windows machine 192.168.0.30/24
pc can connect ssh server01 port 22.
want access windows machine using ssh port forwarding.
typed command below.
on pc:
$ ssh -l10000:172.16.0.20:10010 hoge@172.16.0.10
on ssh server01
$ ssh -l10010:192.168.0.30:3389 hoge@172.16.0.20
thought can connect windows machine accessing localhost:10000 on pc. cannot. why?
they on totally different networks.
can ping machine @ 192.168.0.30 either server?
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [SOLVED] ssh port forwarding
Ubuntu
Comments
Post a Comment