summaryrefslogtreecommitdiff
path: root/playbooks/roles/wireguard-mesh/templates
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/roles/wireguard-mesh/templates')
-rw-r--r--playbooks/roles/wireguard-mesh/templates/mmtmesh.conf.j23
1 files changed, 0 insertions, 3 deletions
diff --git a/playbooks/roles/wireguard-mesh/templates/mmtmesh.conf.j2 b/playbooks/roles/wireguard-mesh/templates/mmtmesh.conf.j2
index 634b20a..c206e2e 100644
--- a/playbooks/roles/wireguard-mesh/templates/mmtmesh.conf.j2
+++ b/playbooks/roles/wireguard-mesh/templates/mmtmesh.conf.j2
@@ -3,9 +3,6 @@ Address={{ wireguard_node_ips[inventory_hostname] }}/32
ListenPort={{ wireguard_listen_port }}
PrivateKey={{ wireguard_private_key.stdout }}
SaveConfig=true
-{% if wireguard_node_ips[inventory_hostname] != '10.212.0.1' %}
-PostUp=ip route add 10.137.0.0/16 via 10.212.0.1 dev mmtmesh
-{% endif %}
{% for peer in groups['wireguard-mesh'] %}
{% if peer != inventory_hostname %}