How to do complex port forwarding (sort of)
- by adnan kamili
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