Skip to content
Snippets Groups Projects

Fix MTU of wireguard interface on DS-Lite

Merged Niklas requested to merge nm-fix-wg-mtu into master
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
@@ -302,6 +302,7 @@ case "$1" in
secret_file="/tmp/wg.pki"
echo $secret > $secret_file
ip link add $tbbwg_ifname type wireguard
ip link set $tbbwg_ifname mtu 1320
ip addr add "$local_wg_ip/32" dev $tbbwg_ifname
wg set $tbbwg_ifname private-key $secret_file
Loading