Page 2 of 2

Re: My ISP has blocked newzbin2.com newzbin2.es - proxy / tu

Posted: February 15th, 2012, 2:33 pm
by sander
I wonder if this script / ssh-proxy can be automagically setup during boot of the system, including password and re-setup if the proxy-session goes down.

And I wonder if the proxy works for multiple sessions from different SAB and/or webbrowser instances, as I'm a bit worried by this quote from the man page of ssh-config:

Code: Select all

     ControlMaster
             Enables the sharing of multiple sessions over a single network
             connection. 

Re: My ISP has blocked newzbin2.com newzbin2.es - proxy / tu

Posted: March 2nd, 2012, 4:36 pm
by nickb834
I've not scripted this yet but I do intend to do so - then have it as a startup item. I've made it easier to do so by the use of ssh keys - so no pass required.

You'll not need to worry about control master - that's for when you would otherwise open multiple ssh sessions to the same host, for eg - tail a log in one window, and say run commands in another - with control master - both windows will run over an existing connection as opposed to establishing another.

As we've forwarded a local port over to the remote host, then as many source ports as a system has free can connect over that port - so yes, multiple sab / browser can use that forwarded port.

You can test this if you like by running two links browsers on your host, and browse to newzbin which courtesy of the hosts file entry made earlier - both will connect over that single forward port at the same time quite happily.