From 0b0d300093adc87cbe31425e0aaf05c6bc9abb71 Mon Sep 17 00:00:00 2001 From: h <9pfs@amcforum.wiki> Date: Sun, 29 Dec 2024 23:18:07 -0800 Subject: [PATCH] Allow defining MTU for peerings --- ext-peer.netdev.j2 | 3 +++ 1 file changed, 3 insertions(+) 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 %}