Found out I can change the port in the server config of Wireguard to 989
Also I needed to open that port in the Yunohost firewall
And set the new endpoint port in my clients config.
I would suggest that you change the internal YunoHost setting so that your new port is kept across updates: yunohost app setting wireguard port_wg -v 989. (note to other readers, this command is not magic and does not do what you might think it does )
It should work for basic DNS needs. Make sure it is set up to listen on all interfaces (or first hop? I cannot remember what’s right).
I would like to extend this for internal domains usage, but I have yet to make it work (I use Adguard).
This application is currently flagged as broken on YunoHost’s application catalog. This may be a temporary issue while the maintainers attempt to fix the issue. In the meantime, upgrading this app is disabled”
Hi, is it possible to use wireguard client and wireguard server on a same yunohost instance ? My use case :
I want yunohost to get internet access by a VPN with wireguard client, to get it’s own IP address independent of internet connexion (allows easy 4G backup)
I want to use wireguard server to get an access to local network when we’re away
Did anyone already test that ?
In theory you can do anything with the proper configuration, but you would need to follow some tutorials (and I am no networking expert).
I would rather point you to Headscale, a Tailscale server, and install the clients on YunoHost and your other devices. It has an option to expose local networks through the VPN.
Actually it’s working, the vpn (server) can pass into the vpn (client), modifying the MTU to 1400 on wireguard server. The default MTU is 1420 on wireguard client.