WireGuard for macOS (cmdline vs GUI)
tormen at mail.ch
tormen at mail.ch
Sun Mar 22 12:31:33 CET 2020
FYI: Thanks a lot for your answers to my initial question!
I did not know the ncutil command yet :)
It works like charm and allows for nice "remote" control of the GUI app via cmdline.
> On 22. Mar 2020, at 04:49, Johnny Utahh <mailman-wireguard.com at johnnyutahh.com> wrote:
> I wrote:
>> The macOS wireguard-tools command line does not seem to work concurrently with the GUI app
> ...because it's not supposed to. (sigh) Simple updates to https://www.wireguard.com/install/ along with a short note for macOS `launchctl` (or similar gizmo for auto bootup) will help make things more clear. Details:
> On 2020-03-21 4:45 PM, Johnny Utahh wrote:
>> The macOS wireguard-tools command line does not seem to work concurrently with the GUI app, at least on my system:
>> Anybody know why?
>> On 2020-03-07 10:18 PM, Eiji Tanioka wrote:
>>> How about install wireguard-tools from Homebrew ?
>>> I have not installed, it seems installing `wg`, `wg-quick` command and
>>> "wireguard-go" backend.
>>> I think you can use them for Connect / Disconnect from CLI.
>>>> I would love to use both (GUI + CLI): No automatic connect in the GUI,
>>> I'm using "On-Demand" option for automatic connect, is it appropriate
>>> for your purpose?
>>> 2020年3月8日(日) 10:01 <tormen at mail.ch>:
>>>> Dear Wireguard Team,
>>>> First off, thanks a lot for the client for macOS !!
>>>> Is there a possibility to issue a "Connect" / "Disconnect" command from the command line
>>>> instead of using the buttons in the GUI ?
>>>> I would love to use both (GUI + CLI): No automatic connect in the GUI, but rather automatically connect / reconnect via script (so via command-line interface, CLI).
>>>> And I don't like the idea of not using the GUI and switching to the cli version as then I don't have the icon.
>>>> Thanks a lot in advance for any hint or feedback!
More information about the WireGuard