|
|
@ -14,6 +14,9 @@ interface bb{{ hostvars[peer]['wireguard_bb_name'] }}
|
|
|
|
{% for peer in groups['fastd'] %}
|
|
|
|
{% for peer in groups['fastd'] %}
|
|
|
|
interface bb{{ hostvars[peer]['wireguard_bb_name'] }}
|
|
|
|
interface bb{{ hostvars[peer]['wireguard_bb_name'] }}
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{% for peer in wireguard_bb_peers|default([]) %}
|
|
|
|
|
|
|
|
interface bb{{ peer.name }}
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
# Global options you might want to set. There are many more, see the man page.
|
|
|
|
# Global options you might want to set. There are many more, see the man page.
|
|
|
@ -61,6 +64,7 @@ redistribute if {{ peer.name }} metric 128
|
|
|
|
# Only redistribute addresses from a given prefix, to avoid redistributing
|
|
|
|
# Only redistribute addresses from a given prefix, to avoid redistributing
|
|
|
|
# all local addresses
|
|
|
|
# all local addresses
|
|
|
|
redistribute ip 10.222.0.0/16 allow
|
|
|
|
redistribute ip 10.222.0.0/16 allow
|
|
|
|
redistribute ip 2001:470:cd45:FF00::/56 allow
|
|
|
|
redistribute ip 2a01:198:70a:ff::0/64 allow
|
|
|
|
|
|
|
|
redistribute ip 2001:470:cd45:ff00::/56 allow
|
|
|
|
redistribute ip 2a03:2260:1016::/48 allow
|
|
|
|
redistribute ip 2a03:2260:1016::/48 allow
|
|
|
|
redistribute local deny
|
|
|
|
redistribute local deny
|
|
|
|