bootstrap-rocky-8/disable-rp-filter.sh
2024-08-27 09:44:36 +03:00

4 lines
93 B
Bash
Executable File

#!/usr/bin/env bash
sysctl -a|grep \.rp_filter|gawk '{print $1}' |xargs -I{} sysctl -w {}=0