mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-02-14 20:31:57 +00:00
Increase glorytun TCP MTU
This commit is contained in:
parent
f8842fed75
commit
26a5ac29e4
2 changed files with 5 additions and 5 deletions
|
@ -8,7 +8,7 @@ MLVPN=${MLVPN:-no}
|
|||
OPENVPN=${OPENVPN:-no}
|
||||
INTERFACE=${INTERFACE:-$(ip -o -4 route show to default | awk '{print $5}' | tr -d "\n")}
|
||||
DEBIAN_VERSION=$(sed 's/\..*//' /etc/debian_version)
|
||||
KERNEL_VERSION="4.14.61-mptcp-ab19444"
|
||||
KERNEL_VERSION="4.14.64-mptcp-16e8846"
|
||||
|
||||
set -e
|
||||
umask 0022
|
||||
|
@ -258,9 +258,9 @@ fi
|
|||
|
||||
# Add OpenMPTCProuter VPS script version to /etc/motd
|
||||
if grep --quiet 'OpenMPTCProuter VPS' /etc/motd; then
|
||||
sed -i 's:< OpenMPTCProuter VPS [0-9]*\.[0-9]* >:< OpenMPCTProuter VPS 0.46 >:' /etc/motd
|
||||
sed -i 's:< OpenMPTCProuter VPS [0-9]*\.[0-9]* >:< OpenMPCTProuter VPS 0.48 >:' /etc/motd
|
||||
else
|
||||
echo '< OpenMPTCProuter VPS 0.46 >' >> /etc/motd
|
||||
echo '< OpenMPTCProuter VPS 0.48 >' >> /etc/motd
|
||||
fi
|
||||
|
||||
if [ "$update" = "0" ]; then
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
[Match]
|
||||
Name=gt-*
|
||||
Name=gt-tun*
|
||||
|
||||
[Link]
|
||||
MTUBytes=1400
|
||||
MTUBytes=1500
|
||||
|
||||
[Network]
|
||||
Description=Glorytun server device
|
||||
|
|
Loading…
Reference in a new issue