Hi guys, I’d like to do the simplest, access the YH applications remotely through VPN. I have been trying with the zerotier VPN and I can access successfully YH admin page at VPN IP 192.168.195.xx , but when trying to open an application, I am directed to customdomain.local/application_name. YH documentation mentions that i should be able to access the .local domains of the applications through VPN.
I have no expertise about DNS configs, so please if possible elaborate through steps.
Hardware: Raspberry pi3 Access: Can access webpage admin and ssh both locally at yunohost.local/yunohost/admin/ and 192.168.195.xx/yunohost/admin/ , can access application at customdomain.local
No errors seem to appear in logs.There is no tweaking. Have searched around the forum, didnt find something that could help me do the simple scenario.
“Starting from YunoHost v4.3, domains ending by .local are fully supported, in addition to the default yunohost.local. They do not use the DNS protocol, but the mDNS one (also known as Zeroconf, Bonjour), which allows them to be published with no specific configuration but exclusively on your local network or VPN.”
My networking skills are not that good so i am not sure how to approach the issue.
Erf, it should state “some VPN”. Basically, the technical requirement is that the VPN supports multicast: that’s the case for ZeroTier, that is not the case for WireGuard for instance.
Back to your issue, I do not see the problem from your description of it.
Here is a setup that should be working:
You are on Windows, or an OS which can listen to the Bonjour/mDNS protocol. On Linux distributions, make sure avahi-daemon is installed and running.
ZeroTier is installed on your YunoHost server, and it is connected to a ZeroTier network you manage. You know its IP address on the network, let’s call it 10.0.0.1.
Your computer has ZeroTier installed, and is connected to the same ZeroTier network.
You can ping 10.0.0.1 from your computer
customdomain.local is registered on the server
An application is installed on customdomain.local/application_name and can be reached from the browser.
I have the same problem (as described by the author of the post):
I am on an Android device: avahi-daemon is active in YunoHost (a x86 machine), but I can’t check my Android device (it can be assumed that it is not installed)
ZeroTier is installed on the YunoHost server (apps ZeroTier and ZeroUI), which contains a network controller that I control, and I know its virtual IP address
My Android device has ZeroTier installed (the unofficial version in F-Droid repository) and I am connected to the network
I can do ping xx.xx.xx.xx from my Android device and the YunoHost server responds
I have created and tested locally mydomain.local and I have established it as the main domain on the server
Tengo el mismo problema (tal como lo describe el autor de la publicación):
Estoy en un dispositivo Android: avahi-daemon está activo en YunoHost (una máquina x86), pero no puedo verificar mi dispositivo Android (puede suponerse que no está instalado)
ZeroTier está instalado en el servidor YunoHost (apps ZeroTier y ZeroUI), que contiene un controlador de red que controlo, y conozco su dirección IP virtual
Mi dispositivo Android tiene instalado ZeroTier (la versión no oficial en el repositorio F-Droid) y estoy conectado a la red
Puedo hacer ping xx.xx.xx.xx desde mi dispositivo Android y el servidor YunoHost responde
He creado y probado localmente midominio.local y lo he establecido como dominio principal en el servidor
Maybe I should create a configuration file in /etc/dnsmasq.d/ so that YunoHost solves the local domain for the nodes of my ZeroTier network?
I must say that on my server there are configuration files for all the domains created, except the main local domain.
(I think that having a solid solution that allows to create VPNs for YunoHost is essential for users to access private domains avoiding NAT and ISP restrictions that prevent them from using a public domain.)
¿Quizás debería crear algún archivo de configuración en /etc/dnsmasq.d/ para que YunoHost resuelva el dominio local para los nodos de mi red ZeroTier?
Debo decir que en mi servidor hay archivos de configuración para todos los dominios creados, excepto el dominio local principal.
(Creo que tener una solución sólida que permita crear VPNs para YunoHost es esencial para que usuarios accedan a dominios privados evitando restricciones de NAT e ISP que les impiden usar un dominio público.)