Code Monkey home page Code Monkey logo

openvz-mo-gai-tun-tap's Introduction

OpenVZ 魔改 BBR - lkl-rinetd 一键脚本 1.1.0版本 开始使用 要求以下:

OpenVZ 64 bit Ram >> 64M 更新: 2018-03-24 新增 多网卡 适配

Debian or Ubuntu 适用于 单网卡(单 IP) 服务器:

wget https://raw.githubusercontent.com/ouba1/OpenVZ-mo-gai-tun-tap/master/tcp_nanqinlang-rinetd-debianorubuntu.sh
``` bash
bash tcp_nanqinlang-rinetd-debianorubuntu.sh

适用于 多网卡(多 IP) 服务器,会为所有网卡(所有 IP)提供加速:
wget https://raw.githubusercontent.com/ouba1/OpenVZ-mo-gai-tun-tap/master/tcp_nanqinlang-rinetd-debianorubuntu-multiNIC.sh
bash tcp_nanqinlang-rinetd-debianorubuntu-multiNIC.sh

CentOS 7
和上面一样,也分 单网卡 和 多网卡 版本:
# 单网卡
wget https://raw.githubusercontent.com/ouba1/OpenVZ-mo-gai-tun-tap/master/tcp_nanqinlang-rinetd-centos.sh
bash tcp_nanqinlang-rinetd-centos.sh

# 多网卡
wget https://raw.githubusercontent.com/ouba1/OpenVZ-mo-gai-tun-tap/master/tcp_nanqinlang-rinetd-centos-multiNIC.sh
bash tcp_nanqinlang-rinetd-centos-multiNIC.sh

使用说明
以下进行脚本使用说明:

安装 lkl-rinetd
此命令用于安装 lkl-rinetd。

在 /home/tcp_nanqinlang 进行安装,所以安装完成后不要动这个文件夹了(除非你想修改端口)。

安装过程中,会提示输入端口号。多个端口号用空格隔开。不支持端口段。

安装完成后,会开启 lkl-rinetd。以后重启机器也会随开机自启。

使用前请注意自己的 iptables 相关设置。

检查 lkl-rinetd 运行状态
此命令用于检查 lkl-rinetd 运行与否,可通过返回的提示判断。

卸载 lkl-rinetd
运行此命令会删除 /home/tcp_nanqinlang 、移除 rc.local 对应开机自启项和清空 iptables raw 表。属于完整卸载,不会有残留。且卸载后无需重启。

openvz-mo-gai-tun-tap's People

Contributors

ouba1 avatar newbugger avatar nanqinlang avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.