Closed xplosionmind closed 3 years ago
sudo wg
? (hide any key, preshared key, etc.)interface: wg0
public key: nZv6m***********JUaJLXJvhrJnbiafCtTY=
private key: (hidden)
listening port: 8095
I edited the file as pointed out in the README, but I do not understand these: are they commands? Should I run them consecutively?
A picture is better than a thousand words. They have to be put there:
Remember to replace eth0
by your actual Internet-facing interface.
Do this, then Save.
I think I have found a bug. Can you try the following commands?
sudo nano /etc/systemd/system/wireguard_ui_conf.service
add a sudo
before /usr/bin/systemctl
on the last line. Save and quit with CTRL+O then CTRL+X
sudo systemctl daemon-reload
sudo systemctl restart wireguard_ui_conf.service
The interface should be up. Check with sudo wg
and try connecting again.
If the connection is successful but still no Internet access (after the post up and down commands), try pinging your server from the client ping 10.10.10.0
It is now working!
Thanks a lot, I love you!
Best,
T
Describe the bug
Everything appears to be configured correctly, but the connection to WireGuard does not work.
Context
Steps to reproduce
Expected behavior
Working connection to the internet
Logs
Installation log:
after running
sudo ls -la /opt/yunohost/wireguard
after running:
sudo ls -la /etc/wireguard
after running:
sudo wg-quick up wg0