Open GoogleCodeExporter opened 8 years ago
I have this same behavior running SSHTunnel 1.5.6 on a first-gen Nexus 7 with
Android 5.0
It doesn't look like iptables was actually populated with rules - iptables
--list output attached from root shell. Note: I have selinux in permissive mode
for this, to rule that out.
Here's some logcat. I wonder if maybe your bundled iptables binary is broke?
E/SSHTunnel(16355): Forward Successful
D/SSHTunnel(16355): /data/data/org.sshtunnel/proxy_socks.sh start 1984
D/SSHTunnel(16355): /data/data/org.sshtunnel/iptables -t nat -N SSHTUNNEL
D/SSHTunnel(16355): /data/data/org.sshtunnel/iptables -t nat -F SSHTUNNEL
D/SSHTunnel(16355): /data/data/org.sshtunnel/iptables -t nat -N SSHTUNNELDNS
D/SSHTunnel(16355): /data/data/org.sshtunnel/iptables -t nat -F SSHTUNNELDNS
D/SSHTunnel(16355): /data/data/org.sshtunnel/iptables -t nat -A SSHTUNNELDNS -p
udp --dport 53 -j REDIRECT --to 58081
D/SSHTunnel(16355): /data/data/org.sshtunnel/iptables -t nat -A OUTPUT -p udp
-j SSHTUNNELDNS
D/SSHTunnel(16355): /data/data/org.sshtunnel/iptables -t nat -A SSHTUNNEL -p
tcp ! -d 173.171.41.22 --dport 80 -j REDIRECT --to 8123
D/SSHTunnel(16355): /data/data/org.sshtunnel/iptables -t nat -A SSHTUNNEL -p
tcp ! -d 173.171.41.22 --dport 443 -j REDIRECT --to 8123
D/SSHTunnel(16355): /data/data/org.sshtunnel/iptables -t nat -A SSHTUNNEL -p
tcp --dport 5228 -j REDIRECT --to 8123
D/SSHTunnel(16355): /data/data/org.sshtunnel/iptables -t nat -A OUTPUT -p tcp
-j SSHTUNNEL
Original comment by drae...@gmail.com
on 13 Dec 2014 at 5:30
Attachments:
Hmm, even if I enter these commands myself nothing actually reflects in
iptables --list... weird.
Original comment by drae...@gmail.com
on 13 Dec 2014 at 5:33
Workaround: org.proxydroid seems to work. Install that, and point it at
SSHTunnel as a SOCKS5 proxy.
Note: org.proxydroid currently doesn't let you enter IPv6 bypass addresses, so
if you need to bypass your tunnel for IPv6 stuff you're going to have 'fun'
doing so.
Original comment by drae...@gmail.com
on 13 Dec 2014 at 5:58
Original issue reported on code.google.com by
jon.koop...@gmail.com
on 27 Jan 2013 at 4:39