mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-14 04:19:23 +01:00
7 lines
452 B
Plaintext
7 lines
452 B
Plaintext
|
# I mainly care about protecting 22/SSH, and don't see myself using ports
|
||
|
# below 80 (or 70 if Gopher fans around me get me around to it), the 1024
|
||
|
# unprivileged start is legacy that Windows and macOS have ended ages ago.
|
||
|
# Linux 4.11 April 2017, also works for IPv6
|
||
|
# https://stackoverflow.com/questions/413807/is-there-a-way-for-non-root-processes-to-bind-to-privileged-ports-on-linux#comment90027734_51439516
|
||
|
net.ipv4.ip_unprivileged_port_start=23
|