News for hackers. Stuff that matters.
Re:WireGuard for MacOS by xCatbodi on Sunday February 17, 2019 @06:16PM (#19187518)
how would I go about implementing a killswitch for this? I'd like for it wait until I said its OK to either try to reconnect or allow network without WireGuard connection. I was very happy with how Tunnelblick would do this for shitty internet scenarios. Is something like that even necessary in this situation?

also: i do have connect on demand on.

apologies if stupid question

Re:WireGuard for MacOS by 8077628 on Sunday February 17, 2019 @10:29PM (#19188407)
On the configs I've seen, "killswitch" is a few lines that tell iptables to stop sending when the connection drops. I don't know how tunnenblick does it, but this might actually, and I'm not joking, be a job for applescript? Since it looks like wireuard doesn't do killswitch on its own. http://krypted.com/mac-security/command-line-firewall-manage... might be a starting point.
Re:WireGuard for MacOS by akerl_ on Monday February 18, 2019 @08:19AM (#19190415)
Connect-on-demand does what you want. OSX will use this connection when it needs to network, and if it can't make the VPN start, the connection will stall.