[Q] Proxy for all apps - myTouch 3G, Magic General

I've got a unique situation, and I thought I'd ask to see if anyone else has been able to deal with this situation.
I've got an unlocked MyTouch 3G working on a network in South America. I am presently behind a proxy, and running a wireless router in my home. I can't afford a 3G connection, but of course I want to download apps from the Market, etc.
So far, I've been able to set up a transparent proxy on my desktop (cntlm) to receive traffic and redirect it to the proxy (to avoid the authentication pop-ups), so the browser is fine. Also, Gmail and GTalk work fine, since they transmit on different ports. But the rest of the apps hit a brick wall. Market, Maps, Mapdroyd, etc all zilch.
Since I've been able to do something similar with my *iPod* (yes, I know that's a curse word here), I wonder if there is a way to somehow redirect all web traffic to my desktop, so that it can authenticate with the proxy.
My phone is rooted, running Cyanogenmod-5, with the proxy settings directed to my desktop. But only the browser recognizes the settings. Can other apps be persuaded to use it as well?

Just to add to the previous post...
I did a little more digging, and it seems that the Android Market connects on port 5228. Unfortunately, I don't have control over which ports can be opened in my situation. However, since my *ahem* iPod *ahem* also has Google Maps, I tied connecting and it works fine. I can only assume that it is using the proxy setting, whereas the MT3G is ignoring it.
This is a linux system, and there has to be a way to force it to use the proxy, am I right?

Should the wireless router not take care of the proxy???
The router should take care of all wan-side communication...
So the lan-side devices just connects to the router and have internet!!!
If your router cannot handle this, you could buy some rather cheap wireless network adapter... and in linux you could set it up as hotspot... making sure that all devices just connects to it and have internet while you take care of the proxy problem!!!!

I'm sorry for the confusion, I should have explained my situation better. I actually live in a complex that provides internet by means of a proxy. I have no control over the proxy, and all I have to connect to it is a LAN connection. I have my cheap wireless router hooked up to it, and my computers are configured to direct traffic to it. (I understand that this is similar to many business-like setups.) What this means is that my MT3G can communicate through to the proxy by means of the transparent proxy, but it seems that not all apps are designed to apply the system-wide proxy setting.
If you are able to help, I would gladly provide more details...

Related

VPN driving me mad!

Over the last year I have tried many times to set up my Windows Mobile devices to connect over VPN and then use RDP to manage my clients' sites. To date I have never managed to get it to work. My config is as follows :-
Within Start \ Settings \Connections \ Advanced \ Select Networks
Programs that automatically connect to the Internet use MY ISP
Programs that automatically connect to a private network "My Work Network"
a VPN is configured under "My work network" and the device can connect to this and using vxutil I can ping the server I wish to RDP to - 172.17.3.3
Supposedly the important bit is to add the exception under "Work URL exceptions", I have added 172.17.3.3 in here.
Once the VPN is established if I enter 172.17.3.3 within IE or Terminal Services CLient the VPN connection is still dropped.
If I enter this IP address without connecting the VPN first then the device will not connect the VPN automatically.
If I enter a non qualified domain name such as ids-vs then the VPN is connected but the name is never resolved.
Can anyone shed any light on this, if I could use a local lmhosts file on the device as with XP then I may be able to work around the above. It appears to me though as though the exceptions list is never processed. I did a hard reset last night just in case, but this has made no difference.
I cannot believe that the above can be so complex.
I am using a HTC Tytn and using t-Mobile in the UK.
Any help greatly appreciated since it is driving me totally mad!
I would love to figure that out.
I was trying to connect to my pc at home like this and suffered from all the same symptoms your having. In the end I gave up, mainly 'cause someone told me that I needed another type of data plan to have vpn (at the time I had the $29.99USD plan) in other words it might be your plan, or something to do with the proxies or something, I hope someone would find out what you need to do in order to get this to work.
It's strange, looking around the web there are loads of people that struggle with the setup, but most seem happy once they are told to add the server name or IP address in the exceptions list.
I have ruled out the data plan since I can establish the VPN connection and can see it authenticate on the other end, as well as being able to ping the server on the work network from the phone.
I have just opened a support call with Microsoft as well, but I am not holding out much hope since I think they will point me at HTC. Assuming HTC ever responded they will just point me back at Microsoft!
Well it would be cool if they could help you, I tried everything myself and zilch. I could also establish a connection but as soon as I would try to access a file on my pc it would disconnect. I would try to help you out experimenting on my side again, but I changed my router to a cheap piece of $h.. and now I can't access my pc via vpn..... I really need to get a decent router
This may sound stupid, but I could swear someone told me something about the speed of the connection. If the connection speed is too low then DNS would fail, although that wouldn't explain why we are able to establish a connection, but not access anything else.
OK, I have made quite a bit of progress :-
1) I was using a cab file to configure T Mobile settings on the phone. This was somehow configuring the exceptions list to be ignored. Hard resetting the phone, installing this CAB the problem remained. Hard Resetting the phone and setting up GPRS manually - everything worked.
2) There is a fault with Windows CE 5 routing over VPN - the subnet information is ignored. Hence for example, if your GPRS provider give you a NAT 10.x.x.x ip address and your corporate network uses 10.x.x.x then you can never route to your corporate network.
And what cab file is that? do you know if it's on the extended roms for the t-mo roms? Glad to see your making progress, keep it up.
It was a Cab file for the Tmobile settings. It either came from these forums or over at modaco, can't remember which.
VPN
I was able to successfully use the Movian VPN to connect to my work using my XDA2.Worked fine for 2 years. Apologies, but I can't help with the settings and my work migrated to an M-notes server so I was able to connect without a VPN.

Activesync Pass Through on network using a cache

Looking for some help please. At home all of this works fine so no issues there. However at work when connected via USB I cannot use the internet pass through on Activesync. I think its because we use a cache for all IE activity, e.g http://cache'domainname'.co.uk
Strangely I can collect email through the device, its all activity such as pocket IE, RSS readers, SPPB Weather that wont connect.
Anyone any ideas on how I can get round this? I use a HTC Wizard, WM5
cheers
Dave
so do your isp
and all routers from you to the site you access to some degree
Sounds like your corporate network uses QoS and packet filtering to feed off all traffic on port 80 through their cacheing proxy server.
I was going to say, try going onto your device, into the Network Connections options, and set up the proxy server settings (if you know them) in the appropriate section of the Work connection... Then, when you next connect, make sure your connection connects to 'Work', not 'Internet'.
However, as you're connecting via USB, you'll have to set up your computer as a proxy server in its own right to funnel the traffic to your device through the cacheing proxy... Which you might not be able to do. Tricky one, this.
As I've never used my device on the Internet via USB, I couldn't honestly say... I'll do some reading up into it though and if I uncover anything I'll add it onto here, I hope you get it to work though.
cheers, got it working mostly. It seems a bit tempremental, some programs just wont work but the majority do so i'm happy. Thanks for the help though
Dave

Using a hotel internet connection securely?...

How do you do this? I have just been reading up on this and apparently it is very easy to get hacked or for someone to see what you are doing when you are connected to a hotel connection. I am going on vacation in about a month and plan on using my laptop on the hotel network. From the research I have done it seems like a VPN is my best bet? Anyone know about this stuff? I just don't want my passwords and credit card info getting swiped.
Use OpenVPN and tunnel all of your laptop's traffic to a secure remote location, or better yet, to a computer at your own home that has the OpenVPN server setup properly.
This will make it very difficult for anyone to see what you are doing.
Or, tether your phone's internet if that is a possibility for you and then use OpenVPN on your phone's tether if you're still worried.
DIY
If you're running Windows you can make your Windows computer a VPN server really easily. Here's how.
Windows XP
http://www.onecomputerguy.com/networking/xp_vpn_server.htm
Windows 7
http://www.windows7library.com/blog/networking/a-quick-vpn-server-using-windows-7/
Then you need to go into your router and forward port 1723 for VPN traffic to the computer you just set up this VPN server on. Do a search on the brand name of your router plus 'incoming vpn port forward'
Once that's set you'll need a Dynamic DNS service so that you can access it over the Internet by name, even if your IP address at home changes. You can set this up for free here.
http://dyn.com/dns/dyndns-free/
Of course if you're on a Mac I can't help you there lol, I'm not a Mac guy.
Last up, if you're at a hotel, VPN connections don't always work coming out of a hotel due to cheap/crappy setups. To PoisonWolf's point, having tethering on your phone is always a great backup in case the hotel's Internet access isn't good.
B

Sharing VPN connection via Mac to Fire TV running KODI

So the title is pretty in depth, but I am a newbie to VPNs and need some help.
I live in NJ, big NY Rangers fan and I currently do not have an satellite or cable service so I rely on my psvue subscription and amazon fire tv which has Kodi on it.
I created a VPN with ExpressVPN, downloaded their software app on my mac and have the VPN up and running (on my mac). I don't have a compatible router to run the VPN through, so I read that I can use my mac to share the VPN to the amazon fire tv. How do I go about successfully doing this? ExpressVPN said my Mac has to be hardwired via ethernet to my existing router, is this true?
I also wanted to know that if I successfully get the amazon fire tv connected to my VPN connection, will my kodi app run off of that connected VPN or do I have to manually configure the VPN via Kodi as well? I am thinking that having the VPN connected on the Fire stick will be sufficient enough for Kodi.
T
https://play.google.com/store/apps/details?id=de.blinkt.openvpn
If you pay for a vpn service that doesnt allow you to use an openvpn client, stop paying for that service..
Using the mac doesnt make that much sense, since the firetv can connect to vpn services on its own. If you WANT to use the mac you would connect it to the internet via lan and create a hotspot on the wlan side on which the firetv then connects. So look for mac hotspot programs if you absolutely want to do it that way.
The app above works witha ll apps as soon as it connects, so no extra setup in kodi needed. Successfully tested under 5.0.5.
harlekinwashere said:
https://play.google.com/store/apps/details?id=de.blinkt.openvpn
If you pay for a vpn service that doesnt allow you to use an openvpn client, stop paying for that service..
Using the mac doesnt make that much sense, since the firetv can connect to vpn services on its own. If you WANT to use the mac you would connect it to the internet via lan and create a hotspot on the wlan side on which the firetv then connects. So look for mac hotspot programs if you absolutely want to do it that way.
The app above works witha ll apps as soon as it connects, so no extra setup in kodi needed. Successfully tested under 5.0.5.
Click to expand...
Click to collapse
Well How would I know if ExpressVPN allows me to use an openvpn client? I thought the fire tv couldnt connect to vpn on its on so that is why I was having my mac come into play, but it is getting a little too complicated for me. So I download this app from the google play store via my android device? If you can give me some more direction I would greatly appreciate all of your help!
Edit: I can use my android device and sideload the app via AGK Fire...learning a little more each second
You should be able to setup a VPN through a Router, even the crappy Ones issued by your ISP.
Ichijoe said:
You should be able to setup a VPN through a Router, even the crappy Ones issued by your ISP.
Click to expand...
Click to collapse
hmmm I will have to look into that with my ISP router, thanks
I know how much you all love reddit QA culture - but
Using a VPN client on the device itself i the best way to realize this.
Setting up a VPN on your router is a worse way to realize this, mostly favored by people that read it once, and never tried it. Its only viable if your router supports selective tunneling, so you can tunnel the traffic from one ip through your vpn, but not from others. Which is only possible on newer dd-wrt or equivalent routers, because on older build one of the necessary commands broke - setting up your whole internet to go through the vpn is like paying for worse internet.
The router most likely is the slowest piece of equipment in your chain, so switching it off and on again is a chore - believe me I tried to make it work for three days. Interfacing with the router isnt great either.
So yes, I bet 90% of the people advising you to use a VPN connection on your router, have just read it somewhere ad thought it would be great to repeat it in every context.
Also ISP router - haha, yeah - good luck.
The only way VPN on a rounter makes sense is if you are on on of the _recent_ open source routers, and can spend a day to get either openvpn or pptp running there (no documentation from most VPN vendors) and selective tunneling to the Fire TV - or if by some really strange luck, have bought a commercial router that has VPN tunneling to one specific device built in.
Imho bad idea, even worse in practice (routers UI to switch -), but the favorite of the collective knowledge crowd that hangs out on reddit and repeats what people before them have said. Because they just went with what sounded right.
Does your VPN provider support Open VPN connections? Well, shouldnt that be something that you ask yourself before choosing a VPN provider? Also - dont ask the internet, if your provider supports it, ask your provider - again, you are paying the provider, so use its support infrastructure to ask the important questions.
The issue with the "what the most eazy" mindset, when it comes to VPNs or interoperating devices, is that you have to rely on open standards (like Open VPN) and not brand, or best vendor app. Its a strange concept, but actually knowing about stuff, before going into a monthly payment plan - is actually a good thing...
cheers h.

Open VPN - no access to home network

I recently bought a new Asus router that allows me to use it as an Open VPN server.
Installed the Open VPN GUI/Apps on both Windows and Android devices, and both platforms were giving me full access to my Home network.
However, while the Windows devices still work 100%, all my Android devices are now barred from entering my Home network (though they allow general internet access through the server just fine).
Any ideas what's gone wrong on the Android side of things?
Thanks.
How are you connecting to your VPN server? Are your Android devices connected via wifi etc or are they using cellular networks to connect via your WAN
It sounds to me like a routing issue, for example your local network could be 192.168.1.0 and your VPN 10.0.0.1, so if your android device is connected via the 10. network unless routed it wouldn't know how to access your 192 network.
This seems like a similar issue, maybe you can find more help here: https://forums.openvpn.net/viewtopic.php?t=21311
Thanks for the reply, which I've only just had a chance to look at.
I can't get inside my network by neither cellular or wifi.
I'll have a good look at the link you've posted and report back.
I'm very much a network newbie and this has been very frustrating as it worked when I first set it up and now it doesn't, in spite of router factory resets.

Categories

Resources