Wireguard Peer Config on MacOS
Prerequisite
You come from here and have a .conf
file ready.
Step 1: Install Wireguard Client
From here, choose and install the macOS client.
Step 2: Create a Tunnel
"Import Tunnel(s) from File..."
"Activate"
At this point, it should show "Status: Active"
Step 3: Validating and Testing
A connected peer should be pingable.
user@macbook-pro wireguard % ping 172.27.0.3
PING 172.27.0.3 (172.27.0.3): 56 data bytes
64 bytes from 172.27.0.3: icmp_seq=0 ttl=63 time=35.006 ms
64 bytes from 172.27.0.3: icmp_seq=1 ttl=63 time=32.528 ms
64 bytes from 172.27.0.3: icmp_seq=2 ttl=63 time=33.376 ms
^C
--- 172.27.0.3 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 32.528/33.637/35.006/1.028 ms
Next Steps
Wireguard Gateway (WGW) Guide outlines many use cases that may be valuable to you.