Page 1 of 1

Internal web browser to browse over SSH tunnel

PostPosted: Sun Mar 04, 2012 9:25 pm
by camelm
Good day!...

It would be great if it supports to have internal web browser to browse website over ssh tunnel. The use cases is for browsing internal website or it use the SSH proxy's IP to surf website instead of my local IP address on my iPhone coz' some of the website block the IP address range of my region.

Thanks
camelm

Re: Internal web browser to browse over SSH tunnel

PostPosted: Mon Mar 05, 2012 12:50 am
by raf
Hi camelm,

You can do this right now.
-You need to set up a proxy server (such as squid) in your SSH server machine
-Then in Remoter, set up a port forwarding (advanced setting). To port forward the proxy server port over to localhost. Say to 8080
-Then in the iPhone, go to WiFi settings, and under HTTP proxy specify server: localhost, Port: 8080
-That's it.

Raf.

Re: Internal web browser to browse over SSH tunnel

PostPosted: Mon Mar 05, 2012 3:44 am
by camelm
Hi Raf,

1. my ssh server is enabled with ssh port forwarding already. confirmed working using putty + firefox on my PC
2. In Remoter, I cannot find the way to setup ssh dynamic tunnel. In CLI, it would be like this "ssh 192.168.1.1 -D 12345", port 12345 will be my forwarded port number.
3. Which WiFi setting in iphone are u referring to? I cannot find the setup that u told me. In the Wifi, setting i just see "Choose a Network..." and Ask to Join Networks... which is Settings-> Wi-Fi.
4. do u mean i can setup tunnel in remoter and use my safari to browser my internal website over the ssh forwarded tunnel?

Thanks
camelm

Re: Internal web browser to browse over SSH tunnel

PostPosted: Mon Mar 05, 2012 11:11 pm
by raf
Hi camelm,

1. OK
2. You need to click on "Advanced" in the SSH Session in Remoter, then scroll down to reveal the SSH Tunnel options:
Screen Shot 2012-03-05 at 10.08.14 PM.png
Screen Shot 2012-03-05 at 10.08.14 PM.png (52.16 KiB) Viewed 7636 times

3.In the iPhone Settings, under "WiFi", click on the ">" for the WiFi connection you're using, then scroll down to reveal the HTTP proxy settings.
4.Correct. But you need to have a http proxy server in your SSH server, something like squid.

Raf.