Vpn issues - Sprint LG G3

I have had no luck trying to get my vpn to work on my g3. It will connect and run but after a minute or so I will be unable to download or upload any data. I use a paid vpn with unlimited bandwidth so the server isn't the problem. Its client side. It doesn't work from the app from the provider or manually from settings.
Does anyone know ofbany workarounds. The compression usually gives me moderately better speeds and I pay $30 a year for this service and I am now unable to use it.
Any help appreciated.
Sent from my LGLS990 using XDA Premium 4 mobile app

fenguepay said:
I have had no luck trying to get my vpn to work on my g3. It will connect and run but after a minute or so I will be unable to download or upload any data. I use a paid vpn with unlimited bandwidth so the server isn't the problem. Its client side. It doesn't work from the app from the provider or manually from settings.
Does anyone know ofbany workarounds. The compression usually gives me moderately better speeds and I pay $30 a year for this service and I am now unable to use it.
Any help appreciated.
Sent from my LGLS990 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Try Cisco's Anyconnect. It's free. It works on my Nexus 7 and my G3.

In general, you don't need to connect through a third party app as android has a built-in VPN client. So try to use the built-in one and if you still face the stability problem, switch the protocols from pptp to l2tp or vice versa.
Also, make sure the network router/firewall permits GRE protocol 47 (You will want to find and enable a "PPTP passthrough" feature on your router that knows how to handle the GRE packets). In fact both port 1723 and GRE protocol shoyld be opened/enabled to establish VPN connectivity by using PPTP.
Hope it could solve the problem.

Related

Webserver using mobile connection

I have never got any app that hosts web page to work when I'm using mobile connection.
Wlan connection always works and another users seem to get it working using mobile connection.
Same problem with all ROMs that I have used. How to fix?
Mehumummo said:
I have never got any app that hosts web page to work when I'm using mobile connection.
Wlan connection always works and another users seem to get it working using mobile connection.
Same problem with all ROMs that I have used. How to fix?
Click to expand...
Click to collapse
Ummm. What network are you on? Remember most networks use NAT so save IP addresses. So your web server might only work for other users on the same subnet of your provider.
A phone isn't an ideal server. Can't you spend $1 or so per month on shared hosting on a server somewhere?
This is why it works on WiFI, as you have a dedicated IP address.
How can an incoming connection to 155.55.55.55 (for example, which covers all your network's users) know to direct an incoming port 80 (web) request to your phone? As opposed to the many other people that would try this?
I think Vodafone UK gives individual Ips though, so you could switch provider if it matters
anon2122 said:
Ummm. What network are you on? Remember most networks use NAT so save IP addresses. So your web server might only work for other users on the same subnet of your provider.
A phone isn't an ideal server. Can't you spend $1 or so per month on shared hosting on a server somewhere?
This is why it works on WiFI, as you have a dedicated IP address.
How can an incoming connection to 155.55.55.55 (for example, which covers all your network's users) know to direct an incoming port 80 (web) request to your phone? As opposed to the many other people that would try this?
I think Vodafone UK gives individual Ips though, so you could switch provider if it matters
Click to expand...
Click to collapse
I do know what NAT is (as it always ruins everything). I was not aware that mobile connection uses NAT as I imagined that operators doesn't put their users under same ip.
I'm not hosting something that any server could, mostly access to my phone:
files, sms, remote usage etc.
So there is no way but change operator?
Mehumummo said:
I do know what NAT is (as it always ruins everything). I was not aware that mobile connection uses NAT as I imagined that operators doesn't put their users under same ip.
I'm not hosting something that any server could, mostly access to my phone:
files, sms, remote usage etc.
So there is no way but change operator?
Click to expand...
Click to collapse
T-mobile definitely uses nat, as I have tried to ssh into my phone etc. I needed to make a listen server and dial into it from the phone.
So what you are doing needs a unique ip or upnp support (which I doubt android can do). But also it needs an isp that don't block ports or anything.
We use vodafone sims for remotely connecting to remote wind farms, as it allows incoming radmin connections.
anon2122 said:
So what you are doing needs a unique ip or upnp support (which I doubt android can do).
Click to expand...
Click to collapse
I guess that no operator supports UPnP/IGD to poke holes in their NAT.
If it's only for transferring files, SwiFTP supports a proxy server that is provided by the author. SwiFTP doesn't support SSL, and I don't think that I would want to send the plain text password to my phone over the Internet.
Another possibility is a VPN from the phone to the PC or router. Than you can start a server like kWS, Android Desktop, PAW Server, I-Jetty, WebFileSystem, etc.
VPN sounds good, gonna try when I get to home.
I can get connection using vpn.
However if there are no connection for short time or phone is restarted then vpn connection goes away.
I would like it to reconnect asap but it isn't meant to be that way :/
Couldn't find anything to reconnect vpn.
I didn't try the built-in VPNs (Android 2.1), but it works fine with OpenVPN: even when changing from Wifi to 3G it reconnects after a few seconds. You need root for OpenVPN AFAIK. It works great with VillainROM 12 which comes with OpenVPN. There's a guide at the VillainROM forums.
Thanks got it working
Lol huge decrease to battery life, suppose you don't have any hints for that?

[Q] Proxy Servers OMG !!!

OK people... some of you people much cleverer than me PLEASE tell me there's a way around this.
My internet at home runs through a proxy server, so I have the IP address and port.
This internet connection is broadcast using wifi around my house. My PCs can connect to this just fine, using the IP and port in my Windows networking configuration.
My Vibrant will NOT work. Here are the scenarios I am dealing with :
If I connect to the wireless I can see my home network, and browse Windows network shares on my phone just fine.
If I go into the wireless | advanced | proxy settings (I am running a Bionix 2.2 ROM - Onyx 4.2 I think) and set my proxy IP and port then I can browse the internet in the default browser but NO other apps will make an internet connection. Odd since the proxy connection seems to me to be attached to the wireless connection, not the browser specifically.
So I installed and configured transproxy 3.8 beta (which doesn't seem to be vibrant specific, but installs and configures OK), and entered the same details and enabled the proxy connection, and NOTHING, including the default browser, will make an internet connection.
In all cases my connection to the wireless network itself is perfectly fine.
I've spent a couple of days trying to find a sensible solution to this, but have found nothing helpful.
Anyone out there had any similar experiences, or better yet found some kind of awesome solution ?
Very much appreciate any answers.
Ok before I give up completely, no one has gotten a Vibrant properly connected through a proxy server? It would at least be something to know it is known to be impossible, then I could stop obsessing and concentrate on being annoyed?
Anyone?
Sent from my SGH-T959 using XDA App
are you sure you use a proxy server? I've never seen a home network that uses one. A NAT firewall / router isn't a proxy server.
If you are running a proxy server, what do your proxy server logs say?
Can you access services on other than port 80? (email for example)
Proxy on a home network isn't out of the norm. I know guys who run them to block certain sites from their kids. Yes I know there are other options out there, they just decided to use a proxy server.
Sent from my SGH-T959 using XDA App
I know I am reviving a old thread, but I am also looking for a solution to this. I have tried using AutoProxy with no luck. It configures OK, but when it is on it is as if I have no network connection at all.
I don't need authentication, it is a HTTP 1.1 compliant proxy and all I need is host and port. In my case I set up a RabbIT4 proxy on a VPS linux host in a data center with multiple redundant tier one network providers. My proxy minifys HTML, JavaScript, and CSS - then gzips it. It also replaces ADs with a 1x1 transparent gif and re-samples all images to a quality 20 jpeg.
I used to run an ISP and we did this as an optional service for our dial-up customers. It REALLY improves slow connections.
So anyhow I would appreciate it if you let me know of any solutions you found this might work. Anyone with ideas please chime in.
Try flashing a different rom and see if you have the same problem....... It may be as simple as a conflict with that rom.
I have never heard of a case where this kind of problem exists. It sounds like a rom to wireless router conflict, but assuming it is exactly what you say, then if the setting are set for example, to have controls on access then, it would stand to reason remove them from the server side it should resolve the problem. But I would look at trying a different rom 1st,
The proxy works great on my desktop, and the phone's ROM has the option to set a proxy for the Wi-Fi connection (which works). The issue is I don't need the proxy for my Wi-Fi, that is fast - I need it when I am on the edge network, which is often.
I can't change ROM, Trigger 3.3 is too perfect for me to budge. I have both busybox and iptables, so I don't know what is up.
EDIT, I have tried 3 more apps with the same results, either they don't actually set the proxy and I have net, or they do set it and I lose connection. To be fair I have only been able to test when on Wi-Fi and I could set that from the ROM options, I need to try testing when I am on cellular - I just don't think it is going to make a difference.
Friggin proxies!
be1ieve1111 said:
Friggin proxies!
Click to expand...
Click to collapse
Proxies can be your friend, my friend! Imagine getting about 30kps on edge and your trying to look something up real quick, but the pages keep timing out. Meanwhile right next to you with the same basic connection is me, happily surfing away.
Why, because instead of sending my request to the website it went to my proxy, sitting in a class 3 data center in Los Angeles. My proxy made the request for me with its OC3 Internet connection, then took all the white space out of all the HTML, JavaScript, and CSS - then it gzipped it. It also converted all images to highly compressed low quality jpegs. Finally, it sent me back the reduced size data (reduced by about 78% in fact) and all the processing happened in the blink of an eye.
With a fast Internet connection the proxy just gives you lower quality pages with twice the page load time, but on slow connections it can be up to 5 times faster. Hmm. . . 5 times faster, where have I hear that before?? Oh yea, AOL, Earthlink, and others were promising that with their "Accelerated dial-up". Guess what?! This is exactly what they where doing. It is an old Dial-Up ISP trick. That is why I know how to do it. Now if only my phone would co-operate. Friggin proxies!
bump
did you ever figure this out? I think I may have found how to do it without any applications but you'll need to be rooted.
jamesd86 said:
bump
did you ever figure this out? I think I may have found how to do it without any applications but you'll need to be rooted.
Click to expand...
Click to collapse
Do tell [10 char]
Build prop edit but I dont have a server to test with...any chance you could set up a generic account on your server to test with? Pm the details instead of putting in open if you can.
Basically adding the entry
Code:
net.gprs.http-proxy=yourproxy
To the build prop. Im not certain if there are any other lines I need to add but would like to try.
Sent from my SGH-T959 using XDA Premium App
jamesd86 said:
Build prop edit but I dont have a server to test with...any chance you could set up a generic account on your server to test with? Pm the details instead of putting in open if you can.
Basically adding the entry
Code:
net.gprs.http-proxy=yourproxy
To the build prop. Im not certain if there are any other lines I need to add but would like to try.
Sent from my SGH-T959 using XDA Premium App
Click to expand...
Click to collapse
I lost the VPS server in the data center I was using. For best results you want the proxy to have a much better Internet connection than what is being proxied. For example - my connection in the data center was 100Mbs both up and down. When I proxied something that had the basic bandwidth of a dial-up connection in the neighborhood of 32-56kbps the speed boost was about 5 times faster. Doing the same thing for my 5Mbs cable connection was actually about twice as slow, meaning my page load times in seconds showed doubled my average total time to completely load a page and speedtest.net showed about half the bandwidth.
So this trick here is the proxy really needs a VERY, VERY good and fast Internet connection - like you get from a good hosting provider. However, if you just want to test connectivity you can try setting up your own proxy.
Here is what I was using http://khelekore.org/rabbit/ - This runs via Java, so it should work wherever you have Java available. I have successfully run in on FreeBSD, Linux, Solaris Unix, and Windows.
Will look into it but my home connection often sucks...i've also had no luck running and accessing a media server outside my home network as I think comcast blocjs that/tgis kind of tging being run on consumer plans
Sent from my SGH-T959 using XDA Premium App
jamesd86 said:
Will look into it but my home connection often sucks...i've also had no luck running and accessing a media server outside my home network as I think comcast blocjs that/tgis kind of tging being run on consumer plans
Sent from my SGH-T959 using XDA Premium App
Click to expand...
Click to collapse
Well this is a HTTP1.1 proxy, so you can pick any open port you want other than port 80 and it is HTTP traffic. So regardless of if they are using port blocking or protocol blocking, there really is not much way to keep you from using/running a proxy.
Any recommended other ports(like commonly open ones)
Sent from my SGH-T959 using XDA Premium App
Yeah, i'm deff going to need a lil assistance on setting this up...the faq on the site is not that great.
T313C0mun1s7 said:
Well this is a HTTP1.1 proxy, so you can pick any open port you want other than port 80 and it is HTTP traffic. So regardless of if they are using port blocking or protocol blocking, there really is not much way to keep you from using/running a proxy.
Click to expand...
Click to collapse
Certain port numbers are pre-assigned to particular applications by an international body called IANA, the Internet Assigned Numbers Authority.
8080 is assigned for HTTP-Alt, so it is the most commonly used and rarely blocked
1080 is assigned to socks (as in socks proxy) so the same applies
Just avoid a port number below 1024 so you don't conflict with a commonly assigned port and you should be fine.
I have an awesome idea...because I can't figure out how to set this ish up..set it up on your connection..i know it will be slow but just for proof of concept, send the details for access and i'll test it out..or you can edit your build.prop and test it. yep..unless you know an easier to setup one.
jamesd86 said:
I have an awesome idea...because I can't figure out how to set this ish up..set it up on your connection..i know it will be slow but just for proof of concept, send the details for access and i'll test it out..or you can edit your build.prop and test it. yep..unless you know an easier to setup one.
Click to expand...
Click to collapse
Or try this: http://aliveproxy.com/socks5-list/ or http://x-proxy.info/socks.php
These are pure HTTP proxys (like RabbIT4) and might work better: http://www.x-proxy.info/highanon.php
I tgink its a no go for now...nothing I put in the line will stay on reboot.
Sent from my SGH-T959 using XDA Premium App

If I can bypass my mobile ISP, can I tunnel elsewhere for data?

My phones finds be cut off for a while. I have root. Can I tunnel to a proxy and gain data that way?
Sent from my Moto X using Tapatalk
Do you mean a proxy, installed in your local network? If so yes, if not the proxy is also located in the internet somewhere and you need data to get there.
Sent from my RAZR M using XDA Free mobile app
That's what I'm trying to establish, is data by going around the provider... Cuz you know they maintain a data connection to the phone but it's just for their purposes, so I'm thinking there's gotta be a way to slip around them using 'bypass ISP' command from the crossbreeder mod, then a tunnel VPN to a proxy I have setup on another network... It seems to me that it should be doable... It's the 'how' that's got me tripping up.
Sent from my Moto X using Tapatalk
Hammerdroid said:
That's what I'm trying to establish, is data by going around the provider... Cuz you know they maintain a data connection to the phone but it's just for their purposes, so I'm thinking there's gotta be a way to slip around them using 'bypass ISP' command from the crossbreeder mod, then a tunnel VPN to a proxy I have setup on another network... It seems to me that it should be doable... It's the 'how' that's got me tripping up.
Sent from my Moto X using Tapatalk
Click to expand...
Click to collapse
I'm not sure if I understand correctly, but I think you use that :
"CrossBreeder now includes the bypass censor functionality. This allows you to circumvent DNS based censors as used by most authoritarian countries. This basically works by bypassing your ISP's DNS servers and querying the 2 Google DNS servers and 2 L3 DNS servers only. These are usually faster anyway, more so due to the caching and parallelizing nature of the query. Thus if your ISP is blocking websites without telling you, you have a way out if this. You can enable it using the following command:
su -c "/system/etc/CrossBreeder/ENABLE_BYPASS_ISP""
So you bypass your ISP's DNS, and you want bypass all DATA from your ISP...if I understand... A simple way would be a VPN based on openVPN...but you don't need proxy, the data in the VPN will not be readable for the ISP... Another is to use just...a HTTPS-Proxy, or SOCKS (for android, I launch shadowsocks on my server).
Hope that can help you.
But even if you use a VPN or anything similar, you still need access to the ISPs network. And if the access is blocked completely you also cant connect to the vpn.
Sent from my RAZR M using XDA Free mobile app
sounds like greek to me.. i want the algorythm for my local cellular network airtime voucher generator thing... man im so fycked off paying airtime its bull****.. ppl should be paying 400% less than what we di at the moment.. either that or im stuck too far in the future.. geez=(

My data dont work when using a vpn

Sent from my SM-G900T using XDA Free mobile app
When I use my Gs5 as s hot spot for internet for my laptop if I use a vpn the data will not work. If I try to download a web page it will say theres no data connection but if I disconnected the vpn it works just fine.Does anyone know why when connected to a vpn this problem occurs. Thanks In advance!!!
Sent from my SM-G900T using XDA Free mobile app
xda23 said:
When I use my Gs5 as s hot spot for internet for my laptop if I use a vpn the data will not work. If I try to download a web page it will say theres no data connection but if I disconnected the vpn it works just fine.Does anyone know why when connected to a vpn this problem occurs. Thanks In advance!!!
Sent from my SM-G900T using XDA Free mobile app
Click to expand...
Click to collapse
More then likely, the VPN is detecting the tethering connection causing it to try to encrypt that as well as the actual data connection.
I take it you're using an app to establish a connection to the VPN? try using the native VPN connection inside android. I have used a VPN with tethering before and I believe that was my setup.
Sent from my SM-G900T using Tapatalk
elesbb said:
More then likely, the VPN is detecting the tethering connection causing it to try to encrypt that as well as the actual data connection.
I take it you're using an app to establish a connection to the VPN? try using the native VPN connection inside android. I have used a VPN with tethering before and I believe that was my setup.
Sent from my SM-G900T using Tapatalk
Click to expand...
Click to collapse
Yes I'am using an app to establish a connection.how do I set up the native vpn connection inside android. Thanks
xda23 said:
Yes I'am using an app to establish a connection.how do I set up the native vpn connection inside android. Thanks
Click to expand...
Click to collapse
Settings > Connections > More networks.
You will need to get the server destination address and other information from your VPN client.
elesbb said:
Settings > Connections > More networks.
You will need to get the server destination address and other information from your VPN client.
Click to expand...
Click to collapse
Thanks my friend.
xda23 said:
Thanks my friend.
Click to expand...
Click to collapse
Yup. I've used that method for playing PS3.
Hey if I was to use wifi tethering app from the market for rooted devices then a vpn app set up would work right? I just need to use the built-in vpn setup when using my native wifi hotspot? I that right. Thanks.
xda23 said:
Hey if I was to use wifi tethering app from the market for rooted devices then a vpn app set up would work right? I just need to use the built-in vpn setup when using my native wifi hotspot? I that right. Thanks.
Click to expand...
Click to collapse
Nope. You need the built-in VPN setup any time you tether. Whats happening is the VPN App is detecting the WiFi connection and you data connection as being "internet connections" therefore it tries to encrypt the WiFi and Data connections double encrypting the data. Or, its not sure what network to port the data through. Using the built-in VPN setup only allows the data connection to be "VPNed"
I used to use WiFi Tether For Root Users on my S4 but still had troubles with VPN until I manually set up the VPN in android.
elesbb said:
Nope. You need the built-in VPN setup any time you tether. Whats happening is the VPN App is detecting the WiFi connection and you data connection as being "internet connections" therefore it tries to encrypt the WiFi and Data connections double encrypting the data. Or, its not sure what network to port the data through. Using the built-in VPN setup only allows the data connection to be "VPNed"
I used to use WiFi Tether For Root Users on my S4 but still had troubles with VPN until I manually set up the VPN in android.
Click to expand...
Click to collapse
O.k. I got you.Im going to set me up a android vpn. Thanks, my friend.
xda23 said:
O.k. I got you.Im going to set me up a android vpn. Thanks, my friend.
Click to expand...
Click to collapse
Shouldn't be too hard. Just contact your VPN service provider, and ask them for the specific connection options you need. For instance, I know Private Internet Access allows you to connect without using their app. They have a webpage setup that has all the info you need depending which server you wish to connect to
xda23 said:
O.k. I got you.Im going to set me up a android vpn. Thanks, my friend.
Click to expand...
Click to collapse
In the following post I described how you can setup a VPN connection on GS5 that might be helpful for your case as well:
http://forum.xda-developers.com/gen...tive-vpn-android-device-t2868224#post55313798

Best VPN

Which is the best and fastest VPN for android. Please suggest me the best and fastest one, dosent matter if it is a paid or free app
I've been using NORDVPN for about a year now. The price was reasonable. They have lots of servers. It comes with both VPN and DNS proxy. It also has a feature that will use the right server for the service you are connecting to, automatically without having to switch server country myself.
Some of the big PC magazines have chosen it as the top VPN service overall.
Sent from my SM-G950U using Tapatalk
mongo999 said:
I've been using NORDVPN for about a year now. The price was reasonable. They have lots of servers. It comes with both VPN and DNS proxy. It also has a feature that will use the right server for the service you are connecting to, automatically without having to switch server country myself.
Some of the big PC magazines have chosen it as the top VPN service overall.
Click to expand...
Click to collapse
Thank you for the info
Sent from my Htc Desire 816 dual sim using XDA Labs
I will suggest you to use ExpressVPN which is the best VPN service of all. I’m personally using Express never got any issue about internet speed.

Categories

Resources