Linux distributions
CIS-LINUX-3.2.1
Ensure IP forwarding is disabled
보통레벨 1자동linux
설명
The net.ipv4.ip_forward flag controls whether the system forwards packets. Disable it unless the host is a router.
점검 방법
감사 방식: 셸 명령
shell
sysctl -n net.ipv4.ip_forward- 예상 출력
0
조치 방법
조치 방식: 셸 명령
shell
sysctl -w net.ipv4.ip_forward=0속성
- 운영 체제
- ubuntu-22.04, ubuntu-24.04, rocky-9
- 태그
- networksysctl
- 참고 자료
- CIS Ubuntu Linux / Rocky Linux Benchmarks - Ensure IP forwarding is disabled (verify section number for your release)
이 호스트 점검하기
감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.
shell
tmaegis scan --target linux