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.
Tormen
> 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:
>
> https://www.reddit.com/r/WireGuard/comments/fmn93h/how_to_display_or_manage_macos_wireguard_status/fl5xscg/?context=8&depth=9
>
> ~J
>
>
> 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:
>>
>> https://www.reddit.com/r/WireGuard/comments/fmn93h/how_to_display_or_manage_macos_wireguard_status
>>
>> Anybody know why?
>>
>>
>> On 2020-03-07 10:18 PM, Eiji Tanioka wrote:
>>> Hi,
>>>
>>> How about install wireguard-tools from Homebrew ?
>>> https://www.wireguard.com/install/#macos-homebrew-and-macports-basic-cli-homebrew-userspace-go-homebrew-tools-macports-userspace-go-macports-tools
>>>
>>> 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.
>>>
>>> And,
>>>> 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?
>>>
>>> Regards,
>>>
>>> 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!
>>>>
>>>> Tormen
>>
More information about the WireGuard
mailing list