[Q] OpenVPN on TMobile LTE - Nexus 5 Q&A, Help & Troubleshooting

I can't get OpenVPN client to work on my Nexus 5 when on Tmobile's LTE connection. Works just fine when on WiFi, but when on LTE it just sits waiting for server. My Nexus 4 on the other hand is working just fine on both WiFi and TMO LTE (it's rooted with LTE enabled). Anyone else has this problem?
Thanks in advance.

If anyone cares, I figured out what's the cause of it. By default Tmo LTE uses IPv6 and OpenVPN has a problem with it (or my vpn server). Changing to IPv4 solves the problem.

fiberangel said:
If anyone cares, I figured out what's the cause of it. By default Tmo LTE uses IPv6 and OpenVPN has a problem with it (or my vpn server). Changing to IPv4 solves the problem.
Click to expand...
Click to collapse
hi there, this was the exact problem i was having today, thanks for posting about it. i assume you're using the openvpn connect on your nexus 5, right? how do you disable ipv6?

catpunt said:
hi there, this was the exact problem i was having today, thanks for posting about it. i assume you're using the openvpn connect on your nexus 5, right? how do you disable ipv6?
Click to expand...
Click to collapse
go to the APN settings (Settings-> More-> Mobile Networks-> Access Points NAmes -> click on the entry that is selected (should be the T-mobile GPRS fast.t-mobile.com)
scroll down, change APN protocl to ipv4
then save

Why would you need a VPN for on cellular can it bypass the throttle?
Sent from my Nexus 5 using Tapatalk

paperWastage said:
go to the APN settings (Settings-> More-> Mobile Networks-> Access Points NAmes -> click on the entry that is selected (should be the T-mobile GPRS fast.t-mobile.com)
scroll down, change APN protocl to ipv4
then save
Click to expand...
Click to collapse
Thanks a bunch, that does indeed fix the problem with OpenVPN running on DD-WRT.
@markdapimp Security, all of your traffic will be encrypted and originate from your VPN's network

catpunt said:
Thanks a bunch, that does indeed fix the problem with OpenVPN running on DD-WRT.
@markdapimp Security, all of your traffic will be encrypted and originate from your VPN's network
Click to expand...
Click to collapse
Yes but can you trust your VPN provider and even then if you trust them do you trust your VPN Providers Datacenter and if you trust your VPN provider's data center can you trust their network connections.

Related

OpenDNS blocking gmail while using wifi tether for root users?

What the hell? Never even heard of opendns...wtf is it?
How do I fix it?
KidJethro said:
What the hell? Never even heard of opendns...wtf is it?
How do I fix it?
Click to expand...
Click to collapse
Are you using Wifi or 3G/Edge? Looks like the problem is with the admin that setup your Wifi.
Well sounds like you are using their DNS servers and someone blocked gmail.
go to opendns.com while tethering to change your settings if you can. You should see a "dashboard" link at the top right of the page.
OpenDNS is an alternative DNS service (normally DNS is provided by the ISP). Wifi-Tether-For-Root by default has OpenDNS hardcoded in as the default DNS (instead of T-Mo's DNS servers). Since all traffic on T-Mo 3G is routed through their central server, regardless of where you are physically, your ip on the internet will appear as coming from a T-Mo data center in Missouri or Kansas or something. Perhaps someone has maliciously set up an OpenDNS account with this ip and locked out gmail.
Edit: I am having no problems getting to gmail using WT4R. My tmo ip was different from the usual though. Perhaps they are load-balancing their US network. Last time I checked, my tmo ip came out in Kansas. This time however, it came out of Rhode Island. Strange, considering I am physically in California.
Could you lookup your internet-side ip address while tethering and see which tmo datacenter you appear to be coming from when your gmail access is restricted?
This is the first time I've ever used wifi tether. Was kinda wierd to see gmail was blocked. Working on setting up an opendns acct now.
Ok....I'm totally lost now. I've got an opendns acct setup. I'm lookin at the dashboard thing, and have no idea what to change to fix this issue?
You are going to want to go here https://www.opendns.com/dashboard/settings/
It should show your current IP in the drop down.
Turn off the filtering and make sure nothing down below is added.
jashsu said:
OpenDNS is an alternative DNS service (normally DNS is provided by the ISP). Wifi-Tether-For-Root by default has OpenDNS hardcoded in as the default DNS (instead of T-Mo's DNS servers). Since all traffic on T-Mo 3G is routed through their central server, regardless of where you are physically, your ip on the internet will appear as coming from a T-Mo data center in Missouri or Kansas or something. Perhaps someone has maliciously set up an OpenDNS account with this ip and locked out gmail.
Edit: I am having no problems getting to gmail using WT4R. My tmo ip was different from the usual though. Perhaps they are load-balancing their US network. Last time I checked, my tmo ip came out in Kansas. This time however, it came out of Rhode Island. Strange, considering I am physically in California.
Could you lookup your internet-side ip address while tethering and see which tmo datacenter you appear to be coming from when your gmail access is restricted?
Click to expand...
Click to collapse
Easy enough to figure out my ip addy....but no idea how to do the rest.
Weird thing though...I signed up fro an opendns acct, browsed around a bit in the dashboard and now gmail works? ~edit~ nvermind, spoke too soon...gmail is blocked again.
For some reason I have a problem wrapping my brain around this kinda stuff.
your ip could have changed
neoobs said:
You are going to want to go here https://www.opendns.com/dashboard/settings/
It should show your current IP in the drop down.
Turn off the filtering and make sure nothing down below is added.
Click to expand...
Click to collapse
I see my IP under the network tab. Under the settings tab it says "to control your settings, you need to add a network to your account." If I click "add a network" it takes me back to the network tab where my ip is displayed. If I click add network, it says network already exists?
Bleh....
Like i said, T-Mo is likely load balancing across their many gateways. My guess is whoever locked gmail out only did it to one of the gateways. Your best bet is to change the DNS servers away from opendns.
KidJethro said:
I see my IP under the network tab. Under the settings tab it says "to control your settings, you need to add a network to your account." If I click "add a network" it takes me back to the network tab where my ip is displayed. If I click add network, it says network already exists?
Bleh....
Click to expand...
Click to collapse
The reason is because only one openvpn account can control a network. Whoever has messed up that tmo gateway has full control of it until that person or openvpn changes the situation.
jashsu said:
Like i said, T-Mo is likely load balancing across their many gateways. My guess is whoever locked gmail out only did it to one of the gateways. Your best bet is to change the DNS servers away from opendns.
Click to expand...
Click to collapse
Ok, need this in baby talk, barney style. I have no idea how to change dns servers?
KidJethro said:
Easy enough to figure out my ip addy....but no idea how to do the rest.
Click to expand...
Click to collapse
http://www.ip2location.com/
jashsu said:
http://www.ip2location.com/
Click to expand...
Click to collapse
IP Address : 208.54.94.59 Location :
UNITED STATES, WEST VIRGINIA, CHARLESTON Latitude / Longitude : 38.3515 LATITUDE, -81.632 LONGITUDE Connecting through : T-MOBILE USA Time Zone : UTC -05:00
IDD Code : 1 Area Code : 304 Weather Station : USWV0138 - CHARLESTON
KidJethro said:
Ok, need this in baby talk, barney style. I have no idea how to change dns servers?
Click to expand...
Click to collapse
It might be enough to edit /data/data/android.tether/conf/dnsmasq.conf with a text editor and substitute out the DNS values in there with your own DNS. I'll try it out later.
jashsu said:
It might be enough to edit /data/data/android.tether/conf/dnsmasq.conf with a text editor and substitute out the DNS values in there with your own DNS. I'll try it out later.
Click to expand...
Click to collapse
"wifi tether" should update the dnsmasq.conf-file automatically (will take the dns from your 2G/3G-connection) - this was introduced in version 0.95.
Type ... "getprop net.dns1" into terminal ... that should exactly be the nameserver in dnsmasq.conf (after you have started tethering).
Bleh....I need a break from phone tweaking for a bit. Buuurn ouuuut
Works for me
I just got home, tethered just to see if it would affect me too. Not problems at all.
harry_m said:
"wifi tether" should update the dnsmasq.conf-file automatically (will take the dns from your 2G/3G-connection) - this was introduced in version 0.95.
Type ... "getprop net.dns1" into terminal ... that should exactly be the nameserver in dnsmasq.conf (after you have started tethering).
Click to expand...
Click to collapse
harry_m is right. When I tethered to my G1 via WT4R (ver 0.9.6) and visited opendns.com, it showed the "Start using OpenDNS" button, indicating my currently used DNS was not OpenDNS. I verified that WT4R had fetched the G1's internal DNS setting by checking the dnsmasq.conf:
Code:
$ su
# cat /data/data/android.tether/conf/dnsmasq.conf
no-resolv
no-poll
server=10.177.0.34
server=10.176.80.242
I suggest you reinstall WT4R and choose no when it gives you the option to import old settings. This way, it will build your configuration files from scratch (and not use OpenDNS).

[Q] Why can I only use VOIP on some wifi networks?

I set up my Gizmo5 account for SIP calling yesterday on the wireless network provided by my Verizon Fivespot, and it worked fine. Now I'm on my home network (Verizon DSL), and when I try to use Gizmo5 on my Nexus S, I get the error "Account registration failed: (transaction terminated); will try later." Why does this happen on only my home network? Is there anything I can do to get Gizmo5 to work at home?
Device: Nexus S
OS: Gingerbread 2.3.1
Carrier: None (Verizon Fivespot)
It may be network related at your house. Possibly a router/firewall not allowing the traffic in/out. I doubt it but I suppose the provider could be blocking that type of traffic as well.
What can I do to fix it though? I already checked my router settings and the firewall isn't blocking anything.
aaronbp said:
What can I do to fix it though? I already checked my router settings and the firewall isn't blocking anything.
Click to expand...
Click to collapse
It isn't only the outgoing ports that need to be open (they definitely do), but the firewall has to support NAT *correctly*. SIP requires intelligence from a firewall, opening/keeping-track of outgoing/incoming UDP ports, etc. If your router supports it, try a third-party firmware like Tomato.
I had this same problem with new ubee modem/router. It is indeed NAT, and the ubee has no option to disable it.
I ended up putting my old router on the ubee DMZ and now gizmo and sipgate work.
Anyone have suggestions on making a ubee work with voip?
Sent from my Nexus S using XDA App

[Q] Wifi autoproxy

ok, i've been looking for an app for a while now, and have not found anything thats close to what i need.
my business has two wifi networks.
one for employees and one for customers.
the problem is, when i need to test something on the customer wifi, (and any others) is that the proxy settings are a global setting, not a wifi specific setting.
is there an app that changes that for you when it picks up a different network?
(say, swaps the proxy settings to nothing when a specific saved network is found, and changes it to defined settings when another saved one is connected to)
would be amazing if there was, and it did not need root access.
in ICS(Android 4.0) you can set proxy for each wifi network
Use proxydroid (free) from Google Play Store... You can create profiles for each wi-fi network and bind these profiles to the wi-fi network so it starts automatically when you are connected to the wi-fi network. You need to be rooted for proxydroid to work.
humad said:
Use proxydroid (free) from Google Play Store... You can create profiles for each wi-fi network and bind these profiles to the wi-fi network so it starts automatically when you are connected to the wi-fi network. You need to be rooted for proxydroid to work.
Click to expand...
Click to collapse
thanks, if it comes to rooting, thats what i'll use.
aliuwr said:
in ICS(Android 4.0) you can set proxy for each wifi network
Click to expand...
Click to collapse
still sets a global proxy, just makes it look like its wifi-specific.
Try Autoproxy, the name says it all. Also on the market.

[Q] HowTo DISABLE LTE (AT&T)

I noticed today that in gaining LTE (already on an LTE plan with ATT, was using LTE on my N4 just fine) I lost the ability to DISABLE LTE and (more specifically) use wap.cingular as an APN. I've done reset to defaults, checked settings and compared to my N4, nothing. I can actually disable LTE, but even on forced HSPA+, I can only connect via PHONE, not WAP.CINGULAR APN. This is important as wap.cingular bypasses throttling and also does not count toward the throttle counter. Any help would be appreciated. Otherwise I'll have to leave to Tmo which...is an option but a last resort.
SOLVED!
I found an Xposed Framework module called Wedymod. Link http://repo.xposed.info/module/com.wedy.mod
In this module is an option called "Do Not Prefer APN". After selecting this and rebooting, the phone obeys the APN I tell it to use (wap.cingular in this case). I'd love to pick apart this module and figure out how/what it's doing specifically if anyone else has the skills I'd love to see it done. Enjoy guys!
compuw22c said:
SOLVED!
I found an Xposed Framework module called Wedymod. Link http://repo.xposed.info/module/com.wedy.mod
In this module is an option called "Do Not Prefer APN". After selecting this and rebooting, the phone obeys the APN I tell it to use (wap.cingular in this case). I'd love to pick apart this module and figure out how/what it's doing specifically if anyone else has the skills I'd love to see it done. Enjoy guys!
Click to expand...
Click to collapse
you can go Settings -> More -> Mobile networks -> Preferred Network Type Select 3G
Then under Access point names add a new APN for wap.cingular and name it AT&T 2 or AT&T Bypass Throttle and select and enable it
i dont see why you need an xposed stuff for this..
markdapimp said:
you can go Settings -> More -> Mobile networks -> Preferred Network Type Select 3G
Then under Access point names add a new APN for wap.cingular and name it AT&T 2 or AT&T Bypass Throttle and select and enable it
i dont see why you need an xposed stuff for this..
Click to expand...
Click to collapse
Actually I spoke too soon, it did NOT solve my problem. Upon further testing (deleting all non-wap.cingular apns) I still can't get a connection unless I add back pta or phone. Can you confirm what plan you're on? I'm on LTE Unlimited as my plan code and I CANNOT connect on wap.cingular over 3G. I can do it over 2g (not on LTE obviously) but the phone will NOT allow me to connect via 3g to wap.cingular. My i9100 has no problem with this.
compuw22c said:
Actually I spoke too soon, it did NOT solve my problem. Upon further testing (deleting all non-wap.cingular apns) I still can't get a connection unless I add back pta or phone. Can you confirm what plan you're on? I'm on LTE Unlimited as my plan code and I CANNOT connect on wap.cingular over 3G. I can do it over 2g (not on LTE obviously) but the phone will NOT allow me to connect via 3g to wap.cingular. My i9100 has no problem with this.
Click to expand...
Click to collapse
I'm on T-Mobile sorry im enjoying my 5GB of LTE speeds for 30$

[Q] Data connection not working?

Is anyone having a problem with data connection on Mi4i? The Internet works for hardly 10-15 seconds after which I am usually getting connection timed out errors on various applications. I have tested this on Airtel 3G sim. I talked to the Airtel guys, they say that the APN settings installed in the handset are fine.
Same issue with me. Airtel 3g delhi.
Net works for a minute, after that only xmpp apps like whatsapp work and those too cannot download images. Other apps and browser does not work.
thepaandu said:
Same issue with me. Airtel 3g delhi.
Net works for a minute, after that only xmpp apps like whatsapp work and those too cannot download images. Other apps and browser does not work.
Click to expand...
Click to collapse
I was able to make the data connection work with the following airtel APN settings:
Name: Mobile Office
APN: airtelgprs.com
MCC:404
MNC:45 (Note: MCC,MNC will change according to the state. Mine are for Karnataka)
APN type: default,supl
APN Protocol, APN Roaming Protocol: ipv4
APN Enabled
Everything Else not set
Hopefully this helps
rhijul said:
I was able to make the data connection work with the following airtel APN settings:
Name: Mobile Office
APN: airtelgprs.com
MCC:404
MNC:45 (Note: MCC,MNC will change according to the state. Mine are for Karnataka)
APN type: default,supl
APN Protocol, APN Roaming Protocol: ipv4
APN Enabled
Everything Else not set
Hopefully this helps
Click to expand...
Click to collapse
Yeah.. Just set the default APN as 'Mobile Office' instead of 'Airtel Live'.
Great
Data connection not working
Hi all,
I am using airtel network.
I am getting same issue, most of the time data connection not working.
i changed all the settings (Airtel to mobile office vice versa).
Not working.

Categories

Resources