[Q] VPN on Mobile Data - Verizon HTC One (M8)

Has anyone been able to get a VPN (PPTP, L2TP, or OpenVPN) to work while connected Verizon 3G or LTE? I have a work VPN and Private Internet Access and both exhibit the same issues. They will connect, work for a bit of data transfer, and then drop. The drops are caused by the mobile data connection resetting (icon will be grayed out before becoming solid white again). VPN works completely fine on Wifi though.

changt34x said:
Has anyone been able to get a VPN (PPTP, L2TP, or OpenVPN) to work while connected Verizon 3G or LTE? I have a work VPN and Private Internet Access and both exhibit the same issues. They will connect, work for a bit of data transfer, and then drop. The drops are caused by the mobile data connection resetting (icon will be grayed out before becoming solid white again). VPN works completely fine on Wifi though.
Click to expand...
Click to collapse
I have been trying to get the this ironed out as well. Have you tried the client "OpenVPN for Android"? and I'm using a TCP port instead of UDP. My other thought has been it seems like the connection resets more often while I'm mobile. I my location doesn't change I have greater up time.

mc_365 said:
I have been trying to get the this ironed out as well. Have you tried the client "OpenVPN for Android"? and I'm using a TCP port instead of UDP. My other thought has been it seems like the connection resets more often while I'm mobile. I my location doesn't change I have greater up time.
Click to expand...
Click to collapse
I have tried that one and the OpenVPN stock app, VPNRoot, and the stock android client. All have the same problem. I don't get drops ever on WiFi, only on mobile.
I have also tried some other things like mssfix and setting a lower MTU, but neither have worked so far.

Related

Wifi proxy suddenly works on Android

Okay folks got a bit of a strage development that I could use some help with.
As we all know, Android does not currently support Wifi proxy servers, at least it has no way to access the settings. I live on campus and the wifi is piped through a proxy server to the internet and I found the lack of wireless to be quite annoying (especially the hole it was burning in my pocket!)
Anyway, I had bought a wireless router to have internet all around my apartment. The network is hidden and my HTC Desire wasn't connecting to it. I eventually found out that this was because the network was braodcasting in mixed b/g/n mode. I changed it to b/g only and the phone connected.
I hadn't really expected it to connect to the internet because there was still no proxy set up but to my surprise it did! I checked my data counters and only the Wifi one was going up. The network my router is connected to uses the same proxy as the campus wireless so there is definately a proxy.
An even stranger development is the fact that since then, when I connect directly to the campus wireless network (not to my router) the internet still works. I keep checking the data counters and its not using up any 3G data. I checked my IP address online and it corresponds to the campus IP address. I also switched off the wifi and checked again and the IP changed to my cell provider.
I haven't tried connecting to a different wireless network since then and I didn't change any settings. I'm using an unrooted HTC Desire with stock ROMs. I had downloaded WifiAce but I since removed that and the proxy still works.
So what I'm wondering is, can anybody confirm this or give any thoughts on how this is working? Does anyone also know if the data counters available on the market acurately track data usage or do they simply assume that if the wifi is connected that the phone is downloading via wireless and not cell.
If anyone has any thoughts on this or could go out of their way to try and confirm it I'd be grateful.
(update) I found that it doesn't work on one of the networks, the oldest one on campus. Not sure why this is yet
You are correct. I found out this a long time ago. It also happens with some wireless MAC Laptops. You have to define the broadcasting channel.
Stupid Question, I'm Sure...
Omnichron said:
You are correct. I found out this a long time ago. It also happens with some wireless MAC Laptops. You have to define the broadcasting channel.
Click to expand...
Click to collapse
I wonder if you could explain what "defining the broadcasting channel" means...in case I occasion similar difficulties joining a public wifi network?
It's a dumb question, I'm sure...but I've never actually owned a router.
Between my dearly-departed, slightly hacked XV6800, followed by Tetherberry on my 9530...Wireless Tether on my CM7 Droid (only in a pinch) and the Clear Wireless dongle on my laptop (shared via Connectify), I think I'm missing several years of typical AP experience.

Can't Connect to VPN

I just got my TB this morning, am working on configuring it to replace my DInc. I have an L2TP over IPSec (PSK) VPN set up on my DInc, and it works without any problem. I tried the exact same settings on my TB, and I get a box "Attention Unable to connect to the network. Do you want to try again?"
I get this message whether I try to connect from 3g/4g or from my own wireless network (on the same LAN as the VPN). When I look at the logs on the machine hosting the VPN, I see absolutely nothing when I attempt to connect from my TB (connecting from my DInc produces the right log entries). I can also connect to the VPN server from other clients (Windows 7, etc.) without any problems.
*Edit: Cannot connect from TB via PPTP either. Can connect from other PPTP clients.
I have been able to connect to my works VPN (using PPTP) without problem.
Very fast and stable so far! Used it for about 15 minutes without a hitch.
rajuabju said:
I have been able to connect to my works VPN (using PPTP) without problem.
Very fast and stable so far! Used it for about 15 minutes without a hitch.
Click to expand...
Click to collapse
Thanks for the reply. I am still unable to connect directly from my TB, using PPTP or L2TP. If I configure my TB as a mobile hotspot and connect to the internet through it, though, I can connect to my VPN server using the TB's internet connection. But I still cannot connect from the TB using its VPN client.
Lovely. After doing some extensive reading, it sounds like the problem is likely the rom itself. Guess I'll be waiting for an update.
can you list what settings your using in your VPN? since this forum is aout people having trouble and not bragging about whats working?
I too am running dasBAMF and have no VPN's added nor can I find default settings
papajay224 said:
can you list what settings your using in your VPN? since this forum is aout people having trouble and not bragging about whats working?
I too am running dasBAMF and have no VPN's added nor can I find default settings
Click to expand...
Click to collapse
I'm guessing your post was directed at rajuabju, but hopefully I can help. I do finally have both PPTP and L2TP/IPSec VPN's working on my TB. With what are you having trouble?
Have you tried OpenVPN? I have had the most luck with that, as well as having it forward all traffic through the VPN.

Using built-in VPN on AT&T (LTE & HSPA)

Has anyone been successful using the VPN function on AT&T's LTE network? I can connect successfully but no web pages will display and it's as if I have no internet connection. Using the same VPN while on HSPA or WiFi seems to work fine, so it leads me to believe it's a problem with AT&T's network.
On a side note, does anyone know if tethered connections also route through the VPN connection on the phone?...and if so, would it hide the tethering from being detected by AT&T?
jjc5891 said:
Has anyone been successful using the VPN function on AT&T's LTE network? I can connect successfully but no web pages will display and it's as if I have no internet connection. Using the same VPN while on HSPA or WiFi seems to work fine, so it leads me to believe it's a problem with AT&T's network.
On a side note, does anyone know if tethered connections also route through the VPN connection on the phone?...and if so, would it hide the tethering from being detected by AT&T?
Click to expand...
Click to collapse
Not sure if your problem is the same as my. But when I connect to my work vpn, i think it routed all my phone's data to the work vpn connection.
anyone knows how to separate the two?
I want work lync on vpn and others remain using my carrier 3g connection.l
mytouchrocks said:
Not sure if your problem is the same as my. But when I connect to my work vpn, i think it routed all my phone's data to the work vpn connection.
anyone knows how to separate the two?
I want work lync on vpn and others remain using my carrier 3g connection.l
Click to expand...
Click to collapse
Not quite the same issue, but I'll take a stab at answering your question. That is exactly how VPN was designed to work. If you connect to your work's VPN, everything on your phone will route all of your data through that VPN. It's done at the system level, not application level.

WiFi DNS issue

Currently running Sow Nice OJC on my G920T. I've been running into some odd WiFi issues...namely with DNS and addressing. At my and my girlfriend's house, WiFi is pretty much pointless as I get DNS errors. Her connection is using the standard Xfinity all-in-one modem/router which isn't configurable worth a damn...but her phone and tablet work fine via WiFi, as does my laptop. At my house I have my own modem and router; I have the DHCP server set up to use Google's public DNS servers. All my devices in my house work fine...Xbox, computer, even Chromecast...but for whatever reason my S6 runs into DNS errors which of course disables WiFi Calling as well.
I have tried running static IP and manually setting Google DNS as well as other DNS; it doesn't seem to help. I have also tried toggling airplane mode. I haven't experimented much with other connections that aren't Comcast, so I will include that in my troubleshooting. I am unsure if this is related to the issue I was having with connecting to my GoPro via WiFi.
Anyone else out there running Lollipop have DNS issues (or don't) and have found a solution? It isn't a huge issue at the moment as I have good signal at both places, but I would like to be able to use WiFi for the bandwidth...
Still working on this...it appears to be an IPv4 issue. All devices in my house happily get an ipv4 address alongside ipv6. Not the S6....it only uses ipv6.

OpenVPN TCP Connections Fail? LG ROM Fault?

Anyone else experiencing this?
When I try to connect to my VPN server using OpenVPN connect over TCP I get a Network EOF error, and when connecting with the regular Open VPN Client app I get "SIOCGIFHWADDR(lo) failed." Works fine when I connect under UDP, and connecting to the same server under TCP works fine on my other devices (I'm coming from the Nexus 6 2014 and used it extensively on there).
From what I can see on Google it sounds like this is a ROM issue, but wanted to make sure it's happening to everyone so I know it's not just something misconfigured on my end.
I just tried mine and TCP connection isn't working for me either.
Andrew025 said:
I just tried mine and TCP connection isn't working for me either.
Click to expand...
Click to collapse
Out of curiosity, does UDP work for you? I figured UDP was working, because it showed as connected with no errors on OpenVPN Connect but it actually doesn't load anything from the internet whilst connected and the other OpenVPN app is giving me the same "SIOCGIFHWADDR(lo) failed" error.
This is a pretty major issue
I'll bet your wifi doesn't approve of VPN.
UDP and TCP connection through the Private Internet Access app work fine. There's a configuration problem in what you're trying to do. Either the wifi LAN won't allow it, or your OpenVPN settings are off, or the OpenVPN app is somehow unhappy in Nougat.
Skripka said:
I'll bet your wifi doesn't approve of VPN.
UDP and TCP connection through the Private Internet Access app work fine. There's a configuration problem in what you're trying to do. Either the wifi LAN won't allow it, or your OpenVPN settings are off, or the OpenVPN app is somehow unhappy in Nougat.
Click to expand...
Click to collapse
It's definitely possible that the OpenVPN settings are off, possibly requiring a different configuration on the v20, however the WIFI is fine and Nougat isn't an issue as it works fine on my Nexus 6 2014 running Android 7.0.
PhantomGamers said:
Out of curiosity, does UDP work for you? I figured UDP was working, because it showed as connected with no errors on OpenVPN Connect but it actually doesn't load anything from the internet whilst connected and the other OpenVPN app is giving me the same "SIOCGIFHWADDR(lo) failed" error.
This is a pretty major issue
Click to expand...
Click to collapse
Yep, UDP works without issue through OpenVPN.
My PIA app works as well.
It depends on the security settings with the network, with my home wifi or data using from the Usim, it works ok, if using my company network, it block me out, and won't connect.

Categories

Resources