L2TP VPN DNS Issue? - G3 Q&A, Help & Troubleshooting

Hi, guys,
I sometimes need to use a L2TP VPN to connect my company's network. The problem is, I can actually establish the connection (VPN shows connected), but I cannot visit any website. A ping test on terminal emulation tells that there is some problem with DNS lookup.
I am confident that my L2TP setting is correct since there is no problem with the same settings on a Google Nexus 4 phone.
Does anyone here have the same issue like me?
My G3 is 855 on 10L firmware.

Confirmed, I got same issue on my LG G3 (D855) model.
When on VPN connection, any direct IP access is working but DNS won't resolve any hostname.

Hi guys, I can confirm this too.
My device is a G3 D858HK with 4.4.2 and original firmware v10f.
This bug is really a showstopper for me.
Every ip address from intra or extra net is pingable , and the ip traffic goes through tun0 , but the dns lookups are dead.
It is possible to do dns lookup using a tool from the market.
This means for me that all ip routing is good and seems to be not a firewall problem.
Any ideas for workarounds ?
Sent from my LG-D858HK using XDA Free mobile app

Related

mac address

Does anyone know how I can find out the mac address of my xda IIs ? I have a dreytek wireless router at home which uses a mac based access control list. I've tried the addresses that appear in wireless LAN manager ( BSSID and MAC ) but no joy. The only way I can connect is to switch off the access list feature completely
jeff
Hi Jeff,
Switch off the Access control, and let the XDA IIs join the wireless network. Then go into Diagnostic Tools --> View DHCP assigned addresses, and you will get a list of MAC addresses, IP addresses and hosts on the network. Match your phone's name to the MAC address.
Then you can turn access control on again and input the phone's mac address into the "allowed" list.
Thanks for the reply. I've kind of done that as you can see from the DHCP table below
DHCP server: Running
Index IP Address MAC Address Leased Time HOST ID
1 192.168.1.1 00-50-7F-23-97-CC ROUTER IP
2 192.168.1.10 00-00-00-00-00-00 BAD IP
3 192.168.1.11 00-0D-61-4E-A7-F7 0:00:04.600 hubbo
4 192.168.1.12 00-09-2D-0E-49-61 9:24:34.170
(not sure about that BADIP line ! )
I would say my MAC is 00-09-2D-0E-49-61 but it's still not working.... odd.
Is there no way that you can tell the MAC address from the phone without connecting to a network.
Here is a freeware that will allow you to find your MAC with no connection. I used it on my PDA2K.
http://www.freewareppc.com/communication/vxipconfig.shtml
Install on your device. Just turn the wifi on and run the program and it will give you the MAC and additional device info. Don't have the PPC connected to the USB or it will identify that device.
Sorted thanks, whilst in PC World I scanned for a Wireless network, and found three, hehe! Once connected used that utility to get my MAC.
Many thanks!
wifi and drayteck router
hi i see u have a draytech router how did u manage to get streaming video? i have been trying now for hours.I can get the video on my laptop without any problems but my m2000?????
i think the problem lies within the vpn settings as when i try to open http://house:8080 i get the message vpn connection required.
any help would be greatly recived (i have the vigor 2600g)
thanks in advance
delboy

VPN Client on the Fire TV

Hi,
I'm in France and trying to set up a VPN client on the Fire TV.
The only decent I've found on the store is VPNroot which won't connect and display a "socket address family" error.
I'm using Boxpn service which works great on my desktop/mobiles.
Anyone succeeded in setting a VPN client on the ftv ?
..
c0mm0n said:
Hi,
I'm in France and trying to set up a VPN client on the Fire TV.
The only decent I've found on the store is VPNroot which won't connect and display a "socket address family" error.
I'm using Boxpn service which works great on my desktop/mobiles.
Anyone succeeded in setting a VPN client on the ftv ?
Click to expand...
Click to collapse
Not yet. I have tried HMA and vyprVPN the apps crash when connecting to a server. You could do what I did and install DD-WRT on your router, granted your router is compatible. It works great for me and a have everything behind that router protected by the VPN
Yes i'm working on the router side too, but still thinks it'd be great to have the client running on the FTV itself.
c0mm0n said:
Yes i'm working on the router side too, but still thinks it'd be great to have the client running on the FTV itself.
Click to expand...
Click to collapse
Yeah, it would be cool to take it anywhere with you and just fire up the VPN app and get all the content without having to worry about carrying a router with you. ill keep looking into it. will update if find anything
Tun.ko with droidvpn works.
Sent from my SM-G900F using XDA Free mobile app
Proxydroid with socks5 algo works.
Sent from my SM-G900F using XDA Free mobile app
I'm afraid, Fire TV OS is not particularly receptive to VPN usage however, if your router supports DD-WRT firmware, it's a good news because DD-WRT has the option of selecting different VPN configurations like: PPTP, L2TP or OpenVPN and Once configured, users on the network don’t need to enter a log in process when they need to activate the VPN. It just starts automatically, so any device connects automatically and easily, giving you all the benefits of using a reliable VPN service.
^^ Macuser just mentioned the tun.ko vpn module got it working. Theres a tun.ko installer by droidvpn in the playstore that some of u guys may want to mess with.
i tried to follow Rose Ab's idea
i found an old router with dd-wrt on it, i now have to networks: one local and one connected via vpn which has the AFTV on it.
it works great
lanfeust said:
i tried to follow Rose Ab's idea
i found an old router with dd-wrt on it, i now have to networks: one local and one connected via vpn which has the AFTV on it.
it works great
Click to expand...
Click to collapse
Care to share how you configured the two networks? I'm thinking about doing the same thing, but can't find a reliable guide to do so.
I have two routers - both configured with dd-wrt. I find that when I plug my second router (w/vpn) into the first's LAN port, I can never get a connection to pass through. Any suggestions would be appreciated.
Sent from my iPhone using Tapatalk
vyktym said:
Care to share how you configured the two networks? I'm thinking about doing the same thing, but can't find a reliable guide to do so.
I have two routers - both configured with dd-wrt. I find that when I plug my second router (w/vpn) into the first's LAN port, I can never get a connection to pass through. Any suggestions would be appreciated.
Sent from my iPhone using Tapatalk
Click to expand...
Click to collapse
actually, i have one router for my "usefull" network wich is configured as a gateway (you can use your internet box too). The other is configured as a vpn connected client, connected on the first, making a network for devices that need to be connected to the USA. I use purevpn and they have good tutorials for tomato or ddwrt and other kind of routers.
I also have a NAS with two ethernet ports... each connected on a different network, so it can be available from the fire tv and my computer
lanfeust said:
actually, i have one router for my "usefull" network wich is configured as a gateway (you can use your internet box too). The other is configured as a vpn connected client, connected on the first, making a network for devices that need to be connected to the USA. I use purevpn and they have good tutorials for tomato or ddwrt and other kind of routers.
I also have a NAS with two ethernet ports... each connected on a different network, so it can be available from the fire tv and my computer
Click to expand...
Click to collapse
Thanks for clarifying. I think I got it working on my end by configuring the 2nd router to use the first router's IP address as the gateway and local DNS server. Still not my preferred option (waiting for the PIA android app to function by itself), but it will work for now. Cheers.
wouldnt it be better to just load up DDWRT on a router and configure your vpn from there?
macuser said:
Tun.ko with droidvpn works.
Sent from my SM-G900F using XDA Free mobile app
Click to expand...
Click to collapse
Can you tell us a little more about how you got this working?
Thanks
The best option avalaible is proxydroid.
Droidvpn is too slow.
Knowing this, if you still prefer using a vpn just let me know.
macuser said:
The best option avalaible is proxydroid.
Droidvpn is too slow.
Knowing this, if you still prefer using a vpn just let me know.
Click to expand...
Click to collapse
Can you explain the settings on the router side? I have dd-wrt
OpenVPN running both natively and on router
justin6162 said:
Can you explain the settings on the router side? I have dd-wrt
Click to expand...
Click to collapse
There is a thread on reddit that explains both using the OpenVPN client directly on FireTV or split-routing setup.
Here is the link to use the OpenVPN client natively on FireTV:
reddit.com/r/fireTV/comments/2b4hlh/finally_got_vpn_working/
Here is the link to use OpenVPN on the router and selectively route traffic over the tunnel for the FireTV:
reddit.com/r/fireTV/comments/2b4hlh/finally_got_vpn_working/cjwup38
I'm sure you can adapt the instructions to suit dd-wrt. And if you can't, maybe you should switch over to OpenWRT.
P.s. I'm a lurker so I cannot generate links until I've posted 10 times. Maybe a mod can do it, or someone else can repost it, or better yet, transcribe the instructions.
snappywan said:
There is a thread on reddit that explains both using the OpenVPN client directly on FireTV or split-routing setup.
Here is the link to use the OpenVPN client natively on FireTV:
reddit.com/r/fireTV/comments/2b4hlh/finally_got_vpn_working/
Here is the link to use OpenVPN on the router and selectively route traffic over the tunnel for the FireTV:
reddit.com/r/fireTV/comments/2b4hlh/finally_got_vpn_working/cjwup38
I'm sure you can adapt the instructions to suit dd-wrt. And if you can't, maybe you should switch over to OpenWRT.
P.s. I'm a lurker so I cannot generate links until I've posted 10 times. Maybe a mod can do it, or someone else can repost it, or better yet, transcribe the instructions.
Click to expand...
Click to collapse
I was able to get a split tunnel up and running on an ASUS RT-N66U router running Merlin Firmware. The VPN in Merlin is basically a port of OpenVPN in the tomato firmware implementation. The first step is to create the VPN tunnel and then you can setup the separate routes. For Private Internet Access (PIA). I used the following instructions to setup the tunnel:
https://www.privateinternetaccess.com/forum/index.php?p=/discussion/110/updated-tomato-setup-for-newer-branches-including-tomatousb/p1
Next I followed the instructions on this page for setting up a separate route for my FireTv. With this configuration my AFTV goes through the VPN tunnel and everything else goes through the normal Wan to my ISP. I followed the following instruction. Look at page 2 of the post for the instructions by WIZIN
http://www.smallnetbuilder.com/forums/showthread.php?t=9311&highlight=split
This is tailored for ASUS routers, but the idea should not be too difficult to implement on and dd-wrt o tomato firmware.
For me this is a much cleaner solution than running something on the AFTV. It starts up and shuts down with the router, so I don' have worry about restarting it when I reboot on the AFTV or it using CPU and memory on the AFTV.
Please help
Rose Ab said:
I'm afraid, Fire TV OS is not particularly receptive to VPN usage however, if your router supports DD-WRT firmware, it's a good news because DD-WRT has the option of selecting different VPN configurations like: PPTP, L2TP or OpenVPN and Once configured, users on the network don’t need to enter a log in process when they need to activate the VPN. It just starts automatically, so any device connects automatically and easily, giving you all the benefits of using a reliable VPN service.
Click to expand...
Click to collapse
I have a fire tv and would like to have a backup to connect to the office. I have a Asus N900 which has asuswrt fimrware. How do I setup the client to connect I am getting bad config on mine when trying to connect. IPCP -timeout sending config-requests.

[SOLVED] Problem with wifi on stock MM

After I updated my LG G3 D855 to stock MM I had problem with wifi on my home network VDSL router. Internet was working but in "waves" - it would show text first then it paused and after few seconds pictures would come and so on. There were no problems on mobile connection or on wifi at workplace.
After googling, I found that same problem was on Lollipop on some phones. It has something to do with IPv6 DNS servers on router and I first tried DNSet app and it worked. Then I found option to manually add addresses of IPv6 DNS servers on router and it also resolved problem, so I don't need DNSet app anymore.
DNSet app: https://play.google.com/store/apps/details?id=com.dnset
Googles IPv6 DNS servers: 2001:4860:4860::8888, 2001:4860:4860::8844

SmartDNS service doesn't work anymore after Fire OS 5.0.5 update

I am using a smart DNS service (such as unblock-us / unlocator) on my Amazon Fire TV as well as on a Fire TV Stick, in order to watch shows in my home country language, as I am currently living in Germany.
The DNS setup was done directly on the Fire TV Box, not in my router due to limitations from my internet provider. When I started with the DNS service, everything worked like charme from the start. But yesterday evening my Fire TV got the update by Amazon onto OS version 5.0.5 (before it had an OS version called 51.1.6.3.) From this moment on, the DNS service stopped working on the Fire TV.
Everything is still set up correctly, but I just get the German content, no matter what region I have set in my DNS Service account. No error message though. I tried to restart the device, deleted and re-added the network with the DNS settings and restarted again, restarted the router, but nothing helped. I haven't done anything different than before. So I am quite sure, it has to do with the OS update by Amazon. The Fire TV Stick in the other room still has the former OS version (54.1.2.3.). There, everything still runs smooth as it used to be as well on the Fire TV box.
Is anyone here facing the same issues with the new Fire TV OS 5.0.5? Does anyone know how to solve this or what I can do different, to make it work again?
Thanks in advance for your help.
same !!!
I have same prob since update today.. I was using overp*ay
Any luck getting it sorted thx
One way around is to get your internet provider to bridge their modem (if it is build into router) and buy a good router you can set-up using a custom DNS/VPN
I talked to the u*locator support today (Smart DNS Service I use). They say it's because of IPv6 that seems to break their service. Under settings → system → about → network, the DNS is not in IPv4 but IPv6 format. Apparently Android 5.1 (Fire OS 5.0.5) and my cable provider plus the Fritz!Box Router I am forced to use by them don't go well together in this combination. Former OS version was based on Android 4.2.2. - no problems. I found several reported issues in other contexts (smartphone wifi, smartphone push notifications, etc.) with the keywords IPv6 in combination of Android Lollipop, my ISP and the router I gotta use. So it seems I am unlucky with this combination.
So does anyone have a hint, what workaround options I have?
- downgrade to the former OS? How can that be done?
- would rooting and disable IPv6 on the Fire TV be a possibility?
- (bridging the modem as bula1ca said is unfortunately no option with my ISP)
I heard wired connections on the firetv box doesnt have this problem but im curious to know the fix because I have a fire tv stick
So I got a solution! Inspired by bula1ca's post, I am additionally using an old TP-Link Router now (TL-WR841ND), which doesn't support IPv6. No rocket science. I just connected the WAN Port of that Router with a free LAN port of my original Fritz!Box, set up a wireless network on that old router and changed DNS to my smart DNS service in DHCP settings. So now I have an additional wireless network that I only use with the Fire TV and my Fire TV Stick. Result: The Fire TV doesn't get a IPv6 DNS anymore, but only Ipv4. Works like a charme.
Whizzkid78 said:
So I got a solution! Inspired by bula1ca's post, I am additionally using an old TP-Link Router now (TL-WR841ND), which doesn't support IPv6. No rocket science. I just connected the WAN Port of that Router with a free LAN port of my original Fritz!Box, set up a wireless network on that old router and changed DNS to my smart DNS service in DHCP settings. So now I have an additional wireless network that I only use with the Fire TV and my Fire TV Stick. Result: The Fire TV doesn't get a IPv6 DNS anymore, but only Ipv4. Works like a charme.
Click to expand...
Click to collapse
Happy that worked for you however some modems need to be "bridged" before you can use your own router.
My router is a Fritzbox and I'm using it in bridge mode. I have simply disabled ipv6 support for the home network:
-DNSv6-Server in Home Network - DNSv6-Server through Router Advertisement (RFC 5006) - off
-DHCPv6-Server in Home network - deactivate
SmartDns is working again even over a Wlan connection. Other router brands might also have this possibility
I'm facing the same problem with IPv6/IPv4.
How do you connect WAN with LAN ports etc., and what else needs to be done how so that the FireTV can eventually work with an IPv4 address?
will2go said:
I'm facing the same problem with IPv6/IPv4.
How do you connect WAN with LAN ports etc., and what else needs to be done how so that the FireTV can eventually work with an IPv4 address?
Click to expand...
Click to collapse
See my answer above. You have to find a way to disable IPV6 DNS in your home network.
-You might be able to do it in your router settings
-if your router doesn't allow switching it off attach another hardware (router) to your WAN cable modem's port where it is possible to do so/or the router is an old pre-ipv6 model where it is off anyway.
Just connecting the firetv to a lan port won't help unless you have a special router setup
uzi74 said:
See my answer above. You have to find a way to disable IPV6 DNS in your home network.
-You might be able to do it in your router settings
-if your router doesn't allow switching it off attach another hardware (router) to your WAN cable modem's port where it is possible to do so/or the router is an old pre-ipv6 model where it is off anyway.
Just connecting the firetv to a lan port won't help unless you have a special router setup
Click to expand...
Click to collapse
I can't disable IPv6 since my ISP is just providing IPv6 addresses. If I disable that within my router, there's no internet connection.
How do I setup another router via WAN? That may actually work. Do you happen to have a step-by-step guide how to do that?
Thanks.
will2go said:
I can't disable IPv6 since my ISP is just providing IPv6 addresses. If I disable that within my router, there's no internet connection.
How do I setup another router via WAN? That may actually work. Do you happen to have a step-by-step guide how to do that?
Thanks.
Click to expand...
Click to collapse
You don't have to disable IPV6 completely, just for your home network (if your router supports it). - in case you get a dual stack IPV6 (you get an IPV4 and IPV6 address assigned the same time)
How to do it exactly, how to use a different router and what is possible for you, you would better ask in forums of your internet provider. (I had to request my internet provider to switch the router/cable moden they gave me to bridge modus, than I was able to hook up a different router on the LAN1 port of my cable modem - I needed it before for different purposes)
Your options are very much dependent on your internet provider and hardware you own, but basicly your goal is the have IPV4-only DNS on your home network
Not an option, sorry.
My router won't allow full disabling of IPV6 unfortunately.
I have just heard from unblockr.net a SmartDNS provider, and they suggest that it would potentially help to disable this.
My traffic is definitely being routed via their servers as I can connect to the DNS servers fine, but it won't unblock geoblocked content for a certain country I'm aiming for which is a shame.
johnsmithtetley said:
My router won't allow full disabling of IPV6 unfortunately.
I have just heard from unblockr.net a SmartDNS provider, and they suggest that it would potentially help to disable this.
My traffic is definitely being routed via their servers as I can connect to the DNS servers fine, but it won't unblock geoblocked content for a certain country I'm aiming for which is a shame.
Click to expand...
Click to collapse
What kind of router do you have that can't handle this simple setting?

L2TP VPN Doesn't work on native MIUI 11.0.3

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.

Categories

Resources