TMAegis
Aturan lainnya untuk linux

CIS-LINUX-3.2.1

Ensure IP forwarding is disabled

SedangLevel 1Otomatislinux

Deskripsi

The net.ipv4.ip_forward flag controls whether the system forwards packets. Disable it unless the host is a router.

Cara pemeriksaan

Metode audit: Perintah shell

shell
sysctl -n net.ipv4.ip_forward
Output yang diharapkan
0

Cara perbaikan

Metode perbaikan: Perintah shell

shell
sysctl -w net.ipv4.ip_forward=0

Properti

Sistem operasi
ubuntu-22.04, ubuntu-24.04, rocky-9
Tag
networksysctl
Referensi
CIS Ubuntu Linux / Rocky Linux Benchmarks - Ensure IP forwarding is disabled (verify section number for your release)

Periksa host ini

Jalankan ini pada mesin yang diizinkan untuk Anda audit. Pemindaian bersifat hanya baca.

shell
tmaegis scan --target linux