Skip to content

Instantly share code, notes, and snippets.

@vicegold
Last active October 29, 2016 10:59
Show Gist options
  • Save vicegold/6de1787cbe686d3b583f270355cf4e5f to your computer and use it in GitHub Desktop.
Save vicegold/6de1787cbe686d3b583f270355cf4e5f to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE plist PUBLIC "-//Apple Computer/DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0$
<plist version="1.0">
<dict>
<key>Label</key>
<string>vpn.vg.pf.plist</string>
<key>EnableGlobbing</key>
<true/>
<key>ProgramArguments</key>
<array>
<string>ifconfig</string>
<string>waitall</string>
</array>
<key>Program</key>
<string>/sbin/pfctl</string>
<key>ProgramArguments</key>
<array>
<string>/sbin/pfctl</string>
<string>-e</string>
<string>-f</string>
<string>/etc/pf.vg.conf</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>ServiceDescription</key>
<string>FreeBSD Packet Filter (pf) daemon</string>
<key>StandardErrorPath</key>
<string>/var/log/pf.log</string>
<key>StandardOutPath</key>
<string>/var/log/pf.log</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment