Flint wireguard seever start via cli (ssh)

Hi,
is it possible to start and stop the configured wireguard server via ssh?
Thanks

If you are using firmware version 4.X, you can try the following command.
First, the first time you need to add configuration to the UI and connect.

for wireguard client

uci set network.wgclient.disabled='1'
uci commit
/etc/init.d/network reload

for ovpnclient client

uci set network.wgclient.disabled='1'
uci commit
/etc/init.d/network reload

works perfectly
thanks so much :+1:

Hi, i used the command for the wg_server too…
Just added uci set firewall.wgserver_allow.enabled=“1” and change wgclient to wgserver…
This worked fine till i did the update to 4.2.1.
When i execute it now, everything seems to be ok, i see 1 connected client, i can remotely access the gl.inet gui but i can not reach other clients in the lan network and i can not access the internet. Is there anything else to do manually?

When i use the switchbutton for vpn server in the gui everything works fine… :frowning:

Thanks