GithubHelp home page GithubHelp logo

vpn's Introduction

vpn

安装

以root用户运行以下命令,一行一行的粘贴进去即可:

wget --no-check-certificate -O shadowsocks-all.sh https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-all.sh
chmod +x shadowsocks-all.sh
./shadowsocks-all.sh 2>&1 | tee shadowsocks-all.log

修改配置 vi /etc/shadowsocks-python/config.json

按i粘贴以下配置(原有内容需要删除)

{
"server":"0.0.0.0",
"local_address":"127.0.0.1",
"local_port":1080,
"port_password":{
"7788":"password0",
"7789":"password1",
"7790":"password2"
},
"timeout":300,
"method":"aes-256-cfb",
"fast_open": false
}

7788、7789、7790为你要设置的端口号,后面是每个端口号对应的密码,设置端口号的时候不要有冲突端口就好。

timeout:超时时长,这里默认300。

注意:如果新添加端口和密码,格式要和给出的示例保持一致,最后一个端口和密码后面没有逗号

最后要记得重启下shadowsocks

常用命令

start 启动 stop 停止 restart 重启 status 状态

Shadowsocks-libev 版:

/etc/init.d/shadowsocks-libev start
/etc/init.d/shadowsocks-libev stop
/etc/init.d/shadowsocks-libev restart
/etc/init.d/shadowsocks-libev status

Shadowsocks-Python 版:

/etc/init.d/shadowsocks-python start
/etc/init.d/shadowsocks-python stop
/etc/init.d/shadowsocks-python restart
/etc/init.d/shadowsocks-python status

ShadowsocksR 版:

/etc/init.d/shadowsocks-r start
/etc/init.d/shadowsocks-r stop
/etc/init.d/shadowsocks-r restart
/etc/init.d/shadowsocks-r status

Shadowsocks-Go 版:

/etc/init.d/shadowsocks-go start
/etc/init.d/shadowsocks-go stop
/etc/init.d/shadowsocks-go restart
/etc/init.d/shadowsocks-go status

如何卸载 运行如下命令,根据提示,选择对应版本卸载 ./shadowsocks-all.sh uninstall

BBR加速

使用root用户登录,运行以下命令: wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh && chmod +x bbr.sh && ./bbr.sh 安装完成后,脚本会提示需要重启 VPS,输入 y 并回车后重启。

shawdrock 下载

链接: https://pan.baidu.com/s/1KWeYTlpUZ5Y50hmFTRXnLQ 提取码: 58i8 --来自百度网盘超级会员v5的分享

vpn's People

Contributors

boringsnail 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.