Created
October 24, 2024 09:48
-
-
Save Korveld/598799b8dd3d20a9e71e61c2ee5f7417 to your computer and use it in GitHub Desktop.
Wireguard mac os setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Read this somewhere earlier about using wireguard-go and cli to activate/deactivate wireguard working perfectly on Ventura while the Appstore wireguard app was not working properly. | |
1) Install wireguard-go and wireguard-tools with brew in terminal: | |
brew install wireguard-go wireguard-tools | |
2) Create the wireguard config directory and move your config file (exported from the Appstore wireguard app) to that directory: | |
sudo mkdir /usr/local/etc/wireguard | |
sudo mv your-config.conf /usr/local/etc/wireguard/wg0.conf | |
3) Activate wireguard with your config: | |
sudo wg-quick up wg0 | |
4) Check your IP on whatsmyip.com see if its the IP of the wireguard VPN server. | |
5) To disconnect from wireguard do: | |
sudo wg-quick down wg0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment