I have two machines
C that are on a local network. The way to access Internet from any machine on the network is to use a web proxy, Squid3 is being used. So I can log in to the proxy from only one of the machines at a time, and therefore can't access Internet from the other ones simultaneously.
So I set up an SSH tunnel from
S. I log in to the web proxy on
S. I configure my web browser on
C to use the tunnel as a proxy. However, I am unable to access the Internet from
C. I do get an error "connection refused" on the terminal where I started the SSH tunnel process.
ssh -fND 8080 user@remotehost
My question is: Since
S is also using a proxy itself, do I need to change any more settings anywhere for SSH tunnel to work?
S know what to do with the data it receives from
C through the SSH tunnel?
Edit : I have now done the following : On
S I installed a squid3 proxy server, and I configured
C to use the new proxy. This solution works. I dont need the encryption provided by SSH. I want to know this : Is SSH tunneling better than my current solution for any reason other than encryption ? (Please tell me if I should have opened a new question for this).