Skip to content

soar/osx-vpnonly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

osx-vpnonly

Original idea

I found this amazing article written by user jomo and just made some scripts for self-usage.

Usage

First of all, edit files pf.tables/vpnonly-ipv4-hosts-allowed.txt and pf.tables/vpnonly-ipv6-hosts-allowed.txt - and add there addresses of your VPN servers.

Now simply run install script:

sudo ./install.sh

To disable filtering execute:

sudo ./disable.sh

To enable again:

sudo ./enable.sh