diff --git a/ext-peer.netdev.j2 b/ext-peer.netdev.j2 index 0db74f6..2847d4f 100644 --- a/ext-peer.netdev.j2 +++ b/ext-peer.netdev.j2 @@ -2,6 +2,9 @@ Name=dn42{{ item['remotename'] }} Kind=wireguard Description=DN42 peering with AS{{ item.asn }} @ {% if item.remotehost is defined %}{{ item.remotehost }}[{{ item.remoteip }}]:{{ item.remoteport }}{% else %}[{{ item.remoteip }}]:{{ item.remoteport }}{% endif %} +{% if mtu is defined %} +MTUBytes={{ mtu }} +{% endif %} [WireGuard] {% if item.keypath is defined %}