Skip to content

Instantly share code, notes, and snippets.

@tovbinm
Created September 21, 2012 21:23
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 tovbinm/3763987 to your computer and use it in GitHub Desktop.
Save tovbinm/3763987 to your computer and use it in GitHub Desktop.
MacOSX port tweaks
sudo vim /etc/sysctl.conf
#Increase ephemeral port range
net.inet.ip.portrange.first=32768
#Decrease closing timeout
net.inet.tcp.msl=1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment