Explanation coming soon.
Created
July 21, 2012 01:33
-
-
Save mbbx6spp/3154170 to your computer and use it in GitHub Desktop.
Ephemeral port range on OS X
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
net.inet.ip.portrange.first=32768 | |
net.inet.ip.portrange.hifirst=32768 | |
net.inet.tcp.msl=1000 | |
# for postgresql | |
kern.sysv.shmall=65536 | |
kern.sysv.shmmax=16777216 | |
# defaults | |
net.inet.ip.portrange.lowfirst=1023 | |
net.inet.ip.portrange.lowlast=600 | |
net.inet.ip.portrange.last=65535 | |
net.inet.ip.portrange.hilast=65535 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo sysctl -w net.inet.ip.portrange.first=32768 | |
sudo sysctl -w net.inet.ip.portrange.hifirst=32768 | |
sudo sysctl -w net.inet.tcp.msl=1000 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment