|
ssh and port forwarding
Hi, i hope this is not to stupid.
This is the scenario:
pc1 machine work behind router
pc2 ssh server somewere
pc3 machine home direct access to internet
I don't have access to the roauter at work, so i was thinking to open a ssh tunnel with putty to pc2 (midle server) this way as long as the tunnel is opened i don't have to worry about the router.
Then i make a socks from my ssh server (pc2) ssh -g -D 9000 admin@localhost, now in firefox at pc3 im using pc2 as socks.
The question is how can i setup pc2 (ssh server) to send all traffic received by socks on port 9000 to the tunnel i opened from pc1 to pc2?
|