You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
581 B
YAML

---
- name: Ensure forwarding of ipv4-packets is allowed
sysctl:
name: net.ipv4.ip_forward
value: '1'
state: present
- name: Ensure forwarding of ipv6-packets is allowed
sysctl:
name: net.ipv6.conf.all.forwarding
value: '1'
state: present
- name: Ensure reverse path filtering is disabled for v4
sysctl:
name: net.ipv4.conf.all.rp_filter
value: '0'
state: present
- name: Ensure default reverse path filtering is disabled for v4
sysctl:
name: net.ipv4.conf.all.rp_filter
value: '0'
state: present