I'd like to set up a tunneling proxy accessible by URL--so, to access bar.com through the tunneling proxy, you'd go to foo.com/bar.com and continue to browse bar.com transparently from there. I can either set up an SSH tunnel or a VPN connection that I'd like to expose. How can I set up squid (or another proxy server) to route requests through an SSH/VPN connection like this?
|
| |||
|
feedback
|
|
First, Setup your ssh tunnel
Leave this connection running, this assumes that your proxy server is listening on port 8080. Second, Setup your web browser to use localhost:8080 as its proxy server The ssh tunnel will forward packets to your proxy server over ssh. | |||||||||
feedback
|
|
Not quite clear about what you need. But if you need to route web packets over SSH via a proxy, you can use SSH in SOCKS mode (
However, if you want to route traffic to a proxy via a SSH tunnel, you can use SSH in tunnel mode (
| |||||||
feedback
|