Prevent outgoing traffic unless OpenVPN connection is active using pf.conf on Mac OS

Discussion in 'Mac Basics and Help' started by Develope, Sep 13, 2014.

  1. Develope macrumors newbie

    Joined:
    Sep 13, 2014
    #1
    I've been able to deny all connections to external networks unless my OpenVPN connection is active using pf.conf

    Into etc/pf.conf in the end i add


    Then i enable packet filter service with sudo pfctl -e and load the new rules with sudo pfctl -f /etc/pf.conf

    Works great, BUT, i can't connect to the internet via VPN
    I have no any connection to the internet(
    My OS - Mac OS X 10.9.4

    P.S. i think that problem in last 2

    Because

    It works great, clock updated time automatic

    Who can help me with that?
     
  2. Develope thread starter macrumors newbie

    Joined:
    Sep 13, 2014

Share This Page