mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 18:42:14 +08:00
14 lines
224 B
Plaintext
14 lines
224 B
Plaintext
#
|
|
# Kernel sysctl configuration
|
|
#
|
|
|
|
# Disable packet forwarding
|
|
net.ipv4.ip_forward=0
|
|
|
|
# Disable the magic-sysrq key (console security issues)
|
|
kernel.sysrq = 0
|
|
|
|
# Enable TCP SYN Cookie Protection
|
|
net.ipv4.tcp_syncookies = 1
|
|
|