Skip to content

Instantly share code, notes, and snippets.

@qti3e
Forked from ry/fix_macintosh_portrange.sh
Created May 16, 2018 23:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qti3e/093251603f1c84047c3b0f0d84f29e4c to your computer and use it in GitHub Desktop.
Save qti3e/093251603f1c84047c3b0f0d84f29e4c to your computer and use it in GitHub Desktop.
#sudo sysctl -w net.inet.ip.portrange.first=32768
sudo sysctl -w net.inet.ip.portrange.first=12000
sudo sysctl -w net.inet.tcp.msl=1000
sudo sysctl -w kern.maxfiles=1000000 kern.maxfilesperproc=1000000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment