3 ms·
Show HN: Switch – Automatically disable your WiFi when not connected to a VPN
- detaro 6y agoDoes OS X not have a firewall you could use to block all traffic going through the non-VPN interface? That'd work immediately, without the gap until the script triggers.
- agmm 6y agoYes, it is possible to use pf to do that. That is why I mention that it might be a good idea to use the script in conjunction with strict firewall rules. The script is for disabling the WiFi per se.