mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-03-09 15:50:00 +00:00
Take noencrypt patch for shadowsocks 3.1.3, set glorytun tcp mtu to 1280
This commit is contained in:
parent
e6bdcb066f
commit
60ae582a8e
2 changed files with 4 additions and 1 deletions
|
@ -44,7 +44,7 @@ wget -O /tmp/shadowsocks-libev-3.1.3.tar.gz http://github.com/shadowsocks/shadow
|
||||||
cd /tmp
|
cd /tmp
|
||||||
tar xzf shadowsocks-libev-3.1.3.tar.gz
|
tar xzf shadowsocks-libev-3.1.3.tar.gz
|
||||||
cd shadowsocks-libev-3.1.3
|
cd shadowsocks-libev-3.1.3
|
||||||
wget http://github.com/Ysurac/openmptcprouter-feeds/raw/master/shadowsocks-libev/patches/020-NOCRYPTO.patch
|
wget https://github.com/Ysurac/openmptcprouter-feeds/raw/5b2caab3f98cc14e6b5fdb80a95fcd1ac61630ff/shadowsocks-libev/patches/020-NOCRYPTO.patch
|
||||||
patch -p1 < 020-NOCRYPTO.patch
|
patch -p1 < 020-NOCRYPTO.patch
|
||||||
apt-get -y install --no-install-recommends devscripts equivs apg libcap2-bin libpam-cap
|
apt-get -y install --no-install-recommends devscripts equivs apg libcap2-bin libpam-cap
|
||||||
apt -y -t stretch-backports install libsodium-dev
|
apt -y -t stretch-backports install libsodium-dev
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
[Match]
|
[Match]
|
||||||
Name=gt-*
|
Name=gt-*
|
||||||
|
|
||||||
|
[Link]
|
||||||
|
MTUBytes=1280
|
||||||
|
|
||||||
[Network]
|
[Network]
|
||||||
Description=Glorytun server device
|
Description=Glorytun server device
|
||||||
Address=0.0.0.0/24
|
Address=0.0.0.0/24
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue