I have been trying to connect to the Web through an ssh tunnel but without success...
Mi test is pretty simple : I've got two computers behind my router(with the internet access).
- Computer 1 : 192.168.1.32 (ssh client)
- computer 2 : 192.168.1.9 (ssh server)
computer 1 : runs ssh -v -ND 2080 pi@192.168.1.9
socks tunnel opens with verbose result :
debug1: Authentication succeeded (password).
debug1: Local connections to LOCALHOST:2080 forwarded to remote address socks:0
debug1: Local forwarding listening on ::1 port 2080.
debug1: channel 0: new [port listener]
debug1: Local forwarding listening on 127.0.0.1 port 2080.
debug1: channel 1: new [port listener]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
I try the tunnel with firefox configured with :
"Manual proxy configuration" HTTP Proxy : 127.0.0.1; port : 2080; SOCKSv5
Then I try to surf the web
The browser fails to retrieve web content and displays :
- The site could be temporarily unavailable or too busy. Try again in a few
moments.
- If you are unable to load any pages, check your computer's network
connection.
- If your computer or network is protected by a firewall or proxy, make sure
that Firefox is permitted to access the Web.
On every web request the verbose ssh tunnel prints to stdout :
debug1: Connection to port 2080 forwarding to socks port 0 requested.
debug1: channel 2: new [dynamic-tcpip]
debug1: channel 2: free: dynamic-tcpip, nchannels 3
Is SSH supposed to forward the requests to the web or am I supposed to install some kind of proxy on coƱputer 2 e.g. SQUID ?
Thanks a lot for helping me with this issue :)