1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 18:41:51 +00:00

Fix OpenVPN MTU

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-11-05 14:37:44 +01:00
parent e0a6ae3d4e
commit 59d0359b17

View file

@ -61,7 +61,12 @@ if [ -z "$(uci -q get openvpn.omr.ping_restart)" ]; then
set openvpn.omr.ping_restart=60
commit openvpn
EOF
fi
if [ -z "$(uci -q get openvpn.omr.tun_mtu)" ]; then
uci -q batch <<-EOF >/dev/null
set openvpn.omr.tun_mtu=1420
commit openvpn
EOF
fi