本方法来自:https://www.91yun.co/archives/5345
UML
1、一键运行脚本:
Alpine linux 小内存版: UML 的系统是 Alpine linux ,需要 64M 内存启动,主机最低 128M 内存
1 |
wget -N --no-check-certificate <a href="https://raw.githubusercontent.com/91yun/uml/master/bbr/uml.sh">https://raw.githubusercontent.com/91yun/uml/master/bbr/uml.sh</a> && bash uml.sh |
Centos 版: UML 的系统是 CentOS ,需要 256M 内存启动,主机建议最低 512M 内存
1 |
wget -N --no-check-certificate <a href="https://raw.githubusercontent.com/91yun/uml/master/bbr/uml-centos.sh">https://raw.githubusercontent.com/91yun/uml/master/bbr/uml-centos.sh</a> && bash uml-centos.sh |
装完 ssr 和 bbr 就已经运行了,如果你不想改密码和端口的话就可以直接用。。默认配置在下面。。
2、进入 uml
screen -x 或者在目录下运行
bash run.sh status用户名: root , 密码: root
具体可见原文地址。
LKL(91yun)
原文地址:https://www.91yun.co/archives/6281
安装 LKL 一键包命令
1 |
wget --no-check-certificate <a href="https://github.com/91yun/uml/raw/master/lkl/install.sh">https://github.com/91yun/uml/raw/master/lkl/install.sh</a> && bash install.sh |
如何判断是否安装成功
ping 10.0.0.2
具体见原文地址
Rinetd
1、下载rintd二进制文件(原版bbr和修改版bbr二选一即可):
1 |
wget --no-check-certificate <a href="https://raw.githubusercontent.com/mixool/rinetd/master/rinetd">https://raw.githubusercontent.com/mixool/rinetd/master/rinetd</a> |
1 |
wget --no-check-certificate <a href="https://raw.githubusercontent.com/mixool/rinetd/master/rinetd_bbr_powered">https://raw.githubusercontent.com/mixool/rinetd/master/rinetd_bbr_powered</a> -O /root/rinetd |
2、修改权限:
1 |
chmod +x rinetd |
3、修改rinetd的配置文件rinetd.conf,添加监听地址:
1 2 3 4 5 6 7 |
vi rinetd.conf # bindadress bindport connectaddress connectport 0.0.0.0 443 0.0.0.0 443 0.0.0.0 80 0.0.0.0 80 |
4、设置开机启动
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
vi /etc/systemd/system/rinetd.service [Unit] Description=rinetd [Service] ExecStart=/root/rinetd -f -c /root/rinetd.conf raw venet0:0 Restart=always [Install] WantedBy=multi-user.target |
5、最后执行:
1 |
systemctl enable rinetd.service && systemctl start rinetd.service |
NanQinLang
Debian
1 |
wget <a href="https://github.com/tcp-nanqinlang/lkl-haproxy/releases/download/1.1.1/tcp_nanqinlang-haproxy-debian.sh">https://github.com/tcp-nanqinlang/lkl-haproxy/releases/download/1.1.1/tcp_nanqinlang-haproxy-debian.sh</a> |
1 |
bash tcp_nanqinlang-haproxy-debian.sh |
Centos
1 2 3 |
wget <a href="https://github.com/tcp-nanqinlang/lkl-haproxy/releases/download/1.1.1/tcp_nanqinlang-haproxy-centos.sh">https://github.com/tcp-nanqinlang/lkl-haproxy/releases/download/1.1.1/tcp_nanqinlang-haproxy-centos.sh</a> bash tcp_nanqinlang-haproxy-centos.sh |
原文地址:https://sometimesnaive.org/article/linux/bash/tcp_nanqinlang-lkl
NanQinLang—Rinetd
Debian 单网卡(单IP)
1 2 3 |
wget <a href="https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0/tcp_nanqinlang-rinetd-debianorubuntu.sh">https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0/tcp_nanqinlang-rinetd-debianorubuntu.sh</a> bash tcp_nanqinlang-rinetd-debianorubuntu.sh |
多IP
1 2 3 |
wget <a href="https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0/tcp_nanqinlang-rinetd-debianorubuntu-multiNIC.sh">https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0/tcp_nanqinlang-rinetd-debianorubuntu-multiNIC.sh</a> bash tcp_nanqinlang-rinetd-debianorubuntu-multiNIC.sh |
CentOS 单网卡
# 单网卡
1 2 3 |
wget <a href="https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0/tcp_nanqinlang-rinetd-centos.sh">https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0/tcp_nanqinlang-rinetd-centos.sh</a> bash tcp_nanqinlang-rinetd-centos.sh |
# 多网卡
1 2 3 |
wget <a href="https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0/tcp_nanqinlang-rinetd-centos-multiNIC.sh">https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0/tcp_nanqinlang-rinetd-centos-multiNIC.sh</a> bash tcp_nanqinlang-rinetd-centos-multiNIC.sh |
除特别注明外,本站所有文章均为LJY IT BLOG原创,转载请注明出处来自https://www.ljy2345.com/6330.html
暂无评论