Blocking all internet access except through VPN

Joined
Aug 3, 2011
Messages
2
Reaction score
0
Points
1
I have a situation here where I need to only allow any internet access through a PPTP VPN connection, and if the VPN is not connected or becomes disconnected... the computer will not be able to grab the local internet access through ethernet or wifi and reconnect using my isp.

I have downloaded Wateroof and applied the following rules...

ipv4
add 01000 allow ip from any to any via ppp0
add 01100 allow ip from any to [IP of VPN host]
add 01200 deny ip from any to not me
add 65535 allow ip from any to any

ipv6
add 01000 allow ipv6 from any to any via ppp0
add 01100 deny ipv6 from any to any
add 65535 allow ipv6 from any to any

With these rules, my block works well. The computer seems like it is only accessible to the internet through the VPN and loses connection and cannot reconnect if the VPN is disconnected.

Here's my one issue though...

These rules seem to cutoff my ability see any machine on my local network, and to access other computer's screen share/files or even share my printer. What do I need to do to adjust these rules so I regain local network functions (screen share, file sharing, print sharing) while still blocking all internet access through all devices except through my VPN.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top