问题
My mobile provider firewalls me from downloading applications from the Android market. So what I am trying to is to tunnel all traffic to the Android Market through an SSH connection. A quick search told me that apps are downloaded using port 5228. Thus, I followed those steps:
- Create an SSH tunnel on dynamic port 5228 using the ConnectBot application
- On the server side:
tcpdump port 5228
- Download from Android markert
Step 2 does not produce any output, and the app download fails. Therefore, either the Android Market uses another port, or I am doing something terribly wrong.
回答1:
This seems like a viable option. There are options to route all traffic through the tunnel or individual applications. As well there is an Enable Market option (although the details specify that this is for users in China).
The downside is that you need root for this to be fully functional. Otherwise all you can do is setup a SOCKS proxy on a local port, which you can already do with ConnectBot. At the end of the day if you are trying to get around your carrier restrictions odds are you will eventually need to root your device.
If you are interested you can grab the app directly from here and load it directly on your phone.
I hope this helps.
来源:https://stackoverflow.com/questions/6284217/access-android-market-through-ssh-tunnel