stux2000 / sshtunnel

Automatically exported from code.google.com/p/sshtunnel
GNU General Public License v3.0
0 stars 0 forks source link

Proxy not applied globally? #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Just tried the 1.7.2 beta on my SG S with stock 2.3.5.

- It works with Opera with "Use global proxy" and "Use socks proxy" checked.

- It does not work for K9 Mail (and probably other apps) with or without "use 
socks proxy" checked.

tcpdump -n dst port 143 on my mail server shows connections coming from my 
actual IP address, not from the remote server I have SSH (and tcp forwarding) 
running on.

Note that wit a laptop I can tunnel correctly through the server.

Original issue reported on code.google.com by boozez...@gmail.com on 9 Dec 2011 at 9:30

GoogleCodeExporter commented 9 years ago
I've noticed this too, through comparing headers using K9 with a commercial 
email provider and with the Android Gmail app. I also tried turning off 
background sync until SSH Tunnel is connected, but am still showing my ISP or 
mobile provider IP.

Original comment by valenzue...@gmail.com on 11 Dec 2011 at 11:07

GoogleCodeExporter commented 9 years ago
Same thing here, global proxy doesn't work. However it works when running 
ProxyDroid (same author). If ProxyDroid is started first, the SSH cannot 
connect. It would be better if the feature worked in SSH Tunnel.

Original comment by Turbo...@gmail.com on 16 Jan 2012 at 5:55

GoogleCodeExporter commented 9 years ago
I made it work by replacing iptables with a script that add the correct 
entries. I compared the iptables entries from running ProxyDroid and SSH Tunnel 
and it seems that the iptables for the "Socks" redirect are wrong; only ports 
80 and 443 were forwarded. We expect all ports to be forwarded to the SOCKS 
proxy.

Now the only remaining problem is that I get packet corrupt messages as soon as 
I start using the device with Internet. I will try SSH Tunnel to see if the 
problem is with the OpenSSH client from the beta or with my server.

Original comment by Turbo...@gmail.com on 17 Jan 2012 at 12:39

GoogleCodeExporter commented 9 years ago
Fixing the iptables work 100% with SSH Tunnel and SOCKS enabled. However, the 
compression is disabled in the official version (there is no compression option 
like in ConnectBot). That would be an easy addition.

The BETA version would work great as we have control of the compression option 
in ssh.sh except it seems to fail because of the OpenSSH client (named 
sshtunnel) reporting corrupted packets. Need to find a working SSH client for 
Android that would work with SSH Tunnel BETA.

Original comment by Turbo...@gmail.com on 17 Jan 2012 at 2:48

GoogleCodeExporter commented 9 years ago

Original comment by max.c...@gmail.com on 31 Jan 2012 at 8:38

GoogleCodeExporter commented 9 years ago
Same Issue, not working Globally, Any easy solutions or other SSh app.???

Original comment by kha...@gmail.com on 10 May 2013 at 7:19

GoogleCodeExporter commented 9 years ago
Still got the same problem. Doesn't look like the dev is bothering to address 
it.

Original comment by johnr67...@gmail.com on 16 Aug 2014 at 12:20