Open fattyredpanda opened 8 months ago
+1
Same here Trying to run on TrueNAS FreeBSD based Jail Config is generated OK but unable to restart service and get stats of clients.
Same on FreeBSD. To restart the service it should run service wireguard restart
Same as you, to apply the config I need to restart the wireguard container and then the wireguard-ui. Easier than service wireguard restart
Hi guys. To automatically restart the service, you need to: WGUI_MANAGE_RESTART=true https://github.com/ngoduykhanh/wireguard-ui#using-docker
I have issues with the WGUI_MANAGE_RESTART=true. Once I hit apply config my wireguard tunnell will be taken down, but will not start again.
I believe it might be related to an issue with iptables that I can see in my docker logs: ip link delete dev wg0 iptables -D FORWARD -i wg0 -j ACCEPT; iptables -t nat -D POSTROUTING -o ens6 -j MASQUERADE /usr/bin/wg-quick: line 295: iptables: command not found
To bring wireguard up again I need to run it manually with wg-quick start wg0
Any idea if I am doing something wrong?
I am having the same issue, running within docker on a Synololgy NAS. When I apply the config, the changes are applied to wg0.conf, the wg0 interface is stopped, but it does not start after (but works fine when I manually start from the command line via wg-quick). Environment variables are as follows:
environment:
I'm having the same problem on my Synology. #520 did not solve the issuse for me. Did anyone else already try version 0.6.0 and can confirm that the problem still persits?
I've checked the log file of the WireGuard-UI container. There seems to be an issue with iptables. The error message is: iptables v1.8.10 (nf_tables): Could not fetch rule set generation id: Invalid argument
. Previous versions (0.5.2) are running fine.
Hi guys. To automatically restart the service, you need to: WGUI_MANAGE_RESTART=true https://github.com/ngoduykhanh/wireguard-ui#using-docker
but I don't use docker!!!!
Yes, thanks. WGUI_MANAGE_RESTART is set to true, but it isn't working as documented.
Replaced this ExecStart=/usr/bin/systemctl restart wg-quick@wg0.service on this ExecStart=/usr/bin/systemctl reload wg-quick@wg0.service
and everything started working
Wireguard UI doesnt restart Wireguard Service When Applying Config. I have to manually restart from console everytime after clicking apply config for it to take effect.
Running Ubuntu 23