How to do complex port forwarding (sort of)

Posted by adnan kamili on Super User See other posts from Super User or by adnan kamili
Published on 2012-03-25T21:12:05Z Indexed on 2012/03/25 23:33 UTC
Read the original article Hit count: 306

Filed under:
|

I have a very different situation. My laptop named A, another machine B(ip-172.16.28.3) with ssh server installed and i have an account on that machine, the third machine C(ip-172.16.24.3) is a proxy server. All the machines are within a LAN, but

1- Machine B can connect to A as well as C

2- Machine A i.e.my pc, it can only connect to B and not C

Now to use internet, i do the following:

ssh -X [email protected]

Then i type firefox and i use the firefox of machine B with proxy setings as 172.16.24.3:3128

Instead of using firefox of B, i want to use my local firefox. Is there a way through which i can connect to C via B and use my local firefox for browsing

© Super User or respective owner

Related posts about ssh

Related posts about ssh-tunnel