Set global proxy (not only for Browser) - G1 General

Hi!
I've searched nearly the entire internet to find something maching my problem, but i can't find anything.
My Problem is, that Vodafone Germany has got a limitation of usable Ports in some of their Dataplans. That means that i can only use port 80 and 443 through their Proxy server. For Browsing and webmailing this is ok, but if i want to use the market or Wikitude or ShopSavvy for example i need a Wlan to access the internet with this apps.
I logged the Wlantraffic and found out, that most apps are communicating over port 80 and 443. Their not using the Vodafone Proxy because i always get an connection error when i am trying to use it over the cellular network.
So the big main question is: How can i force the apps to use the defined Proxy Server, the browser is allready using?
I need no Username or password for it. Just adress and port.
Is there a way to reroute all traffic through this proxy? Is there an app to set a global proxy? (Not the ones out in the market to set a browser proxy, because they are really only for the browser)
It would be so nice if someone has an idea, because i am looking for weeks now to use the phone on the go with all its extras!
T-Mobile G1 with -Cupcake 1.5 orig. non rooted-
SirPhunk
PS: Previously i had a Windows Mobile 6.1 Device and everything was working fine, because all apps were using the proxy server i set in the connection settings.

I search that for a long time too!
I'm in china.I get on Internet use a wap gateway which is called cmwap that only open 80 port.
Now I set proxy from APN setting that could only makes browser to go,but all the other apps couldn't .
I tried gnu http-tunnel in Debian, but that need for a hts the http-tunnel server.
I don't know if I can use something for the Android apps.

My idea was to set a manual route to route all traffic that runs over port 80 and 443 to the vodafone Proxy, but to do that i have to root my phone, and i don't want to do that because i wouldn't loose my warranty.
Maybe there are possibilities in Android 1.5 that came out.
It would be fine if some "Pros" could make an answer.

Necroposting much?

if you just want to bypass the limitation of http proxy,then it's possibile using openvpn over http proxy
openvpn in tcp mode allow client to connect to server through an http proxy.just setup an openvpn server use tcp mode,and install openvpn on your android phone and configure it to use the proxy provided by your isp, that's all.

Related

MSN through Proxy - Which client works?

Certain carriers, including mine, restricts GPRS and forces us to use a HTTP proxy.
Windows Media Live does not support HTTP proxy, only socks proxy. I already have a SSH tunnel setup on my TyTN, but the tunnel gets disconnected every now and then, making staying connected to MSN unreliable.
I know when I used to have a Symbian60 device, there were some clients that worked through the HTTP proxy of my carrier, but either they were java based (dont want java!) or it doesnt exist for WM6.
I wonder if anyone has a MSN client that they use through the HTTP proxy of their carrier.
Thanks!
My carrier is Cricket (CDMA) and they also force us to use an http proxy.
Were you able to find an MSN Messenger (or AIM) client that will work through an http proxy?
Thanks
closest ive ever seen is www.ebuddy.com

T-Zones port forwarding ?

If using T-Zones services, you get access to only few ports. However, ports like SSL and FTP are blocked. Is it possible to use a personal proxy server to get access to all unblocked ports somehow? Just thinking of an idea.
- TKN
tariq_niazi said:
If using T-Zones services, you get access to only few ports. However, ports like SSL and FTP are blocked. Is it possible to use a personal proxy server to get access to all unblocked ports somehow? Just thinking of an idea.
- TKN
Click to expand...
Click to collapse
Well mate if you are referring to using the t-zones as a free connection or hacking it then it was done and t-mobile during a big upgrade all but closed that gap. I myself have been trying for a loop hole through this as well because if they want to give me t-zones for free why not be able to utilize it fully . I do pay my cell bill every month .. lol
T-zones ssh proxy forwarding
Yes there is a way to do this.
And yes I have got this to work. Now I run skype, AIM, Remote Dektop, etc. from my T-zones EDGE connection. It is kind of slow though for things like Skype.
This is not intended to be easy, however if you spend enough time, you should be able to get it to work.
Here is the concept (For Windows XP),
Host an ssh server and a proxy server on your home computer.
I use copSSH for an ssh server (google it) and squid for windows for a proxy server (again google it and read the documentation!)
Set the ssh server to run on port 80 or port 143 (valid t-zones ports).
Set the proxy server to run on port 8118 (I just like that port number).
Use an ssh client on your windows mobile phone (such as pocketputty dev build 2007-02-28) (again, google).
Configure the ssh client to connect to your home ssh server via port 80 or 143
On the tunnel tab of pocketputty, add the ports you need to get to and direct them to localhostortno
For example, Port 8118 is my proxy server so I have tunnelled port 8118 to localhost:8118
Now I manually connect to my EDGE T-Zones connection, I run pocketputty and connect to my home server. I then login with my user credentials to my ssh server and everything validates and I get a bash shell. Now I run Skype Mobile and change it's settings to connect using an https proxy of localhost with port 8118.
You can do this with any port, such as Remote Desktop (port 3389)
then you just open Remote Desktop client on your phone and connect to the the address localhost:3389 (or localhost)
I know this is a bit much but it's not exactly a point and click process for now, so only try this if you are pretty sure you know your way around ports, ssh, and tunneling. You could always read a lot about it online if you are not. That's what I did.
drkmfdm said:
Yes there is a way to do this.
And yes I have got this to work. Now I run skype, AIM, Remote Dektop, etc. from my T-zones EDGE connection. It is kind of slow though for things like Skype.
This is not intended to be easy, however if you spend enough time, you should be able to get it to work.
Here is the concept (For Windows XP),
Host an ssh server and a proxy server on your home computer.
I use copSSH for an ssh server (google it) and squid for windows for a proxy server (again google it and read the documentation!)
Set the ssh server to run on port 80 or port 143 (valid t-zones ports).
Set the proxy server to run on port 8118 (I just like that port number).
Use an ssh client on your windows mobile phone (such as pocketputty dev build 2007-02-28) (again, google).
Configure the ssh client to connect to your home ssh server via port 80 or 143
On the tunnel tab of pocketputty, add the ports you need to get to and direct them to localhostortno
For example, Port 8118 is my proxy server so I have tunnelled port 8118 to localhost:8118
Now I manually connect to my EDGE T-Zones connection, I run pocketputty and connect to my home server. I then login with my user credentials to my ssh server and everything validates and I get a bash shell. Now I run Skype Mobile and change it's settings to connect using an https proxy of localhost with port 8118.
You can do this with any port, such as Remote Desktop (port 3389)
then you just open Remote Desktop client on your phone and connect to the the address localhost:3389 (or localhost)
I know this is a bit much but it's not exactly a point and click process for now, so only try this if you are pretty sure you know your way around ports, ssh, and tunneling. You could always read a lot about it online if you are not. That's what I did.
Click to expand...
Click to collapse
It's relatively simple what you saying here ...but I can't understand what is the function of squid ...I don't know how you change the Skype(or other software like IM+, Agile messenger, Palringo, wmirc etc.) settings to connect using localhost port 8118 (or any other port).
Few month ago I tried something like this based on this tutorial http://forum.xda-developers.com/showthread.php?t=316890 ...but without succes ...
drkmfdm said:
Yes there is a way to do this.
And yes I have got this to work. Now I run skype, AIM, Remote Dektop, etc. from my T-zones EDGE connection. It is kind of slow though for things like Skype.
This is not intended to be easy, however if you spend enough time, you should be able to get it to work.
Here is the concept (For Windows XP),
Host an ssh server and a proxy server on your home computer.
I use copSSH for an ssh server (google it) and squid for windows for a proxy server (again google it and read the documentation!)
Set the ssh server to run on port 80 or port 143 (valid t-zones ports).
Set the proxy server to run on port 8118 (I just like that port number).
Use an ssh client on your windows mobile phone (such as pocketputty dev build 2007-02-28) (again, google).
Configure the ssh client to connect to your home ssh server via port 80 or 143
On the tunnel tab of pocketputty, add the ports you need to get to and direct them to localhostortno
For example, Port 8118 is my proxy server so I have tunnelled port 8118 to localhost:8118
Now I manually connect to my EDGE T-Zones connection, I run pocketputty and connect to my home server. I then login with my user credentials to my ssh server and everything validates and I get a bash shell. Now I run Skype Mobile and change it's settings to connect using an https proxy of localhost with port 8118.
You can do this with any port, such as Remote Desktop (port 3389)
then you just open Remote Desktop client on your phone and connect to the the address localhost:3389 (or localhost)
I know this is a bit much but it's not exactly a point and click process for now, so only try this if you are pretty sure you know your way around ports, ssh, and tunneling. You could always read a lot about it online if you are not. That's what I did.
Click to expand...
Click to collapse
One other advantage of doing it this way is that ll your activity goes down a secure encrypted tunnel and so is unsniffable.
breakx said:
It's relatively simple what you saying here ...but I can't understand what is the function of squid ...I don't know how you change the Skype(or other software like IM+, Agile messenger, Palringo, wmirc etc.) settings to connect using localhost port 8118 (or any other port).
Few month ago I tried something like this based on this tutorial http://forum.xda-developers.com/showthread.php?t=316890 ...but without succes ...
Click to expand...
Click to collapse
Yes it takes a while and some resources to make this work but it can save you a lot on T-mobile's slow EDGE network.
Squid is a caching proxy which runs under linux, windows, etc. I use it to have complete encrypted web access that is cached and I use it for remote pc connections as well as windows mobile. You could also use Privoxy to have an ad and spyware filtering proxy. I do not use Squid for any other apps such as Skype or Remote Desktop.
The forum link you included is a great example of how to setup this type of connection and it's a much better description. I wish I had found it a while ago.
I can't speak for every application and its ability to select a port, however here is how Skype works. After installing Skype you have to first login to Skype using a normal internet connection such as through ActiveSync or WiFi. After Skype login completes, you open the options menu and fill in the proxy port number. Then you can disconnect and use the pocketputty method. Remote desktop is even easier, you just open a new connection and goto the address "localhostortnumber".
Way beyond me. I wish I understood because this sounds like exactly what I have been looking for.
drkmfdm said:
Yes there is a way to do this.
And yes I have got this to work. Now I run skype, AIM, Remote Dektop, etc. from my T-zones EDGE connection. It is kind of slow though for things like Skype.
This is not intended to be easy, however if you spend enough time, you should be able to get it to work.
Here is the concept (For Windows XP),
Host an ssh server and a proxy server on your home computer.
I use copSSH for an ssh server (google it) and squid for windows for a proxy server (again google it and read the documentation!)
Set the ssh server to run on port 80 or port 143 (valid t-zones ports).
Set the proxy server to run on port 8118 (I just like that port number).
Use an ssh client on your windows mobile phone (such as pocketputty dev build 2007-02-28) (again, google).
Configure the ssh client to connect to your home ssh server via port 80 or 143
On the tunnel tab of pocketputty, add the ports you need to get to and direct them to localhostortno
For example, Port 8118 is my proxy server so I have tunnelled port 8118 to localhost:8118
Now I manually connect to my EDGE T-Zones connection, I run pocketputty and connect to my home server. I then login with my user credentials to my ssh server and everything validates and I get a bash shell. Now I run Skype Mobile and change it's settings to connect using an https proxy of localhost with port 8118.
You can do this with any port, such as Remote Desktop (port 3389)
then you just open Remote Desktop client on your phone and connect to the the address localhost:3389 (or localhost)
I know this is a bit much but it's not exactly a point and click process for now, so only try this if you are pretty sure you know your way around ports, ssh, and tunneling. You could always read a lot about it online if you are not. That's what I did.
Click to expand...
Click to collapse
Sounds wonderful ................
Now can you please add some pictures and make a sweet how-to . I am sure many on the site will be happy to see your work . And I for one an very interested in it.
i don't know what kind of application you use on your pocket. But if your applications (like skype, fetchmail ) are able to use a socket server, you can go through easily via restricted ports of your provider.
I installed a socks server listening on an opened port, so now i can use skype and read my mails via this server.
Socks server :
With linux install : "dante"
With XP I don't know, but you can use "socksproxy" for tests (found on xda...). Take care this software is not secure ( or intall a DMZ with a firewall)...

Proxy auto-config PAC file?

Hi guys, I'm one of the many people having problems connecting to the internet over wifi with a proxy. I just can't get it to work. I am using my university wifi network, and I can connect to the network fine, access the login pages, and browse the university intranet fine, but cannot connect to any outside pages.
The uni provides a PAC file (and strongly recommends it's use) but there doesn't seem to be any way to use this in 6.1. Does anyone know of an app or anything that can configure proxy using a PAC file?
(I have tried connections-connection-advanved-select networks-new and entering the proxy manually but just doesn't work.)
Cheers.
Same problem here...
Not sure about the PAC file but you can use TransProxy or AutoProxy to configure the proxies in your phone. Open the PAC file using a Notepad and it should show you the Port and IP address of your Proxy Server. Use that information while configuring the proxy software.
I know this is old, but this is an ongoing problem and I figured out how to use a .pac proxy file! After reading about proxy's and what .pac files are, I stumbled upon a little hint and after a little tinkering I was able to use my work's wifi that uses an auto-config .pac file and my phone and tablet has full internet access with browser, apps etc including Netflix for example.
Here are the steps you need:
1) Your phone has to be rooted to take advantage of the proxy apps on the market, I personally use ProxyDroid, which is free and has a feature to bind certain proxy profiles to automatically turn on when a certain wifi network is connected.
2) Usually there is an option that gives you an http proxy pac file to manually input to your browsers or what not, so whatever the link is, put it an active internet browser to download the pac file (an example of the url with the pac file would be something like http://internet.xxxxx.com/proxy.pac)
3) Where ever you download the pac file, open it with notepad or wordpad and this will reveal all the proxy info you need in order to access the proxy enable wifi. What the ProxyDroid app needs from the PAC file is the Host url and Port number. When you open a PAC file in notepad, you'll see something like this near the top along with a bunch of other things under it:
"Cisco Remote Envelope Service
if (dstHost=="internet.e-mail") {
return "PROXY internet-x-x.xxxxxx.com:9090""
- So in "Host" under Proxy Settings in the ProxyDroid app you would input: internet-x-x.xxxx.com
- For the "Port" you would put input: 9090
4) After inputting those 2 pieces of info into the ProxyDroid app, turn the wifi on for your Android Device then enable to ProxyDroid app, you should able to connect to the proxy enabled wifi!
*Some notes for the ProxyDroid app.
- It allows for Authentication, but since my work wifi does not use that, I'm not sure how it would work
- For Proxy type, I set it as an HTTP
- I binded the specific proxy profile to my work wifi so it would ProxyDroid would automatically enable when work wifi was detected
Hope this bit of info helps other that have Android devices and were unable to use a proxy enable wifi to finally access them. Hopefully in the future, Android will make using proxy and pac files a lot easier like how it's done on the ipad where they allow you to manually set up proxy settings by having the device download the PAC file.
This works on both a rooted AT&T HTC Inspire and a HP Touchpad running CM7 Alpha
If anyone is reading this, there is an easier way. Check out Autoproxy on the market. You can add a new proxy, put in the address to the proxy.pac file, and it will connect to the correct proxy everytime.
That's also useful if you're on a network where they keep changing the proxy (like the place I work). It auto-connects to the proxy when you're on that network, so it's set and forget.
Thank you, dtothesquare. I finally managed to connect my Galaxy S to my university's wi-fi, something that I couldn't do for over a year. The university doesn't officially support Android. I must have done dozens of Google searches to find this. Your advice really works, I'm so happy!

Proxy server for WM6 working with IS

Hello,
I'm looking for sofware, which can act as a http(s) proxy server working on WM(sort of a 'SQUID' for WM).
My intention is to use it with internet sharing as I have 2 uplinks(faster LAN, but severely filtered + slow internet sharing on the device with full access).
The goal is to set up a proxy running on local adapter of internet sharing(192.168.0.1) so I can set this to desktop firefox(foxyproxy plugin) using wildcards(ex. Default->go by LAN, *.youtube.com -> go by 192.168.0.1).
Does any application for this exist? All attempts to search gave me only hints how to set proxy client on wm, not the server.

.pac proxy

anyway to use a .pac proxy URL on android?
don't think you can do this,think the phone os not able to understand, why do you need to use pac files?
Sent from my GT-I9000 using XDA App
Global Pandora
I know this is old, but this is an ongoing problem and I figured out how to use a .pac proxy file! After reading about proxy's and what .pac files are, I stumbled upon a little hint and after a little tinkering I was able to use my work's wifi that uses an auto-config .pac file and my phone and tablet has full internet access with browser, apps etc including Netflix for example.
Here are the steps you need:
1) Your phone has to be rooted to take advantage of the proxy apps on the market, I personally use ProxyDroid, which is free and has a feature to bind certain proxy profiles to automatically turn on when a certain wifi network is connected.
2) Usually there is an option that gives you an http proxy pac file to manually input to your browsers or what not, so whatever the link is, put it an active internet browser to download the pac file (an example of the url with the pac file would be something like http://internet.xxxxx.com/proxy.pac)
3) Where ever you download the pac file, open it with notepad or wordpad and this will reveal all the proxy info you need in order to access the proxy enable wifi. What the ProxyDroid app needs from the PAC file is the Host url and Port number. When you open a PAC file in notepad, you'll see something like this near the top along with a bunch of other things under it:
"Cisco Remote Envelope Service
if (dstHost=="internet.e-mail") {
return "PROXY internet-x-x.xxxxxx.com:9090""
- So in "Host" under Proxy Settings in the ProxyDroid app you would input: internet-x-x.xxxx.com
- For the "Port" you would put input: 9090
4) After inputting those 2 pieces of info into the ProxyDroid app, turn the wifi on for your Android Device then enable to ProxyDroid app, you should able to connect to the proxy enabled wifi!
*Some notes for the ProxyDroid app.
- It allows for Authentication, but since my work wifi does not use that, I'm not sure how it would work
- For Proxy type, I set it as an HTTP
- I binded the specific proxy profile to my work wifi so it would ProxyDroid would automatically enable when work wifi was detected
Hope this bit of info helps other that have Android devices and were unable to use a proxy enable wifi to finally access them. Hopefully in the future, Android will make using proxy and pac files a lot easier like how it's done on the ipad where they allow you to manually set up proxy settings by having the device download the PAC file.
I've tested and this works on both a rooted AT&T HTC Inspire and a HP Touchpad running CM7 Alpha
shaunm1989 said:
anyway to use a .pac proxy URL on android?
Click to expand...
Click to collapse
Check out autoproxy on the market. It's my app and it's new. It's the only app that supports proxy.pac proxies directly. Just put the address to the file there, and click connect. It will also auto-connect when you're on the same network again (and disconnect when you're off it) so it's set and forget. It will allow you to use any apps, as long as the port is not blocked by the proxy.
Dtothesquare, that technique will work for simple proxy implementations but some organizations have a cluster of proxy servers that may serve different clients (closer to client without using anycast) or destinations. For example, a proxy server may be set up to just handle *.com while another could handle just internal hosts. It can also be used for sending clients to an alternate proxy server should the primary one be down for some reason.
Our proxy server has ACLs that only let it proxy certain URLs and returns an error if it receives something that's not allowed on that server.

Categories

Resources