Role service-rclocal: fix wrong interface

This commit is contained in:
Tobias Hachmer 2017-10-04 01:02:15 +02:00
parent 98e1b60e00
commit b46be69a26

View file

@ -73,13 +73,13 @@ ip -4 rule add from all iif {{ mesh_id }}BR type unreachable priority 61
ip -6 rule add from all iif {{ mesh_id }}BR type unreachable priority 61 ip -6 rule add from all iif {{ mesh_id }}BR type unreachable priority 61
{% endfor %} {% endfor %}
ip -4 rule add from all iif icVPN type unreachable priority 61 ip -4 rule add from all iif icVPN type unreachable priority 61
ip -4 rule add from all iif eth0 type unreachable priority 61 ip -4 rule add from all iif {{ ansible_default_ipv4.interface }} type unreachable priority 61
{% for server_id, server_value in ffrl_exit_server.iteritems() %} {% for server_id, server_value in ffrl_exit_server.iteritems() %}
ip -4 rule add from all iif {{ server_id }} type unreachable priority 61 ip -4 rule add from all iif {{ server_id }} type unreachable priority 61
ip -6 rule add from all iif {{ server_id }} type unreachable priority 61 ip -6 rule add from all iif {{ server_id }} type unreachable priority 61
{% endfor %} {% endfor %}
ip -6 rule add from all iif icVPN type unreachable priority 61 ip -6 rule add from all iif icVPN type unreachable priority 61
ip -6 rule add from all iif eth0 type unreachable priority 61 ip -6 rule add from all iif {{ ansible_default_ipv6.interface }} type unreachable priority 61
{% for mesh_id, mesh_value in meshes.iteritems() %} {% for mesh_id, mesh_value in meshes.iteritems() %}
{% for public in mesh_value.ipv6.public %} {% for public in mesh_value.ipv6.public %}
ip -6 rule add from {{ public }} type unreachable priority 61 ip -6 rule add from {{ public }} type unreachable priority 61