-
-
Notifications
You must be signed in to change notification settings - Fork 275
Home
Ycarus edited this page Feb 6, 2018
·
44 revisions
It's in alpha state, documentation is not finished yet.
OpenMPTCProuter use MultiPath TCP to aggregate multiple Internet connections and OpenWrt.
The image can be installed on x86_64 with UEFI and Raspberry PI 3. A VPS is also needed.
You can download precompiled images from https://www.openmptcprouter.com/
Download the image, then copy it to a sdcard:
gunzip omr-*.img.gz
dd bs=4M if=omr-*.img of=/dev/sdX conv=fsync
You need to have a MPTCP kernel and shadowsocks-libev installed on the VPS.
sudo apt-get install apt-get install dirmngr
sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 379CE192D401AB61
sudo echo 'deb http://dl.bintray.com/cpaasch/deb jessie main' >> /etc/apt/sources.list
sudo apt-get update
sudo apt-get install linux-mptcp
sudo sh -c 'printf "deb http://deb.debian.org/debian stretch-backports main" > /etc/apt/sources.list.d/stretch-backports.list'
sudo apt update
sudo apt -t stretch-backports install shadowsocks-libev
In /etc/shadowsocks-libev:
{
"server":["[::0]", "0.0.0.0"],
"server_port":65101,
"local_port":1081,
"password":"MySecretPassword",
"timeout":120,
"method":"aes-256-cfb",
"verbose":2,
"prefer_ipv6": true,
"fast_open": true
}
To optimize shadowsocks:
cd /etc/sysctl.d/
sudo wget https://www.openmptcprouter.com/server/shadowsocks.conf
sudo sysctl --system
systemctl start [email protected]