Linux distributions
CIS-LINUX-3.2.1
Ensure IP forwarding is disabled
OrtaDüzey 1Otomatiklinux
Açıklama
The net.ipv4.ip_forward flag controls whether the system forwards packets. Disable it unless the host is a router.
Nasıl denetlenir
Denetim yöntemi: Kabuk komutu
shell
sysctl -n net.ipv4.ip_forward- Beklenen çıktı
0
Nasıl düzeltilir
Düzeltme yöntemi: Kabuk komutu
shell
sysctl -w net.ipv4.ip_forward=0Özellikler
- İşletim sistemleri
- ubuntu-22.04, ubuntu-24.04, rocky-9
- Etiketler
- networksysctl
- Referans
- CIS Ubuntu Linux / Rocky Linux Benchmarks - Ensure IP forwarding is disabled (verify section number for your release)
Bu ana makineyi denetle
Bunu denetleme izniniz olan bir makinede çalıştırın. Tarama salt okunurdur.
shell
tmaegis scan --target linux