Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

Is it possible to forward all traffic from internet app over connect bot forwarded port?

share|improve this question

2 Answers 2

It sure is possible if the app you want to send through the tunnel allows you to specify the host and port to connect to.

e.g. if you use a remote desktop client you could use connectbot to ssh into your home server, set up a tunnel on the appropriate port, and then use the rdp client to connect to localhost in order to use that tunnel.

Cyanogenmod does have a proxy setting available under Settings > Wireless & Network > Proxy Settings. So if you were to run a proxy server on your target computer, you could indeed set it up to proxy through the tunnel.

So let's say I've got an ssh server at example.com. Internally I installed Squidcache (a proxy server) on 192.168.0.101.

In connectbot I'd set up a tunnel like this:

Nickname: HTTP Proxy
Type: Local
Source Port: 3128
Destination: 192.168.0.101:3128

Then in cyanogenmod's proxy settings I'd set it up like this:

Hostname: localhost
Port: 3128
Enable Proxy on wifi: Yes (Or no, whatever you prefer)
share|improve this answer

I don't believe Android supports this out of the box. CyanogenMOD might, but I doubt it would do it through ConnectBot.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.