net.ipv4.ip_forward=1 net.ipv4.conf.all.rp_filter=0 net.ipv4.conf.default.rp_filter=0 {% for interface in ansible_interfaces | default([]) if interface not in ['lo', 'br-main-vpn', 'tap0'] %} net.ipv4.conf.{{ interface }}.rp_filter=0 {% endfor %}