07eda681ca
- remove on-up|on-down stanzas from fastd.conf - update readme
23 lines
613 B
Django/Jinja
23 lines
613 B
Django/Jinja
#
|
|
# {{ ansible_managed }}
|
|
#
|
|
log level warn;
|
|
hide ip addresses yes;
|
|
hide mac addresses yes;
|
|
|
|
method "aes128-ctr+umac";
|
|
|
|
interface "{{ item.0.id }}igvpn-{{ item.1.mtu }}";
|
|
|
|
bind {{ ansible_default_ipv4.address | ipaddr('public') }}:11{{ item.1.id }}{{ item.0.site_number }};
|
|
bind {{ ansible_default_ipv6.address | ipaddr('public') | ipwrap }}:11{{ item.1.id }}{{ item.0.site_number }};
|
|
|
|
include "secret.conf";
|
|
mtu {{ item.1.mtu }};
|
|
|
|
peer group "servers" {
|
|
include peers from "peers/gates";
|
|
include peers from "peers/services";
|
|
}
|
|
|
|
status socket "/var/run/fastd-{{ item.0.id }}igvpn-{{ item.1.mtu }}.status";
|