Skip to content

Instantly share code, notes, and snippets.

@DastanIqbal
Created October 28, 2017 07:56
Show Gist options
  • Save DastanIqbal/fc754e34a4d0d840188eeae2b1e554bc to your computer and use it in GitHub Desktop.
Save DastanIqbal/fc754e34a4d0d840188eeae2b1e554bc to your computer and use it in GitHub Desktop.
Increase TCP port range
#find current port range type
cat /proc/sys/net/ipv4/ip_local_port_range
su
#Set new local port range
echo 1024 65535 > /proc/sys/net/ipv4/ip_local_port_range
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment