Skip to content

Instantly share code, notes, and snippets.

@johnhpatton
Last active January 12, 2020 22:39
Show Gist options
  • Save johnhpatton/04c257f0f13e0ade472a1a0fda2ec57d to your computer and use it in GitHub Desktop.
Save johnhpatton/04c257f0f13e0ade472a1a0fda2ec57d to your computer and use it in GitHub Desktop.
Kernel Config
# Ephemeral Port Range
# Reverse proxy connections will use these ports for the client
# sockets. If the server experiences port exhaustion, upstream
# connections may need to be limited or a new reverse proxy host
# may be needed.
# NOTES
# - Do not operate any application listeners within this range.
# RECOMMENDATION
# - Set if experiencing ephemeral port exhaustion on client
# connections.
# - Consider a range that's easy to remember, like 10000-65535.
# SEE ALSO
# - none
net.ipv4.ip_local_port_range = 10000 65535
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment