PPTP VPN with nexus one - Nexus One Q&A, Help & Troubleshooting

Hi all,
I've been trying to get PPTP VPN to work for my nexus one a while now. However, I always receive the "server hang up" error. I tried my university VPN last few months, and ProXPN service just recently. Both are set up and run just fine on my laptop. I'm on CM 5.0.8 and connecting using wifi. I've read somewhere that the pptp client in 2.1 is buggy. Is it still the case with CM5.0.8?
Thanks!

Any help at all?

I wish I could offer help but I can't. I am in the same situation with my work VPN. At first I thought it may have been that NAT-T wasn't enabled on the VPN server (since Tmobile connections to VPN seem to need that) but it wasn't the case. A co-worker of mine has a MT3GS unrooted and his VPN connects flawlessly. I am wondering if there is something in the HTC Kernel that makes it work better. Maybe you should check to see if NAT-T is enabled on your VPN servers? Good Luck!
**Update**
When you put in your username try adding a space to the end then immediately delete it. then enter your password as usual.

Related

Please help with VPN

Hello all. I have a samsung galaxy s gt-I900M phone and I am trying to make my paid VPN work on it. It's called VyprVPN and does work well on my pc and laptop but not on this phone. IT is a PPTP connection , and it will connect on the phone but as soon as I try to use the internet it just does nothing , I have been searching and reading all I can on this issue.
Does anyone know what I can do to make this vpn connection work ? If it matters i am on the bell network and have tried with 3G and with wifi and get the same thing. Thanks for any replies !!
Really ? Noone knows how to make a pptp vpn connection work on a galaxy s ?
That's not what u were asking. U were asking about making some obscure vpn work that no one has heard about. What do u expect. My pptp vpns with dd-wrt work fine.
Sent from my GT-I9000M using Tapatalk
obscure vpn ? Its just a regiular pptp vpn that works great on my laptop and desktop pc but refuses to work on the galaxy s. Like i said it connects but won't let me surf anything , for the first 2 seconds it starts to work and stops and won;t do anything again but stays connected. Its an issue with the android system not the vpn subscription , which is a popular one .
Did you do anything fancy to make yours work ?
FROM MY VPN PROVIDER ::
Thank you for contacting Technical Support!
We use public dns 4.2.2.2. So there should not be any issues with DNS. PPTP
is the only VPN connection we offer. Have you attempted contacting
Galaxys support to assure their phone does not have an over ride built in
or if one of your apps is causing interference? We have other users that
have gotten this to work as well as developers.
nope nothing special.. try turning off encryption..
from fbvpn.com :
android needs special settings, and its encryption has some bug.
we are going to setup a new server only for android phone
but it won't be very fast, not proper for watching video
and another thing, if you need to use PPTPVPN on android, your message is not encrypted.
The vpn's i have subscribed to all require encryption so when i turn it off , they wont even connect. Any suggestions for a vpn that will work without it?
all over wherever I search about vpn and galaxy s noone has any answers. its a dead end street , why cant we get someone working on this ? i would pay out of pocket to have the vpn working on my galaxy s
and i dont mean someone set one up in thier house with no encryption

Cisco VPN - Anyconnect ?

I've searched many treads and also put up a few posting in the past.
I know Anyconnect is not available for the Xoom/Andriod OS at this time, but has anyone found an "easy" way to connect to a Cisco VPN system.
I was able to install certs as needed and tried a few workarounds, but no luck.
This is the a must have for me and I know a lot of others.
Any suggestions would be appreciated.
I was able to get my Cisco VPN to connect by rooting and using VPN Connections.
[email protected] said:
I've searched many treads and also put up a few posting in the past.
I know Anyconnect is not available for the Xoom/Andriod OS at this time, but has anyone found an "easy" way to connect to a Cisco VPN system.
I was able to install certs as needed and tried a few workarounds, but no luck.
This is the a must have for me and I know a lot of others.
Any suggestions would be appreciated.
Click to expand...
Click to collapse
Inphinitizeit said:
I was able to get my Cisco VPN to connect by rooting and using VPN Connections.
Click to expand...
Click to collapse
Thanks for the response...
Couple of questions
You mentioned rooted? Did you change kernel also?
3g or Wifi model? (I have Wifi)
When you say VPN connections, do you mean a app or the stock connect in the system?
Did you tranfer your certificates to the Xoom?
Sorry for all the questions. I've had a Gtab since November and just picked up a Xoom after holding out for a month.
Glad I made the purchase.....
[email protected] said:
Thanks for the response...
Couple of questions
You mentioned rooted? Did you change kernel also?
3g or Wifi model? (I have Wifi)
When you say VPN connections, do you mean a app or the stock connect in the system?
Did you tranfer your certificates to the Xoom?
Sorry for all the questions. I've had a Gtab since November and just picked up a Xoom after holding out for a month.
Glad I made the purchase.....
Click to expand...
Click to collapse
I should mention the Cisco VPN I'm connecting to only uses grou passwords
I'm using the 3G model, and it is rooted with the tun.ko module available from http://forum.xda-developers.com/showthread.php?t=972550&highlight=tun.ko.
VPN Connections is a root app available from http://code.google.com/p/get-a-robot-vpnc/
Inphinitizeit said:
I should mention the Cisco VPN I'm connecting to only uses grou passwords
I'm using the 3G model, and it is rooted with the tun.ko module available from http://forum.xda-developers.com/showthread.php?t=972550&highlight=tun.ko.
VPN Connections is a root app available from http://code.google.com/p/get-a-robot-vpnc/
Click to expand...
Click to collapse
Thanks! I'll give it a try.....
Sent from my Xoom using Tapatalk
The problem is, that the VPN Connection with anyconnect is totally unstable and with all the other Cisco VPN-concentrators its the same problem. That is the result of how android is programmed. i Tried to get a stable cisco-vpn connection on a nexus one, nexus s and optimus speed. All failed. You had to copy a tun.ko file, specific for the phone. then you where able to connect to a normal cisco vpn concentrator (not anyconnect concentrator). but that worked only once. every time after that, the vpn connection was so unstable i could only get it up for some secounds. thats why i bought an iPhone as smartphone and use the xoom as tethering.
what i want to try the next few days is, connect with the free iOS Any-Connect / VPN protocoll on the iPhone and then tether my xoom to use the same connection there. dunno if it will work
Inphinitizeit said:
I was able to get my Cisco VPN to connect by rooting and using VPN Connections.
Click to expand...
Click to collapse
So far, that is the only way I can get a "connection." However, there does not appear to be any traffic going across the connection and VPN Connections hangs when I try to disconnect. Any suggestions? Thanks.
I've also had no luck connecting to my work VPN. We use Cisco Anyconnect and SecurID. The Cisco rep has been saying a client is in the works but nothing so far. This is the only think keeping the Xoom from really being a laptop replacement for me. Sucks.
Agreed!
Sent from my Xoom using Tapatalk
I can't connect either but my setup is a little different. I log into Cisco SSL VPN Service through the website, which requires UN/PW/Group. When connecting for the 1st time on a device, it downloads and installs the VPN client. Through this method it performs:1)Platform Detection; 2)ActiveX; 3)Java Detection; 4)Sun Java; 5)Download & 6)Connected. But when signing in using my Xoom it hangs at step 5(Download). It displays a link, Linux i386, but it does nothing when clicking on it. Does anyone have this file or know a way around this?
The problem is google wont allow cisco into the kernal. The app is done at Cisco, but google is holding up the show. Cisco also has a new light weight vpn client that is more of an on demand app that will work with Jabber. (which works on xoom, i have it loaded)
What is the name of the light weight app that works on the Xoom?
vzontini said:
I've also had no luck connecting to my work VPN. We use Cisco Anyconnect and SecurID. The Cisco rep has been saying a client is in the works but nothing so far. This is the only think keeping the Xoom from really being a laptop replacement for me. Sucks.
Click to expand...
Click to collapse
if you flash the tiamat kernal and install the tun.ko you should be able to use the updated VPNC to connect just fine. i use my SecurID with this same setup and tunnel in daily for work. it sure does beat carrying a laptop around.
Also, Office chat is a office communicator app if your work uses it. basically i never have to carry a laptop around. I also use evernote. Onenote is great but evernote stores in the cloud and syncs to my phone, laptop, and xoom instantly will no setup necessary. Try it out.
Thanks for the tip Holsum. My Xoom isn't rooted yet but I'll investigate for my NexusOne which is already rooted and I'm very familiar with hacking on it. I'll give your suggestion a try and see if it helps.
When I run the vpn widget and test prerequisites it says that it doesn't have root. I am rooted running the newest tiamat kernel and the superuser app popped up and allows me to grant the app root... any idea why it thinks it doesn't have root?

[Q] Sip over VPN not working.

I'm trying to get a SIP account working over a VPN connection on my GS, however it fails to register whenever I'm connected by the VPN. My company has an external PBX that's only accessible over VPN, and when I'm in the office on wireless (which is already connected to the VPN) the SIP account works fine. Does anyone know a fix for this? I searched the forums but didn't turn anything up.
I did find this though... http://code.google.com/p/android/issues/detail?id=14043 which seems to be the exact issue I'm having, but the link with the alleged fix is broken.
Anyone got any ideas? Cheers!
The SIP service that comes with Gingerbread does not work over a VPN. Try using Csipsimple or Sip Droid, i can connect using Csipsimple over a VPN.
Thanks for the tip, I've tried CSipSimple, looks really good but still won't let me connect over the VPN. Tried on 3g and wireless, same deal, connection refused. Works fine when I'm not on the VPN. Is there some setting in CSipSimple that lets you specify a VPN?
firewall VPN
Hi! This is my first post here in xda-developers. I just wanted to pitch in and maybe get an answer to my problem as well.
I've been trying to use CSipSimple thru a Fortigate VPN with a 3CX PBX System. I managed to register it using a L2TP VPN configured both in the Firewall and my Android phone (btw, it's a Samsung Galaxy Y Duos, Gingerbread 2.3.6 Rooted). I can make and receive calls on my phone, but I have one very annoying problem: I can't hear the person on the other end from my phone. They hear me just well (with awesome sound quality), but I can't hear them.
Anyone have any ideas on how to solve this?
BTW, regarding the topic above: have you configured your Firewall to accept the VPN users? And maybe check ports 5060, 8000-8020, 9000-9020 to be open?

[Q] VPN issues

Hi All,
I am having issues when trying to connect to my work VPN. I need VPN access in order to check my work email and browse an internal website.
Now, the VPN always connects, either on 3G (in UK) and wifi.
However, even if it says "connected", I am not able to download emails orbrowse the intranet unless when connected to my home wifi and sometimes on mobile internet.
If connected through other wifi networks (recently tried on a hotel free wifi, in the states and on a private home network, in Croatia), the connection itself seems to go through some sort of bottleneck, and no emails or browsing is then available.
I am blaming the phone itself, since my colleague had no problems whatsoever on his iPhone.
I am on Galaxy Note, non rooted, Vodafone UK.
Please help, this issue is making my Galaxy Note almost useless.
ponch10 said:
Hi All,
I am having issues when trying to connect to my work VPN. I need VPN access in order to check my work email and browse an internal website.
Now, the VPN always connects, either on 3G (in UK) and wifi.
However, even if it says "connected", I am not able to download emails orbrowse the intranet unless when connected to my home wifi and sometimes on mobile internet.
If connected through other wifi networks (recently tried on a hotel free wifi, in the states and on a private home network, in Croatia), the connection itself seems to go through some sort of bottleneck, and no emails or browsing is then available.
Click to expand...
Click to collapse
just FYI I'm also on UK Vodafone and I can connect fine with openVPN to my home network ... tested on 2G,3G/H+ and also on various public & private WiFi networks - always connects fine, only issue I have is that my server .ovpn tells the phone to use my home router as it's default gateway (so that I can browse securely on public wifi). This doesn't work out of the box - I need to use the openVPN app's "fix DNS" option.
ponch10 said:
I am blaming the phone itself, since my colleague had no problems whatsoever on his iPhone.
I am on Galaxy Note, non rooted, Vodafone UK.
Click to expand...
Click to collapse
errr ... I'm an android noob, but AFAIK you need root for openVPN to work? I never tried running openVPN on my note BEFORE I rooted it, but anything I've ever read says root is required?
_pigro_ said:
just FYI I'm also on UK Vodafone and I can connect fine with openVPN to my home network ... tested on 2G,3G/H+ and also on various public & private WiFi networks - always connects fine, only issue I have is that my server .ovpn tells the phone to use my home router as it's default gateway (so that I can browse securely on public wifi). This doesn't work out of the box - I need to use the openVPN app's "fix DNS" option.
errr ... I'm an android noob, but AFAIK you need root for openVPN to work? I never tried running openVPN on my note BEFORE I rooted it, but anything I've ever read says root is required?
Click to expand...
Click to collapse
What APN do you use?
I have to switch everytime to something called MyLan to connect over 3G.
I am using the stock VPN client, did not adventure myself into OpenVPN. Would that work with an encrypted VPN?
Ah, sorry - I somehow managed to read the thread title "[Q] VPN issues" as "OpenVPN issues" .. case of my eyes seeing what they wanted to rather than than what was actually there. You are of course right, the stock VPN options don't need root (and of course openVPN client will only work to talk to an openVPN server).
I did set up a PPTP server on my WinXP home machine and tested that with the note's inbuilt PPTP VPN client - it worked OK although I needed to turn off encryption, and I didn't do anything with it beyond just connecting as I was only dong it out of interest.
re. the APN - I don't actually know where to see that on the note (noob, as I said!) - when I do settings->wireless & network-> mobile networks, which claims to allow setting APN's, there is no info or settings re. the APN other than the "network mode" and "network operators" items, neither of which seem to show the APN used for vodafone data access.
Anyway, sorry for the bum steer, hope you get it sorted
_pigro_ said:
Ah, sorry - I somehow managed to read the thread title "[Q] VPN issues" as "OpenVPN issues" .. case of my eyes seeing what they wanted to rather than than what was actually there. You are of course right, the stock VPN options don't need root (and of course openVPN client will only work to talk to an openVPN server).
I did set up a PPTP server on my WinXP home machine and tested that with the note's inbuilt PPTP VPN client - it worked OK although I needed to turn off encryption, and I didn't do anything with it beyond just connecting as I was only dong it out of interest.
re. the APN - I don't actually know where to see that on the note (noob, as I said!) - when I do settings->wireless & network-> mobile networks, which claims to allow setting APN's, there is no info or settings re. the APN other than the "network mode" and "network operators" items, neither of which seem to show the APN used for vodafone data access.
Anyway, sorry for the bum steer, hope you get it sorted
Click to expand...
Click to collapse
Oh, never mind
Under mobile networks you have to go under Access Point Names, but most likely you will only have one APN, which is the regular from Vodafone.
So most likely is the encryption causing problems?
D'oh ... I thought that was a heading, didn't realise it was a clickable item! my APN is wap.vodafone.co.uk (APN type is "internet+mms").
IDK if encryption is anything to do with your issues ... I doubt it if you can consistantly connect from home wifi and sometimes from 3G - if encryption were the problem I'd imagine it would consistantly connect (or not) rather than be variable.
Maybe worth trying to ping your internal mail/intranet servers when connected and then talking to your work IT guys in case there are firewall/routing settings that you are somehow falling foul of?
Yes we are doing that, however that fact that iPhones can connect really makes me wonder!
Thread Moved To Q&A​
This is a question, and as such belongs in the Q&A Section​
there are lots of third party vpn tools and free available you can use those
Wilsonj,
Can you please suggest one third party vpn tools that works well on PPTP, with encryption?
I am not looking at OpenVPN, since it doesn't suit my needs.
Thanks!

Can't connect to Exchange Server on T-Mobile

Hi All!
I have a very strange situation and I was wondering if anyone else has experienced this. I am using BlueMail to connect to my work email via exchange. When I am on WiFi everything works great. The strange behavior starts when I switch over to mobile data.
When I am on mobile data I can't connect to the exchange server to read email. I am notified of any new emails. I see who they are from and the subject but I get a connection failed error any time I try to read the email. I've even gone into the settings to try and test the connection and on mobile data that connections fails every time. So I tried a few things:
1. I tried another email client. In this case I tried the GMAIL app and the Outlook app that is in the Play store. Once again both can connect on WiFi but not on mobile data.
2. I tried hotspotting my phone and then trying to connect via my laptop. I was not able to connect to the exchange server over my hotspot using mobile data.
3. I tried using my VPN service on my OP3T over mobile data. Then I tried connecting to Exchange. This works!
My carrier is T-Mobile. I am wondering if they are somehow blocking exchange access. Has anyone on T-Mobile experienced something similar?
That is quite interesting. From the sounds of it, yes something is delimiting data transfer. The thing is Exchange ActiveSync works over port 443 as do most https websites. As that data is encrypted from the server side to your client device, T-mobile would have no way to say you have new mails but not actually show you the mail as the encrypted traffic would disallow that. Just for that little fact, it sounds like this might be something Exchange side and you are in conflict with a policy on the server.
As VPN would make Exchange think you are on the local network, that may be why it works in that instance. as it suddenly find you in conformance with policy.
As to what that policy may be to lock you out, I can not think of an out of box Exchange rule that would do that. Does your company utilize an MDM servicing application? If you are rooted, and they are enforcing a block on rooted devices, that could be a cause.
When I connect over VPN I'm not connecting to work. I'm connecting to a PIA server in the US. Also when I'm connecting over WiFi I'm connecting from any WiFi (including my home WiFi). WiFi works 100% of the time.
You could be right in that the issue could be on the exchange server but I'm using the same device over WiFi and over VPN. If there is an issue with root policy on the exchange server side one would think I'd have the issue every time I try to connect. That being said I know nothing about exchange nor my employer's policy.
It's certainly an interesting issue. I have a work around but I'd like to understand what is going on.
I am still suspecting T-Mobile somehow. My coworker (who is on AT&T) can connect using mobile data on his iPhone. He didn't do anything special or talk to IT about the policy. Anyone here checking an exchange account on their 3T on T-Mobile?
Demati said:
I am still suspecting T-Mobile somehow. My coworker (who is on AT&T) can connect using mobile data on his iPhone. He didn't do anything special or talk to IT about the policy. Anyone here checking an exchange account on their 3T on T-Mobile?
Click to expand...
Click to collapse
I am actually using Exchange Activesync myself over T-Mobile. Had it on Oxygen OS, CM 13/14, and now I'm on RR.
Issue free.
Best of luck on this. Very interested to see what the issue may be (as you may have guessed, I'm one of the exchange admins)
magoo5289 said:
I am actually using Exchange Activesync myself over T-Mobile. Had it on Oxygen OS, CM 13/14, and now I'm on RR.
Issue free.
Best of luck on this. Very interested to see what the issue may be (as you may have guessed, I'm one of the exchange admins)
Click to expand...
Click to collapse
If I figure it out I will definitely post here. I am still scratching my head.

Categories

Resources