ansible/roles/ip_forward/templates/10-forward.conf.j2

8 lines
168 B
Django/Jinja

{{ ansible_managed | comment }}
# Enable IPv4 forwarding
net.ipv4.ip_forward=1
net.ipv4.conf.all.forwarding=1
# Enable IPv6 forwarding
net.ipv6.conf.all.forwarding=1