1. ssr安装
yum -y install git
yum -y install gcc-c++ autoconf libtool automake make
yum -y install gettext asciidoc xmlto c-ares-devel libev-devel pcre-devel
yum -y install mbedtls mbedtls-devel libsodium libsodium-devel
git clone https://github.com/brinkqiang/ssr.git
pushd ssr
git submodule update --init --recursive
sudo libtoolize && sudo aclocal && sudo autoheader && sudo autoconf && sudo automake --add-missing
sh configure
make
make install
popd
vim /etc/rc.d/rc.local
ss-server -s 0.0.0.0 -p -k -u -m chacha20 &
2. rinetd安装
yum -y install gettext gcc autoconf libtool automake make asciidoc xmlto c-ares-devel libev-devel
git clone https://github.com/brinkqiang/dmrinetd.git
pushd dmrinetd
sudo libtoolize && sudo aclocal && sudo autoheader && sudo autoconf && sudo automake --add-missing
sh configure
make
make install
popd
vim /etc/rc.d/rc.local
rinetd -c /usr/local/etc/rinetd.conf &
vim /usr/local/etc/rinetd.conf