InviZible icon indicating copy to clipboard operation
InviZible copied to clipboard

DNSCrypt and LAN connectivity issues.

Open Git-Forked opened this issue 4 years ago • 15 comments

Using only the DNSCrypt, and firewall; (not tor or ip2) I have been using this app for over a year with mostly great experiences. I have some issues with certain apps not being able to communicate over the LAN. A specific app that has issues is "KDE Connect". I have enabled LAN for it in the firewall. When DNSCrypt is activated "KDE Connect" cannot reach my Linux computer on the same LAN. And When DNSCrypt is deactivated "KDE Connect" connects in less than a second.

Git-Forked avatar Dec 28 '21 06:12 Git-Forked

Please try the new beta version 1.4.6 or enable MENU -> Fast Settings -> Bypass LAN addresses.

Also make sure you have allowed LAN in the firewall for the appropriate applications.

Gedsh avatar Dec 30 '21 19:12 Gedsh

Please try the new beta version 1.4.6

I'll try it.

or enable MENU -> Fast Settings -> Bypass LAN addresses.

Bypass LAN claims it is only for TOR connections, however it was already enabled anyways.

Also make sure you have allowed LAN in the firewall for the appropriate applications.

Line 5 of my first statement says "I have enabled LAN for it in the firewall."

Git-Forked avatar Dec 31 '21 18:12 Git-Forked

Beta version you suggested does not work at all for me. When I press the "START" button it just keeps showing a popup/toast "VPN mode is off", however it is selected as the active in the 3 dot menu. I cannot proceed past this point to do further testing.

Git-Forked avatar Dec 31 '21 18:12 Git-Forked

Try adding forward rules on DNSCrypt settings 192.in-addr.arpa 192.168.1.1

Or equivalent to your network

Generator avatar Jan 06 '22 16:01 Generator

Try adding forward rules on DNSCrypt settings 192.in-addr.arpa 192.168.1.1

Or equivalent to your network

Tried that before you ever suggested it, and it does not help the issue.

Git-Forked avatar Jan 08 '22 12:01 Git-Forked

Beta version you suggested does not work at all for me.

Please try the new beta version 1.4.9. If you run into similar problems, you can try restarting your phone.

As for KDE Connect, I cannot test it on my PC as I am using Linux Mint with Cinnamon and I don't want to install KDE. But I have feedback that on version 1.4.6 KDE Connect works fine.

Gedsh avatar Jan 11 '22 22:01 Gedsh

@Git-Forked adding the hostnames on KDEConnec on the app settings might help (ex: desktop.lan) I also was having issues with KDEConnect and "Block connections without VPN" enabled on any pVPN app, adding hostnames instead of IP scan fixes the issue.

To find all network hostnames type sudo arp -a on any device or look the devices on your router.

@Gedsh you don't need to install the whole DE, but requires some dependencies from KDE. I use it on XFCE

Generator avatar Jan 13 '22 17:01 Generator

you don't need to install the whole DE, but requires some dependencies from KDE

I know. But this is actually about 85% of KDE. I use a PC for development, so I don't want to experiment with its stability.

Gedsh avatar Jan 13 '22 20:01 Gedsh

@Git-Forked adding the hostnames on KDEConnec on the app settings might help (ex: desktop.lan) I also was having issues with KDEConnect and "Block connections without VPN" enabled on any pVPN app, adding hostnames instead of IP scan fixes the issue.

No luck with that for me. Thanks for offering suggestions though.

Git-Forked avatar Jan 15 '22 15:01 Git-Forked

Beta version you suggested does not work at all for me.

Please try the new beta version 1.4.9. If you run into similar problems, you can try restarting your phone.

As for KDE Connect, I cannot test it on my PC as I am using Linux Mint with Cinnamon and I don't want to install KDE. But I have feedback that on version 1.4.6 KDE Connect works fine.

@Gedsh When will these beta changes roll out to F-Droid repository?

Git-Forked avatar Jan 15 '22 15:01 Git-Forked

When will these beta changes roll out to F-Droid repository?

With stable version. I don't know the exact date. When the beta becomes stable enough.

Gedsh avatar Jan 26 '22 21:01 Gedsh

Just updated to the 5.6.0 version from F-Droid, and it still KDE Connect and Linksys router app do not have connectivity to the LAN.

Git-Forked avatar Feb 19 '22 13:02 Git-Forked

Try adding forward rules on DNSCrypt settings 192.in-addr.arpa 192.168.1.1 Or equivalent to your network

And how am I supposed to figure out what the equivalent for my network is? Is it supposed to be the default gateway? What if I want it to work on multiple Wi-Fi networks?

As for KDE Connect, I cannot test it on my PC as I am using Linux Mint with Cinnamon and I don't want to install KDE. But I have feedback that on version 1.4.6 KDE Connect works fine.

Just run Kubuntu in a live session 😒.

I also was having issues with KDEConnect and "Block connections without VPN" enabled on any pVPN app, adding hostnames instead of IP scan fixes the issue.

When I added the hostname, InviZible started logging the hostname in red, which I think means it blocked the DNS query.

awebeer256 avatar May 05 '22 20:05 awebeer256

And how am I supposed to figure out what the equivalent for my network is? Is it supposed to be the default gateway? What if I want it to work on multiple Wi-Fi networks?

Its your router DNS server, on android settings check the info of your WiFi network and there's DNS, gateway, subnet etc...

If your network is 10.0.0.x and DNS server 10.0.0.1 then set 10.in-addr.arpa 10.0.0.1

Generator avatar May 05 '22 21:05 Generator

Just run Kubuntu in a live session

Unfortunately, I do not currently have time for such tests.

Gedsh avatar May 05 '22 21:05 Gedsh

Another app affected is Warpinator. Warpinator cannot see other devices running Warpinator over the LAN.

Suggested fixes do not resolve it:

  1. Bypass LAN
  2. 192.in-addr.arpa 192.168.1.1

Git-Forked avatar Jul 30 '23 18:07 Git-Forked