diff --git a/debian9-x86_64.sh b/debian9-x86_64.sh index 4bd665e..3e62dd0 100644 --- a/debian9-x86_64.sh +++ b/debian9-x86_64.sh @@ -30,21 +30,21 @@ apt-get -y install dirmngr patch #echo 'deb http://dl.bintray.com/cpaasch/deb jessie main' >> /etc/apt/sources.list echo 'deb http://deb.debian.org/debian stretch-backports main' > /etc/apt/sources.list.d/stretch-backports.list apt-get update -wget -O /tmp/linux-image-4.14.41-mptcp-80b661f.amd64.deb https://www.openmptcprouter.com/kernel/linux-image-4.14.41-mptcp-80b661f.amd64.deb -wget -O /tmp/linux-headers-4.14.41-mptcp-80b661f.amd64.deb https://www.openmptcprouter.com/kernel/linux-headers-4.14.41-mptcp-80b661f.amd64.deb +wget -O /tmp/linux-image-4.14.61-mptcp-80b661f.amd64.deb https://www.openmptcprouter.com/kernel/linux-image-4.14.61-mptcp-80b661f.amd64.deb +wget -O /tmp/linux-headers-4.14.61-mptcp-80b661f.amd64.deb https://www.openmptcprouter.com/kernel/linux-headers-4.14.61-mptcp-80b661f.amd64.deb # Rename bzImage to vmlinuz, needed when custom kernel was used cd /boot apt-get -y install rename rename 's/^bzImage/vmlinuz/s' * >/dev/null 2>&1 #apt-get -y install linux-mptcp -dpkg -E -i /tmp/linux-image-4.14.41-mptcp-80b661f.amd64.deb -dpkg -E -i /tmp/linux-headers-4.14.41-mptcp-80b661f.amd64.deb +dpkg -E -i /tmp/linux-image-4.14.61-mptcp-80b661f.amd64.deb +dpkg -E -i /tmp/linux-headers-4.14.61-mptcp-80b661f.amd64.deb # Check if mptcp kernel is grub default kernel echo "Set MPTCP kernel as grub default..." wget -O /tmp/update-grub.sh https://www.openmptcprouter.com/server/update-grub.sh cd /tmp -bash update-grub.sh 4.14.41-mptcp-80b661f +bash update-grub.sh 4.14.61-mptcp-80b661f #apt -t stretch-backports -y install shadowsocks-libev ## Compile Shadowsocks @@ -257,9 +257,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.43 >:' /etc/motd + sed -i 's:< OpenMPTCProuter VPS [0-9]*\.[0-9]* >:< OpenMPCTProuter VPS 0.45 >:' /etc/motd else - echo '< OpenMPTCProuter VPS 0.43 >' >> /etc/motd + echo '< OpenMPTCProuter VPS 0.45 >' >> /etc/motd fi if [ "$update" = "0" ]; then diff --git a/openvpn-tun0.conf b/openvpn-tun0.conf index fa7253a..228e5c1 100644 --- a/openvpn-tun0.conf +++ b/openvpn-tun0.conf @@ -1,7 +1,6 @@ dev tun secret /etc/openvpn/server/static.key cipher AES-256-CBC -compress lz4 proto tcp-server port 65301 persist-tun diff --git a/tun0.glorytun b/tun0.glorytun index d09e345..c0322c4 100644 --- a/tun0.glorytun +++ b/tun0.glorytun @@ -3,4 +3,4 @@ DEV=tun0 SERVER=true MPTCP=true IPV6=true -OPTIONS="chacha20 multiqueue keepalive" \ No newline at end of file +OPTIONS="chacha20 retry count -1 const 500000 timeout 40000 keepalive count 5 idle 60 interval 2" \ No newline at end of file