I'm located in Shanghai China and am trying to set up an SSH tunnel (or a reverse ssh tunnel?) to my brother's server located in the States. I'm using windows xp and he has a mac. We are both using wireless routers (not sure if this is relevant). He's given me the address and password (for his server, I think), and I've downloaded myentunnel (which he recommended), but am not sure what to do now. I've also downloaded the foxyproxy add-on for mozilla (my preferred browser), and am hoping there is someone out there who can help guide a newbie like me! Thanks in advance.
Well, I'm not sure how much easier this is, but this is what I did:
Generate a key:
Put it on the server you connect to:
You shouldn't need to enter a password when you log in.
To make it a quick-start thing, try this:
Start cygwin, and at the command line, type this:
Look for your cygwin.bat file (it should be in your cygwin install directory, which on my machine, is c:\cygwin). Open it with Notepad, look for this line:
and change it to this:
Then save it. This won't hurt your normal use of cygwin. Now, create a new file in Notepad, and add this line:
Now save that as goserv.bat on your desktop. On my computer, double-clicking that file will create the tunnel.
As for Firefox - do you need to use it for non-tunnelled use? I use Chrome for regular use, and Firefox for tunnelled use. If you're really attached to Firefox, maybe you could install the portable version and leave that set up for proxy use.
Seems to be a foxyproxy-addon's problem, I'm not sure. I'm using myentunnel,it's good enough. In firefox, I installed AutoProxy, (http://autoproxy.org/en）， it can switch to your proxy by rules you've created. I apologize for that as a Chinese, with ashame of my goverment's GFW policy.
I have never used MyEnTunnel, but I can recommend Tunnelier that is also free and simple to use. After installing go to the Login page and enter the host address, username and password. Now go to Services and check Enabled under SOCKS, save the profile using the buttons to the left so that the settings are saved and click Login.
Now you need to configure Firefox (Mozilla is the developer), or more specifically Foxyproxy. Add a new proxy with the address 127.0.0.1 and port number 1080. Switch to using this proxy and all data to and from web sites should now be tunneled through your brothers Internet connection and it's all encrypted on the way there.
However DNS lookups may not be tunneled; this is very, very bad. Open up Firefox, type about:config in the address bar and then type network.proxy.socks_remote_dns in the filter field. Make sure the value is set to true, if it's false you should double click it and it will say true. Now you are all set!