Jump to content
Not connected, Your IP:

WireGuard with macOS - Terminal (Homebrew)

Install Homebrew, and then enter the command:
brew install wireguard-tools
Log in this site.
Enter Config Generator
Click on your favorite option.
Click on "Generate".
Download or extract files.
With wg-quick, the config file name will be used as interface name, but our Config Generator builds too complex names. So, rename the .conf file you want to use to a friendly interface name, e.g.
mv /Users/myuser/Downloads/AirVPN_BE-Brussels_Columba_UDP-1637.conf /Users/myuser/Downloads/wg.conf
To start tunnel
sudo wg-quick up /Users/myuser/Downloads/wg.conf
Use a full path to qualify your .conf.
To stop tunnel
sudo wg-quick down /Users/myuser/Downloads/wg.conf
Use an absolute path to qualify your .conf.
  • Create New...