ansible-ffibk/roles/service-fastd-mesh/templates/fastd-mesh.conf.j2
Tobias Hachmer 94cb21daad Add a bunch of new roles
- Update Readme
- Update ansible.cfg
- Add playbook to set up gateways
- Add group variables
2017-09-11 23:21:44 +02:00

30 lines
655 B
Django/Jinja

#
# {{ ansible_managed }}
#
log level warn;
hide ip addresses yes;
hide mac addresses yes;
method "salsa2012+umac";
interface "{{ item.key }}VPN";
bind {{ ansible_default_ipv4.address | ipaddr('public') }}:100{{ item.value.site_number }};
bind {{ ansible_default_ipv6.address | ipaddr('public') | ipwrap }}:100{{ item.value.site_number }};
include "secret.conf";
mtu 1406;
peer group "vpn_nodes" {
peer limit 150;
include peers from "peers";
{% if item.key == "mz" %}
include peers from "peers_bingen";
{% endif %}
}
peer group "servers" {
include peers from "peers/servers";
}
status socket "/var/run/fastd-{{ item.key }}.status";