summaryrefslogtreecommitdiffstats
path: root/roles/gateway/templates/99-gateway.conf.j2
blob: b0f99dd45cc75e168b6811b08f0b291503f23e25 (plain) (blame)
1
2
3
4
5
6
7
8
{% if gateway_enabled %}
net.ipv4.ip_forward=1
net.ipv6.conf.all.forwarding=1
net.ipv6.conf.{{ gateway_router_interface }}.accept_ra=2
{% else %}
net.ipv4.ip_forward=0
net.ipv6.conf.all.forwarding=0
{% endif %}