1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-03-09 15:50:00 +00:00

Increase glorytun TCP MTU

This commit is contained in:
Ycarus (Yannick Chabanois) 2018-09-02 17:51:27 +00:00
parent f8842fed75
commit 26a5ac29e4
2 changed files with 5 additions and 5 deletions

View file

@ -8,7 +8,7 @@ MLVPN=${MLVPN:-no}
OPENVPN=${OPENVPN:-no} OPENVPN=${OPENVPN:-no}
INTERFACE=${INTERFACE:-$(ip -o -4 route show to default | awk '{print $5}' | tr -d "\n")} INTERFACE=${INTERFACE:-$(ip -o -4 route show to default | awk '{print $5}' | tr -d "\n")}
DEBIAN_VERSION=$(sed 's/\..*//' /etc/debian_version) DEBIAN_VERSION=$(sed 's/\..*//' /etc/debian_version)
KERNEL_VERSION="4.14.61-mptcp-ab19444" KERNEL_VERSION="4.14.64-mptcp-16e8846"
set -e set -e
umask 0022 umask 0022
@ -258,9 +258,9 @@ fi
# Add OpenMPTCProuter VPS script version to /etc/motd # Add OpenMPTCProuter VPS script version to /etc/motd
if grep --quiet 'OpenMPTCProuter VPS' /etc/motd; then 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 else
echo '< OpenMPTCProuter VPS 0.46 >' >> /etc/motd echo '< OpenMPTCProuter VPS 0.48 >' >> /etc/motd
fi fi
if [ "$update" = "0" ]; then if [ "$update" = "0" ]; then

View file

@ -1,8 +1,8 @@
[Match] [Match]
Name=gt-* Name=gt-tun*
[Link] [Link]
MTUBytes=1400 MTUBytes=1500
[Network] [Network]
Description=Glorytun server device Description=Glorytun server device