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:
parent
e0a6ae3d4e
commit
59d0359b17
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue