ansible/roles/sysctl-forwarding/templates/sysctl.d/10-forwarding.conf.j2

13 lines
353 B
Django/Jinja

{{ ansible_header | comment }}
# Enable packet forwarding for IPv4
net.ipv4.ip_forward=1
# Enable packet forwarding for IPv6
# Enabling this option disables Stateless Address Autoconfiguration
# based on Router Advertisements for this host
net.ipv6.conf.all.forwarding=1
# Enable more routes for IPv6, default is 4096
net.ipv6.route.max_size=50000