Closed utzer closed 7 months ago
Some tests and checks:
ip -br a
and make sure enp35s0
is the right main internet connection of your serverping 10.10.10.0
: does it work?ping 80.67.172.144
to see if external connection works (most likely no)
- Did you click on "Apply config" in the Wireguard server interface after fine-tuning your configuration?
Yes, some months ago, this is clearly stated in the manual, at least I remember that I read this. I did go on edit and apply again now.
2.
ip -br a
and make sureenp35s0
is the right main internet connection of your server
Besides enp35s0, there is only the loopback (lo) and wg0, so yes enp35s0 is the main connection.
3. With your client "connected" to the Wireguard network, perform a
ping 10.10.10.0
: does it work?
First it didn't, I continued to play around... and now it does work.
4. Same thing with
ping 80.67.172.144
to see if external connection works (most likely no)
Use google.com and yes, this also works.
I did all this multiple times, not sure what finally was the solution. At some point I opened port 8097 for TCP, but I closed it again, I restarted the firewall as written in the other issue.
Really not sure what did it now. If I figure it out I will report it here.
And of course thank you very much for the reply and the effort!
Describe the bug
Setup worked fine, I created an connection, which also is shown in the web gui. I can add that connection to the official wireguard app in Android or to "WG Tunnel" from F-Droid. In both clients when I start the connection it will first look good, but then when I open a webbrowser and open a random webpage the Wireguard app will complain that connection is not possible to the server.
For me it looks like the firewall port UDP 8097 is open, I can also see that the port is open on the server when I execute
sudo ss -lptun|grep 8097
I get this:I am not sure what else to look for.
I had the same problem on two Yunohost setups, I never got it to work. One case is now, the other was some months ago.
Context
Steps to reproduce
I installed the wireguard app, I setup a connection and it seems it is not working.
Please ask me for questions of tell me what to check, I am quite savvy with Debian. Please don't tell me to update YunoHost Version, this problem persists for months through different versions, so I prefer to trouble shoot it now. As written I will update YNH soon anyway, but not now.
Expected behavior
WG app connects and all traffic goes through VPN.
Logs
When restarting the "wg-quick" service there is a fault during the stop part, but it looks ok when adding the new connection: