Re:Wireguard VPN: Typical Setup (2017)
by mbesto on Sunday December 16, 2018 @11:35AM
(#18693756)
I tried streisand / wireguard setup awhile back (MacOS to DO server). It worked great until I tried to disconnect (it would save the old WG settings in my connection tables and then just keep me completely disconnected from the internet). Anyone know if this is improved? Is there any easy way to get wireguard setup on macos and connect to a DO server?
[ Parent
| on HN ]
It's much better although seems to occasionally still happen (DNS settings, for some reason). Homebrew is probably the easiest way to get the client going from scratch with the least effort.
I used the WireGuard package from homebrew to setup a vpn back to a Raspberry Pi at home and it worked pretty well.
The WireGuard client for macOS behaves differently than the Linux client when setting DNS settings.
We do need to port wg-quick to use scutil instead of networksetup.
Setting up functions in my bash .profile helped for me, to ensure the DNS settings get reset: https://gist.github.com/bouchard/b78ffa3c934252cd6350a890496...