ip_spoofing removal

This commit is contained in:
Alexander Kazantsev 2026-05-15 15:52:05 +03:00
parent 6c4718c630
commit e8fb4245d1
2 changed files with 0 additions and 20 deletions

View file

@ -1,17 +0,0 @@
---
# Активируем защиту от IP-спуфинга.
- ansible.posix.sysctl:
name: net.ipv4.conf.default.rp_filter
value: 1
state: present
sysctl_file: /etc/sysctl.d/ip_spoofing.conf
- ansible.posix.sysctl:
name: net.ipv4.conf.all.rp_filter
value: 1
state: present
sysctl_file: /etc/sysctl.d/ip_spoofing.conf
- ansible.posix.sysctl:
name: net.ipv4.conf.lo.rp_filter
value: 1
state: present
sysctl_file: /etc/sysctl.d/ip_spoofing.conf

View file

@ -5,9 +5,6 @@
- name: TCP/UDP Tuning
ansible.builtin.include_tasks: tcp_tune.yml
- name: IP ip_spoofing
ansible.builtin.include_tasks: ip_spoofing.yml
- name: IP Forwarding
ansible.builtin.include_tasks: ip_forward.yml