Re: Proxy support on android - G1 Q&A, Help & Troubleshooting

Re: Proxy support on android
Is there a way to route all the traffic down a port so that it goes through an ssh tunnel? i can use connectbot to create the tunnel, and using the anycut method to access the proxy settings. But only the google browser uses these settings, and it only seems to apply when using gprs not wifi.
Is there a relativily easy way to route the traffic down the tunnel so that for instance secure browsing can be accomplished over unsecure wifi connections?
thanks
DarkFlare

I would love to know this, too.
http://superuser.com/questions/5397...from-android-through-a-proxy-tunnel-to-my-tom
http://www.forceclose.com/questions...-traffic-from-android-through-a-secure-tunnel

There's VPN support built into most Android ROMs... try that.

Thread moved to Q&A.

IConrad01 said:
There's VPN support built into most Android ROMs... try that.
Click to expand...
Click to collapse
Would that route everything over the tunnel, including browser, Google Calendar app, third-party apps, DNS, etc?

Related

[Q] How to set Proxy on Nexus One Gingerbread 2.3.3?

Hi all,
I need to access my campus internet through wifi. It has a given proxy adress and port. How can I access it using my unrooted nexus one?.....
Thanks,
Android does not natively support a non-transparent proxy.
GldRush98 said:
Android does not natively support a non-transparent proxy.
Click to expand...
Click to collapse
I see. So, I have no choice but to root my phone to use the proxy....
Previously I used the Firefox mobile browser to bypass proxy settings. However, the only application you can use on your phone is the Firefox browser itself.
# Run Firefox, and in address bar type: about:config. This will take you to the advanced configuration panel.
# Now you need to find proxy entries, to simplify that you can filter it out by typing proxy in the field below address bar.
# Modify network.proxy.http and network.proxy.http_port to your proxy server and port.
# Set network.proxy.type value to 1.
I am not sure if this still works but give it a try.
eky said:
I see. So, I have no choice but to root my phone to use the proxy....
Click to expand...
Click to collapse
Yeah... or as madballs (lol) posted, you can try the Firefox beta. But keep in mind, on Firefox will work... no other data services on the phone will.
It is kind of crappy they don't support it, especially when there are other roms out there that have this little function added in.
LOL, I was surprised nobody has taken this name when I registered.
I really cant understand ,, if they could add proxy settings to the browsers without rooting,,
why don't the developers add it in their apps?!?!
Go to the wifi settings there push the menu button and select advanced.
now you have a list within you can set your proxy settings over the current wifi connection.
I have tested it with my DHD at work. works perfect but hope they will connect to the same concept for proxy as by android 3.2.
There you can configure a proxy for each connection.
Cheers
Dave
And sorry for english skills...

[Q] Global Proxy Settings for wifi networks.

Hello there,
As we all know our Samsung Device does support Proxy Setting for wifi networks but it only works for default android browser. Is there any way that I can use the Internet behind the proxy setting through out the phone (including google maps, gTalk, etc etc) ?? Has anyone here has done it?? I have tried many apps like ASProxy, Transparent Proxy, ProxyDroid, Http Proxy Settings but none of them worked.
Secondly what is iptable module?? does our phone Samsung Galaxy S I9003 has that iptable module? I have froyo XWKB1 firmware. Some of the apps require iptable module to be on the phone.
Many people claim that they are able to use pxoxy setting through out the phone with all those third party apps but not me. Please do reply
Type opera:config in opera mobile url(not in opera mini)
You will find lots of options there including proxy. But i never used it.
BTW this is not development related question.
Sent from my GT-I9003 using Tapatalk
sorry for that, this is only forum for I9003 and I am depressed for that. I dont want peoples who own different phone answering this because I have searched hundreds of forums and blogs, those people claim that they are able to use Proxy Setting with the help of third party apps but not me ... This is only forum where all the I9003 owners hang out. Yes The method that you specified also works. I am also using it but I want to use android market, gTalk, Maps and all the apps.
Greetings
Root your phone and use proxydroid, that thing works globally, has context sensitive profiles and other features...
Oh! yeah! I have rootem my phone deodexed, applied CWM for XWKB1 also but that application didnot work for me. I have a query, have you tried the proxy settings in galaxy i9003 itself or any other phone? the proxy of my college is 192.168.1.100 and port is 3128 but I am not able to run it through out the phone.
Regards,
rocky_upadhaya said:
Oh! yeah! I have rootem my phone deodexed, applied CWM for XWKB1 also but that application didnot work for me. I have a query, have you tried the proxy settings in galaxy i9003 itself or any other phone? the proxy of my college is 192.168.1.100 and port is 3128 but I am not able to run it through out the phone.
Regards,
Click to expand...
Click to collapse
I use this program on this phone and my Galaxy Tab successfully with the proxy server at my work place. I use XXKPH with CWM by Skin and root through CWM method using leo's zip. You should be able to find these around here if you want to replicate my config.
rocky_upadhaya said:
Hello there,
As we all know our Samsung Device does support Proxy Setting for wifi networks but it only works for default android browser. Is there any way that I can use the Internet behind the proxy setting through out the phone (including google maps, gTalk, etc etc) ?? Has anyone here has done it?? I have tried many apps like ASProxy, Transparent Proxy, ProxyDroid, Http Proxy Settings but none of them worked.
Click to expand...
Click to collapse
Have you tried Orbot? It's not exactly what you want but it's a tor proxy :
Orbot is an application that allows mobile phone users to access the web, instant messaging and email without being monitored or blocked by their mobile internet service provider. Orbot brings the features and functionality of Tor to the Android mobile operating system.
Orbot contains Tor, libevent and privoxy. Orbot provides a local HTTP proxy and the standard SOCKS4A/SOCKS5 proxy interfaces into the Tor network. Orbot has the ability to transparently torify all of the TCP traffic on your Android device when it has the correct permissions and system libraries.
Click to expand...
Click to collapse
Secondly what is iptable module?? does our phone Samsung Galaxy S I9003 has that iptable module? I have froyo XWKB1 firmware. Some of the apps require iptable module to be on the phone.
Click to expand...
Click to collapse
http://en.wikipedia.org/wiki/Iptables
I'm almost sure we have this module in our kernel.
DroidWall is a famous firewall for Android which configure iptable on device, allowing or not selected apps to access network, try it
Solution for global proxy problem on Android devices
Hi all,
I found a setting that worked on my device. I believe it will work for almost all other devices running at last Android 3.3 as this is a requirement for the app SandroProxy. Note that no rooting of the device is required. Try the following steps;
Install SandroProxy
Add your WiFi authentication parameters to SandroProxy. Details such as the domain, user name, proxy address and password.
On your WiFi setting, long press on the SSID and select the "Modify network config". This can be found under Settings>Wifi>[SSID]
Under proxy, type "localhost"
Under port, input the port beign used by SandroProxy, default is "8008"
Thats is
Enjoy

[Q] rom supporting proxy over wifi

now a day i m in hostle and new to android
in hostle i have to use proxy server over wifi
i have searched but could not find a better solution
if any one using it plzzzzzzzzzzzz help me
have used trans proxy for this there is a requirement for iptables/netfilter and rooted device i have rooted the g1 but i dont know how to use iptables/netfilter
suugest me any rom which gives wifi option in contex menu or support iptables/netfilter
why dont you use encrypted VPN instead?
gyugyujol said:
why dont you use encrypted VPN instead?
Click to expand...
Click to collapse
wht is that how to use it????
well..
it is in the Wireless settings section. i guess you should use L2 IPSec.
briefly: have to set up a VPN server/connection point at home or wherever, and you'll connect to that from anywhere given that there's an open outbound port to the internet where you are currently. than a connection will be built up creating a "tunnel" through which your packets will be transferred to the VPN host where itt could be routed and NAT-ed to the internet unrestricted.
adding IPSec or other methods of encryptions will make your connection secure.
i've never tried it on my phone but since its based on linux it must be the same way as at desktop system.
you should check documents and howtos on the internet and check for apps at Market if the androids builtin is not satisfying!
gyugyujol said:
well..
it is in the Wireless settings section. i guess you should use L2 IPSec.
briefly: have to set up a VPN server/connection point at home or wherever, and you'll connect to that from anywhere given that there's an open outbound port to the internet where you are currently. than a connection will be built up creating a "tunnel" through which your packets will be transferred to the VPN host where itt could be routed and NAT-ed to the internet unrestricted.
adding IPSec or other methods of encryptions will make your connection secure.
i've never tried it on my phone but since its based on linux it must be the same way as at desktop system.
you should check documents and howtos on the internet and check for apps at Market if the androids builtin is not satisfying!
Click to expand...
Click to collapse
i am unble to use that
i dont know how to set all these things
Use Froyo by Laszlo it supports proxy over wifi

Do any roms play nicely with 1VPN

I've been running different builds of Cyogenmod7 for quite a while & I can't get VPN (PPTP or OpenVPN) to work through the Cyogenmod settings or with 1VPN. I can, however, get it a VPN to run with OpenVPN Settings (from the market). However, OpenVPN settings is a bit of a pain since I have to enter in my username/password everytime I connect.
Anyone know how to either have OpenVPN settings remember my username/password or know of a rom that works with 1VPN?
Thanks!
I gave up on trying to get VPN to work, ended up being more of a pain then was worth it. I instead setup an SSH server on my Home computer and connect to it using ConnectBot app. Using Port Forwarding in the app I can access pretty much whatever I would of wanted to on a VPN like VNC, SMB, Upnp Media Server, ect... Everything done over the SSH is Encrypted as well so you could use it even on an Open/Public WiFi connection without fear. Only thing I have yet to try to do is forward Internet Browsing over the SSH connection, would probably require me to setup a Proxy server on the PC.
____________________________________________________
Sent from NookColor CM7 uSD using Tapatalk

Use your phone's VPN in your computer without root.

I have seen a lot of people wondering about how to use your phone's vpn in pc. If you're one of them, than keep reading.
To do this you do not need root
Works on any computer OS
Works on home wifi or data hotspot
When your PC is connected with your WiFi or hotspot, it's sends all the request directly, regardless of your phone's vpn, wheather it is on or off. When you turn on the phone's VPN, all the traffic from your phone goes through the VPN, and we have to divert your PC's traffic through the same route.
There are a lot of different ways to do this, but we will use proxy method.
Download an app called proxy server (<1MB), you can find it in PlayStore or here on XDA. Or any other app would do, it just needs to have the capability to create a proxy server.
So (for Proxy server app) all you have to do is (first time setup)-
Open the app.
Click on the add button at the top, give it a name.
Remember the port and go back.
On the dialogue, click save.
Click on Info at the top, note the wifi ip, go back.
Click on Start at the top to start the server.
Go to PC's browser (or network proxy, if you want to tunnel everything) settings.
Put the proxy server ip (the wifi ip noted earlier) and the port.
Turn on your phone's VPN
Enjoy :good:
If you're using hotspot, go to pc's network settings or ipconfig (google if you don't know how) to find out the gateway, that will be your proxyserver ip.
Just in case it seems to be a lot of steps, know that, you only have to setup once, after that its pretty much start and stop on both your phone and PC. I have an addon installed in my browser (proxy toggle) so basically it's a single-click step.
I'm no scientist, so I don't know all the billions of methods to do this, but this is just a good old method that's going unnoticed somehow. I'm just trying to help people here by sharing it here. If you already knew it, good for you. If you didn't, congratulations and good luck.
:good:
Please
ssaikia3 said:
I have seen a lot of people wondering about how to use your phone's vpn in pc. If you're one of them, than keep reading.
To do this you do not need root
Works on any computer OS
Works on home wifi or data hotspot
When your PC is connected with your WiFi or hotspot, it's sends all the request directly, regardless of your phone's vpn, wheather it is on or off. When you turn on the phone's VPN, all the traffic from your phone goes through the VPN, and we have to divert your PC's traffic through the same route.
There are a lot of different ways to do this, but we will use proxy method.
Download an app called proxy server (<1MB), you can find it in PlayStore or here on XDA. Or any other app would do, it just needs to have the capability to create a proxy server.
So (for Proxy server app) all you have to do is (first time setup)-
Open the app.
Click on the add button at the top, give it a name.
Remember the port and go back.
On the dialogue, click save.
Click on Info at the top, note the wifi ip, go back.
Click on Start at the top to start the server.
Go to PC's browser (or network proxy, if you want to tunnel everything) settings.
Put the proxy server ip (the wifi ip noted earlier) and the port.
Turn on your phone's VPN
Enjoy :good:
If you're using hotspot, go to pc's network settings or ipconfig (google if you don't know how) to find out the gateway, that will be your proxyserver ip.
Just in case it seems to be a lot of steps, know that, you only have to setup once, after that its pretty much start and stop on both your phone and PC. I have an addon installed in my browser (proxy toggle) so basically it's a single-click step.
I'm no scientist, so I don't know all the billions of methods to do this, but this is just a good old method that's going unnoticed somehow. I'm just trying to help people here by sharing it here. If you already knew it, good for you. If you didn't, congratulations and good luck.
:good:
Click to expand...
Click to collapse
Can you explain me how does vpn work?
I mean when I connected to my home wifi, I connected with my pc( Desktop ) too.
So I mean do I still need vpn to use Internet?
Thanks!!!!
ssaikia3 said:
I have seen a lot of people wondering about how to use your phone's vpn in pc. If you're one of them, than keep reading.
To do this you do not need root
Works on any computer OS
Works on home wifi or data hotspot
When your PC is connected with your WiFi or hotspot, it's sends all the request directly, regardless of your phone's vpn, wheather it is on or off. When you turn on the phone's VPN, all the traffic from your phone goes through the VPN, and we have to divert your PC's traffic through the same route.
There are a lot of different ways to do this, but we will use proxy method.
Download an app called proxy server (<1MB), you can find it in PlayStore or here on XDA. Or any other app would do, it just needs to have the capability to create a proxy server.
So (for Proxy server app) all you have to do is (first time setup)-
Open the app.
Click on the add button at the top, give it a name.
Remember the port and go back.
On the dialogue, click save.
Click on Info at the top, note the wifi ip, go back.
Click on Start at the top to start the server.
Go to PC's browser (or network proxy, if you want to tunnel everything) settings.
Put the proxy server ip (the wifi ip noted earlier) and the port.
Turn on your phone's VPN
Enjoy :good:
If you're using hotspot, go to pc's network settings or ipconfig (google if you don't know how) to find out the gateway, that will be your proxyserver ip.
Just in case it seems to be a lot of steps, know that, you only have to setup once, after that its pretty much start and stop on both your phone and PC. I have an addon installed in my browser (proxy toggle) so basically it's a single-click step.
I'm no scientist, so I don't know all the billions of methods to do this, but this is just a good old method that's going unnoticed somehow. I'm just trying to help people here by sharing it here. If you already knew it, good for you. If you didn't, congratulations and good luck.
:good:
Click to expand...
Click to collapse
More explanations are needed thanks
Ewaret said:
Can you explain me how does vpn work?
I mean when I connected to my home wifi, I connected with my pc( Desktop ) too.
So I mean do I still need vpn to use Internet?
Thanks!!!!
Click to expand...
Click to collapse
I think it'd be better if you go watch a video on YouTube, explaining "what is a vpn" . If I try to explain you here, chances are you're going to get confused even more.
sl13kp said:
More explanations are needed thanks
Click to expand...
Click to collapse
Start VPN in phone
Start proxyserver app in phone
Set the proxy IP and port in your PC browser
It's a 3 step process. If you still need help, you should ask more specifically, a generic "more explanation needed" doesn't pin point where should I start.

Categories

Resources