3 ms·
Try putting something like this on your Mac in /usr/local/etc/wireguard/foo.conf: [Interface] PrivateKey = redacted Address = 10.100.0.3/24 [P
by mbrock 8y ago
Try putting something like this on your Mac in /usr/local/etc/wireguard/foo.conf:
[Interface]
PrivateKey = redacted
Address = 10.100.0.3/24
[Peer]
PublicKey = redacted
AllowedIPs = 10.100.0.0/24
Endpoint = 18.xxx.xxx.xxx:51820
PersistentKeepalive = 25
and then doing
sudo wg-quick up foo
You should see something like
INFO: (utun2) 2018/12/16 18:43:24 Starting wireguard-go version 0.0.20181018
[+] Interface for foo is utun2
[#] wg setconf utun2 /dev/fd/63
[#] ifconfig utun2 inet 10.100.0.3/24 10.100.0.3 alias
[#] ifconfig utun2 up
[#] route -q -n add -inet 10.100.0.0/24 -interface utun2
[+] Backgrounding route monitor
That's assuming you have a matching server config set up on your Ubuntu...