Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ogxd/5675d74e01a490bb31f08c5489e752ad to your computer and use it in GitHub Desktop.
Save ogxd/5675d74e01a490bb31f08c5489e752ad to your computer and use it in GitHub Desktop.
sudo -i
dnctl pipe 1 config delay 300
echo "dummynet in proto {tcp,icmp} from any to any pipe 1" | pfctl -f -
pfctl -e
pfctl -f /etc/pf.conf
dnctl -q flush
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment