What type of hardware are you using: Old laptop or computer What YunoHost version are you running: 12.1.26 How are you able to access your server: The webadmin
SSH Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: No
Describe your issue
Port opening isn’t working :
From webadmin I opened the port, but still got the warning in the diagnosis that my port is unreachable from outside. Even thought i have the exact same port forwarding rules on my isp, as the working http and https port. Please find the logs below with the paste link.
So i tried to find out with SSH, and i got the below part of the error message down here.
Your wg0 interface is down. You can try to restart it from webadmin>tools>services but there might be an issue related with nftables/iptables compatibility. Afaik wireguard uses by default iptables (see wg0 service log).
Then you could try to check opened ports with other tool.
Avec l’UDP une non-réponse n’est pas le signe d’un dysfonctionnement.
Le port resterait indétectable (et donc vu comme fermé par les scanners) car Wireguard ne répondrait que s’il reçoit les requêtes qu’il attend (celles des pairs).
I tried, but the first time it told me that there was an error with iptables. So I updated it, and now it says that “address is already in use”. (Logs : hastebin).
Understood, but in ynh diagnosis, it’s still written port 8095 not-open so something’s wrong.
And I think the port problem comes first before the wp0 one, because in the port problem line, the diagnosis says “Make this port accessible is required for type [?] features (service wg-quick@wg0)”.
(J’écris en anglais dans l’espoir que plus de personnes puissent répondre)
Oui, l’interface est bien active. Regarde le contenu du dossier /etc/wireguard: le fichier qu’il contient reflète-t-il la configuration de l’interface web de WG ?
Y a-t-il une chance pour que les adresses que tu as saisies soient déjà utilisées sur le système? Pour ipv4, j’en doute: tu le saurais. Tu peux sortir l’ipv6 pour voir (fd42…).
Toujours la même erreur sans l’IPv6, et avec 10.10.1.0 ou 10.10.1.1 : oct. 08 00:42:19 wg-quick[874567]: [#] ip -4 address add 10.10.1.0/24 dev wg0 oct. 08 00:42:19 wg-quick[874567]: [#] ip link set mtu 1450 up dev wg0 oct. 08 00:42:19 wg-quick[874586]: RTNETLINK answers: Address already in use
Merci quand même, ça me donne des pistes sur lesquelles creuser ce soir