Thanks, I will make a call to configctl in my script. wg-service-control.php allows for -a for all instances.
The wg-sevice-control.php script downs the wg interface, which I believe means that the following is not indicative of a specific instance being available for wg peers.
Using the below code to see if wg is listening on the configured UDP port indicates my script is now working as expected.
Thanks for your help!
The wg-sevice-control.php script downs the wg interface, which I believe means that the following is not indicative of a specific instance being available for wg peers.
Code Select
/usr/local/sbin/pluginctl -s wireguard status
Using the below code to see if wg is listening on the configured UDP port indicates my script is now working as expected.
Code Select
sockstat -l -4
Thanks for your help!