I tunnel my Firefox traffic through Socks 4 127.0.0.1:5555 to PuTTY 127.0.0.1:5555 -D which pushes it down an SSH tunnel to a remote OpenSSH server and it works just fine with virtually everything.
My problem is that when I use the Facebook Flash app Texas HoldEm Poker although it starts to load, it tries connecting to several servers and then returns the error:
The same app works fine if used locally server side, as do regular Facebook apps over the tunnel client side.
Your firewall may be blocking access to port 9339.
There is a commercial program which does allow it to work and the developer has told me:
He also sent me these screenshots:
Is it possible to do the same with PuTTY?
Some webapps seem to do this, they ignore the proxy/socks settings in Firefox and just send direct.
Port 9939 along with any other ports would normally be sent via socks and go into the tunnel.
One thing to try is see what happens if it has no other route to use, it may use the proxy then. To do this run the following commands.
route add 126.96.36.199 mask 255.255.255.255 188.8.131.52
route delete 0.0.0.0
184.108.40.206 is the socks IP
and 220.127.116.11 is the IP of your default gateway.
Note the above route commands are temporary and don't last a reboot.
The other option is to use a VPN.
My socks IP being 127.0.0.1, as that's what I point Firefox at when I tunnel through PuTTY, or is it the remote SSH server's IP?
And is my default gateway the default gateway of the remote SSH server or the regular default gateway of the client box when not using a proxy?
The default gateway is the same as the one on your PC. (As seen in ipconfig)
The other IP is the remote SSH servers IP.
I will try it on Friday when I am next at the remote box.
If when it has no other route to use and the Facebook app does in fact work what does this mean, and what if it does not?
Can I assume the subnet mask is not in fact 255.255.255.255 but instead that of the remote SSH server?
Somebody has said I should look into Socks wrapping which I am also researching.
I want to exhaust all possibilities of it working over SSH before attempting VPN because it is something I have no experience with.
Resolved using Sockscap, a lightweight freeware socks wrapper.
It allows me to open Firefox Portable 'proxified' and all recursive applications that it opens, including Adobe Flash.
My only problem now is that I use the same browser for work and personal use and Sockscap overrides Firefox's connection settings and any settings configured on proxy addons etc so everything is forced down the tunnel but that is a topic for another thread.
Have you had a look at FoxyProxy? Easy to switch between proxies or have traffic for certain sites use a proxy while the others all use another connection.
Yes, it was one of the first addons I tried months ago when my only problem was configuring the SSH tunnel with Firefox.
From what I remember the commercial bloated FoxyProxy addon had limitations without paying a fee and did not allow dynamic ports, whereas the free lightweight addons SwitchProxy Tool and AutoProxy or one of its variants do allow virtually all internet use. That said none of the three would negate Flash Player ignoring the connection settings of Firefox Portable and connecting directly.
The problem and solution outlined in this thread is resolved, but I appreciate your input
I am now working on related problem which is an extension of this.
Configure Flash Player ALONE to connect via an existing, working SOCKS SSH tunnel?