Giter Site home page Giter Site logo

wangxiaoke123 / shadowsocks_install Goto Github PK

View Code? Open in Web Editor NEW

This project forked from teddysun/shadowsocks_install

0.0 1.0 0.0 620 KB

秋水脚本 包括ssr Auto Install Shadowsocks Server for CentOS/Debian/Ubuntu

Home Page: https://shadowsocks.be

Dockerfile 3.02% Shell 96.98%

shadowsocks_install's Introduction

Shadowsocks

一键安装脚本 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

一键卸载脚本 ./shadowsocks-all.sh uninstall

使用命令:

启动:/etc/init.d/shadowsocks start

停止:/etc/init.d/shadowsocks stop

重启:/etc/init.d/shadowsocks restart

状态:/etc/init.d/shadowsocks status

进入配置界面命令:nano /etc/shadowsocks.json

ssr添加多个端口:我们需要分别删掉关于端口和密码的两行,然后另外加入一个port-password参数,参数中标明多个端口和对应的密码

"port_password":{

    "8686":"mimamima1",
    
    "8787":"mimamima2",
    
    "8888":"mimamima3"
    
},

Auto install Shadowsocks Server

shadowsocks.sh

shadowsocks-libev.sh

shadowsocks-libev-debian.sh

shadowsocks-go.sh

shadowsocks-crond.sh

shadowsocksR.sh

shadowsocks-all.sh

haproxy.sh

Copyright (C) 2014-2018 Teddysun

echo "http://域名:80 {

redir https://域名:666{url}

} https://域名:666 {

gzip

tls 邮箱@gmail.com

root /var/www/

redir  https://域名{uri} 301

}" > /usr/local/caddy/Caddyfile

修改配置文件:nano /etc/shadowsocks.json

1.“server_port”: 端口改为443

2."redirect":["*:443#127.0.0.1:666"],

shadowsocks_install's People

Contributors

coderholic avatar corerman avatar teddysun avatar wangxiaoke123 avatar

Watchers

 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.