Hello everyone,
as noted in the title of this thread, I cannot connect to L2TP/IPSec VPN Server from my phone (Redmi Note 8 Pro, running MIUI 11.0.3 stock).
I've done extensive troubleshooting and appears that phone never even contacts the server. When i configure everything and toggle the VPN, it will try to connect but never does, and then times out.
I'm watching the logs on the server, nothing appears.
I'm watching tcpdump on the server, no packet is even received from phone.
I've connected to WiFi network from i which i know i can connect to VPN (for example from PC or my MikroTik router) and it cannot even connect from that network.
I've enabled packet sniffer on root MikroTik router to sniff the packets, filtering MAC address of my phone, and guess what... When i click on VPN, it doesn't even try to connect to VPN serever. VPN server IP address doesn't even appear on sniff.
I'm wondering why is this happening, is anyone else having issues with L2TP/IPSec VPN? How do i inform Xiaomi of this issue since I've placed couple of feedbacks back in the day, never received an answer and those issues still persists so i don't even thing they are reading the feedback that is sent to them from phone app.
Hoping to get to the bottom of this!
Any help would be greatly appreciated !
Any chance you can try the OpenVPN app? I used to have an issue with my old phone where sometimes it would say connected but it wouldn't be. With the rn8pro, OpenVPN works every time.
Edit: try posting on the Mi forums for a better chance of a response from someone at Xiaomi
https://c.mi.com/global/forum-2234-1.html
Might not just be Xiaomi....https://github.com/SoftEtherVPN/SoftEtherVPN/issues/571
I would hate having two VPN servers installed at the same time. There are times when i want to connect my root mikrotik router to VPN server i question to forward all web traffic via VPN, unfortunately, OpenVPN support is very limited on MikroTik , there are new cipher suites missing and with new OpenVPN servers in place it's impossible to connect tik to OpenVPN.
I know however that OpenVPN app works great with android, but it's weird that native L2TP doesn't seem to be working at all.
I could fall back to PPTP maybe. Both Android and MikroTik works flawlessly with PPTP. But... It's PPTP..
Thanks, i will try posting to Xiaomi forums as well.
Related
Hi Guys,
either I dont know how to search or there is no info on VPN on the forum(I probably dont know how to search) In any case. I need assistance. How do I setup a VPN on my TyTn running WM6 and also how do I get remote desktop client? I am sure this was around previously. Did MS remove it from WM6? Or was it HTC? It this is the case.. how can one get it back?
thanks!
here's remote desktop. How do you use it? I don't know how to set it up.
thanks!!!!
now for VPN....
cheers!
The remote desktop client is available in several places in this forum for download.
To set up a VPN:
add a new VPN server connection
enter the name / ip of the server you want to connect to
select the vpn type -- ipsec or pptp
next
enter your user name and password
finish
The only way I have found to connect to the von is to goto
Start-Settings-connections-connections-edit my vpn servers- -- tap & hold MY VPN
select connect
you must be using a plan that assigns you a public IP (not WAP)
hope this helps
JTK said:
Hi Guys,
either I dont know how to search or there is no info on VPN on the forum(I probably dont know how to search) In any case. I need assistance. How do I setup a VPN on my TyTn running WM6 and also how do I get remote desktop client? I am sure this was around previously. Did MS remove it from WM6? Or was it HTC? It this is the case.. how can one get it back?
thanks!
Click to expand...
Click to collapse
Thanks cmccarter, done it but how will I know I am connected.. It does not say connected anywhere that I can see and when clicking/hold on the item it gives me the option to connect again, not disconnect as I would have thought The other thing is terminal server does not connect. It connects fine on USB. VPN/Remote desktop connects fine using normal internet on pc from outside the network. So I believe the network settings are fine.. How would I know though if I am on WAP or get an IP. Also ow would I know if the VPN is connected?
thanks
fyi
i also have struggled getting rdp to work over a vpn, in particular over 3+/hsdpa
the only i found in wm5 was to add the vpn connect to the exceptions list of the connection manager, so that it didnt disconnect the vpn whem connecting the rdp.
this occurs more when u use an ip address to connect to a work intranet.
suppose if u use the dns name of the machine and not the ip address then it isnt that much of an issue. in wm5 when u put the ip address in it assumes a an internet rather than intranet connection so it disconnects the vpn to look for the ip over the internet
putting the ip into exceptions forced wm5 to not disconnect it when rdp was looking for it.
i cudnt get it to work this way in wm6 so i am also looking for an answer on this.
rdp to my servers when they have crashed and i am on the road wud b wonderful....
Hi,
I've a similar problem.
I use a VPN-1 SecuRemote that normally connect my PC directly to the company network.
Well, using the share modem tool, I'm not able to reach the gateway.
the share modem system give me a private IP that establish a connection between PC and TYTN.
This connection use the Tytn like a gateway to navigate in internet.
Someone know to solve this issue?
Tanks a lot
if i select start the vpn connection, nothing happens - and i can`t ping the IP`s in the VPN. so i think the vpn ist not open - OR the routing entrie is missing....
is there some shiny "pptp - standalone" client?
greets, Nik
for some reason i dont think the vpn option works over 3g/hsdpa, atleast not on my device using t-mob web and walk.
if i connect the vpn when using wifi it connects and everything is fine, if i try and connect when i'm already running a 3g connection it doesn't work.
i dont think the radio stack is capible of handling a 3g connection and a vpn connection. we might need to go down the route of getting a seprate wm vpn client.
Hi
Just got my Desire, its a wonderful phone.
But, when i connect to my office, via vpn, browser refuses to connect to any web server, local or remote.
All other services like youtube and facebook work fine, and i can see the traffic on my router, but can not browse normally.
I have tried adding the dns server to the vpn connection, but did not help much.
Anyone else experiences this problem ?
Android ver is 2.2, updated yesterday.
Bumping this in case someone came up with a quick fix. The bug is well documented on Google code.
There is no spoon, only Desire.
I'm having the exact same issue. Bumping in the hopes that someone has figured something out.
Guys,
I recently came across connectify app and installed it on my Windows 7 laptop. It installed just fine and created a WIFI Hotspot for me.
But when I try to connect to that WIFI Hotspot from my desire , it keeps saying "Obtaining IP Address from Connectify" and never connects. I am not sure what's wrong , something in my Desire or something with Connectify or if I need to fix some settings in my Win7 laptop ?
Can someone please advise.
FYI - Windows 7 is connected to a my workplace LAN and requires a proxy authentication if i need to access internet.
Thanks in advance;
Even I'm facing problems connecting to Connectify.
I suspect that IP address is not getting assigned since there are no DHCP servers running on the PC. That might be the first problem
Second thing is, even if I run a dhcp server (I'm yet to do it...) in my PC, I think the wifi and ethernet might be on the same or different network based on how the dhcp server is configured. But setting Default Gateway and DNS settings are whats getting me confused.
If I can find some Idle time, i can experiment and try it.. If anyone is already using it successfully, they can post on how to do it here.. will be very helpful.
My laptop is connected to my ADSL modem via ethernet cable, and I'm connecting the mobile to my Laptop's wifi (Via connectify which makes the WLAN in laptop appear as an Access point). This connectify should share the wired internet to my mobile via Wlan but i'm have not yet found how to set it up..
old post i know, but i wanted to chime in and let these people know that the latest beta fixes these problems. at least it now works for me on my eris
gohamstergo said:
old post i know, but i wanted to chime in and let these people know that the latest beta fixes these problems. at least it now works for me on my eris
Click to expand...
Click to collapse
I have the same problem with Connectify 2.0.1.15550, what version are you using?
I found the 2.1 beta, all working now. Thanks.
I had the same problem with connectify and I sincerely suggest you to try Virtual Router. It's crappy but it works.
You can get it here:
http://virtualrouter.codeplex.com/releases/view/36035
Good luck!
I had the same issues and can confirm that virtual router works straight away!
Sent from my HTC Desire using XDA App
Turn off Windows Firewall...
... at least untill you get the IP.
About proxy, that's a whole other story. Still messing with Transproxy, but no success yet.
Hey. I tried Connectify put I got the 'obtaining IP address' problem.
So I tried Virtual Router ... but again I have having problems 'obtaining IP'.
I am trying to connect my Samsung Galaxy S to my Windows 7 Laptop.
Help me...
Thanks guys
bUmP
Connectify`s main usage is to share the wired broadband to the mobile using wifi in laptop as a hotspot. It should be fairly straightforward but needs to set some settings correctly. It would be great if someone for whom its working to post it setp-by-step. Will be really helpful.
And strangely there are no guides on the net on how to set it up exactly in wondows 7 and connectify homepage does not give any useful info.
I keep getting "obtaining IP address from..." on my Android device...
why is this?
Virtual Router or connectify don't work..
is it because android does not support Ad-Hoc?
I have running Froyo 2.2 though...
Any help?
Thanks
Hi,
I don't know if it's really the same problem here but I also had some issues with Windows 7, connectify and the devices I tried to connect.
After following the steps to create a wifi hotspot, I had to deactivate the windows firewall on the private networks (I specified to windows that the connectify network was a private network).
There should be a way to setup the correct permission in the firewall's permission table to make it work properly... Unfortunatly I haven't find it yet.
So it's a quick fix. Hope it will help you.
This will fix the Galaxy S's inability to connect / locate ad-hoc networks
http://www.emoiz.com/how-to-connect-samsung-galaxy-s-to-ad-hoc-wifi-network
Hi guys,
Am new to this forum and new to smartphones.
i faced the same problem in connecting my Wildfire to PC with connectify.
finally i got my own way to sort it out
as most of u got till "obtaining IP address" next is
menu>settings>wireless and networks> wifi settings.
in that again menu>Advanced .
fill these settings
1. check on the static IP
2. IP addres = 192.168.2.2
3. Gateway = 192.168.2.1
4. netmask = 255.255.255.0
5. dsn1 = 8.8.8.8
6. dsn2 = 8.8.4.4
now close wifi and restare wifi Hope it will work. It worked for me
vin_amulya said:
Hi guys,
Am new to this forum and new to smartphones.
i faced the same problem in connecting my Wildfire to PC with connectify.
finally i got my own way to sort it out
as most of u got till "obtaining IP address" next is
menu>settings>wireless and networks> wifi settings.
in that again menu>Advanced .
fill these settings
1. check on the static IP
2. IP addres = 192.168.2.2
3. Gateway = 192.168.2.1
4. netmask = 255.255.255.0
5. dsn1 = 8.8.8.8
6. dsn2 = 8.8.4.4
now close wifi and restare wifi Hope it will work. It worked for me
Click to expand...
Click to collapse
Came here from Google...
Dude/Dudette, I Love you soo very much for this valuable piece of information. Have a "Thanks" It works!
Almost forgot, Welcome to XDA!
jUsT2eXy said:
This will fix the Galaxy S's inability to connect / locate ad-hoc networks
http://www.emoiz.com/how-to-connect-samsung-galaxy-s-to-ad-hoc-wifi-network
Click to expand...
Click to collapse
You need this file for the Desire - search around XDA. You might have to download version 6 of the file.
When you download it, flash it from recovery.
Meanwhile, create an adhoc network on your laptop or wherever, configure the IP address (192.168.137.1 is the IP of the laptop - Windows, for some reason or another, doesn't like sharing on other IPs, though I haven't tried lately) and set your encryption to WEP.
Share your connection from LAN, and you're good to go. On the phone, the adhoc networks will be represented with an asterisk, like
(*)network
none of them work on win 7 64 bit - on win 7 32 bit I cen get IP, on 64 bit cant, whan assigned static IP by below at previous posts, I can connect, but internet does not work.
vin_amulya said:
Hi guys,
Am new to this forum and new to smartphones.
i faced the same problem in connecting my Wildfire to PC with connectify.
finally i got my own way to sort it out
as most of u got till "obtaining IP address" next is
menu>settings>wireless and networks> wifi settings.
in that again menu>Advanced .
fill these settings
1. check on the static IP
2. IP addres = 192.168.2.2
3. Gateway = 192.168.2.1
4. netmask = 255.255.255.0
5. dsn1 = 8.8.8.8
6. dsn2 = 8.8.4.4
now close wifi and restare wifi Hope it will work. It worked for me
Click to expand...
Click to collapse
i came here from google as well. i had the obtaining ip address issue with connectify on win xp and zte blade with cyanogenmod (N142). thanks to this post, i solved the obtaining ip issue, and my phone managed to connect to connectify. apparently: my phone doesn't appear in clients tab in connectify, and my phone doesn't transfer any data traffic. so from the phone it looks like connected, but from connectify no.
edit: i found out that i succesfully connect to connectify with my smartphone only the first time i try (because it worked the very first time i used connectify and the first time i tried again after a complete reset of my phone). then, if i disconnect/reconnect, i find the "obtaining IP"/"no data traffic" issues. of course, resetting my phone each time i want to use my laptop's wifi isn't very handy..
Ficus* said:
...edit: i found out that i succesfully connect to connectify with my smartphone only the first time i try (because it worked the very first time i used connectify and the first time i tried again after a complete reset of my phone). then, if i disconnect/reconnect, i find the "obtaining IP"/"no data traffic" issues. of course, resetting my phone each time i want to use my laptop's wifi isn't very handy..
Click to expand...
Click to collapse
same here, couldnt believe my luck when it worked first time with my HD2 and galaxy.
but like you say, it was a one-hit-wonder and pulled my hair out for next hour trying to re-connect but same "obtaining IP" probs.
anyone throw some light on this???????
Title says it all.
All of the 2.2 roms and kernels I have tried will connect to the VPN but must screw up the routes as they shut off my data.
Does anyone have this running?
the only issue i have with "VPN Connections" is that is doesn't pass DNS traffic correctly. hence, i must connect via IP Addy not DNS name. other than that it works fine for me. i'm able to establish a vpn connection then use the WYSE rdc/vnc app to connect to my windows or linux servers ... connnectbot for shell access.
I've also been unable to connect to either a PPTP or IPSec VPN over my 3G connection since upgrading to the official release of 2.2 on my EVO 4G. The connection appears to be established just fine, and the VPN server shows that my VPN client is connected, but I cannot ping to or from the device, nor access any internal resources from it. This is a serious bummer considering that things worked fine under 2.1. Will test over WiFi when I get home. Can't test it at work since we're behind a proxy (which is another gripe I have with Android right now... seriously Google, no proxy configuration options?).
i feel i should clarify the name the application i'm using to establish a vpn tunnel is not the stock android vpn application.
it is called "VPN Connection" http://www.appbrain.com/app/org.codeandroid.vpnc_frontend
amw2320 said:
Title says it all.
All of the 2.2 roms and kernels I have tried will connect to the VPN but must screw up the routes as they shut off my data.
Does anyone have this running?
Click to expand...
Click to collapse
I have some interesting info regarding VPN behavior. With 2.1, of course, it did not work. Here's what I experienced: I rooted my 2.1 with Unrevoked (not a full root) and then I installed OMJ's (8/6?) Froyo and lo and behold, my encrypted PPTP VPN to a MS 2003 server was working perfectly. I assumed that 2.2 resolved the vpn issues. Since I thought 2.2 was a fix, I didn't hesitate to install another ROM. This time, though, I also did a NAND root and installed another 2.2 rom; whose, I don't remember. My VPN was gone. What I discovered was that I COULD connect to an unencrypted MS PPTP server, but still not my encrypted VPN server at work. So, here we are today. I'm running Vael-Pak non-sense rom and after I loaded it I had no vpn, but here's the thing...a couple of days ago I was poking around inside some of the Evo's networking files, I didn't change anything, I just opened them and looked at them with Text Editor, and since then my encrypted PPTP VPN has been working great. I'm very hesitant to reboot my phone because I fear that it won't work anymore. Right now I'm happy.
I'm trying in vain to get VPN connections working too. The only ROM that I had it working with no problems was Cyanogenmod's. All the others don't seem to have it supported in the kernel. Now I'm running a ROM based on the stock 2.2 but haven't found a fix yet.
I'm in the same boat - my pptp vpn worked fine in stock 2.1, but not in stock 2.2...
Sent from my PC36100 using Tapatalk
I can't get a pptp (haven't tried l2tp) to connect from my unrooted 2.2 evo with encryption enabled. I'm trying to connect to my server at home running winxp pro with the default winxp vpn server setup.
Works fine if you disable encryption. But what's the point if it's not encrypted, right? It works fine with encryption using a laptop or my old iphone3G. Seems to be a bug with android.
I'd like to know if someone finds a workaround.
This worked in 2.1 - froyo broke it
liamaa said:
I can't get a pptp (haven't tried l2tp) to connect from my unrooted 2.2 evo with encryption enabled. I'm trying to connect to my server at home running winxp pro with the default winxp vpn server setup.
Works fine if you disable encryption. But what's the point if it's not encrypted, right? It works fine with encryption using a laptop or my old iphone3G. Seems to be a bug with android.
I'd like to know if someone finds a workaround.
Click to expand...
Click to collapse
-mark
I am in the same boat. On CM6 VPN works flawlessly, but it is missing a lot, and kept crashing on me.
On every other ROM and kernel with tun.ko, it says it is connected but no connectivity.
AVA V6 is fast, good battery life, everything works (including hulu, and blockbuster) and very stable, but the only single thing I can't get working is Cisco VPN!!
-David
I am curious, does anyone have VPN working on any Froyo ROM besides Cyanogen?
If so what Rom/kernel are you using?
Interesting observation last night - 4g was temporarily working in sf, and my pptp vpn worked over it. I turned off 4g and retested, pptp vpn didn't work over 3g...
-mark
I have Desire. Try to create VPN connection to my work net over 3g, GPRS or Wi-Fi. Tunnel creation is succesful. It's working perfect for 15-20 seconds then nothing. No any warnings in Phone. VPN Server says it's OK. But net resources and RDP connections are unavailable. I'm using IPsec/PP2P protocol. Server with Win2k.
Also try to connect to another VPN server (router). Same result in such different situations
Same problem here. Using hideipvpn.com service. No internet connection when connected to vpn
up? Somebody help pls
Old WinMo works excellent but my new Android doesn't want