Giter Site home page Giter Site logo

gost.sh's Introduction

一键脚本安装方法:

快速使用(不保存gost.sh脚本)
bash <(curl -sL https://sh.334433.xyz/gost.sh)

国内使用
curl -o gost.sh -L https://sh.334433.xyz/gost.sh && bash gost.sh
或者
curl -o gost.sh -L https://cdn.jsdelivr.net/gh/eicky/gost.sh/gost.sh && bash gost.sh

国外使用
curl -o gost.sh -L https://git.io/gost.sh && bash gost.sh

说明:目前还是1.0.1版本,仅可以安装最新版本的gost,配置文件在/etc/gost/config.json,运行文件在/usr/bin/gost,进程守护文件在/usr/lib/systemd/system/gost.service

使用说明:gost的配置文件需要自己编写,格式参考gost的官方文档,在安装完成后可以通过bash gost.sh来控制gost的启动停止重启状态也可通过systemctl start/stop/restart/status gost控制。安装前请确保wget已经安装,否则无法安装成功。

端口转发示例:

{
    "Debug": true,
    "Retries": 0,
    "ServeNodes": [
           "tcp://:111/1.1.1.1:443",
           "udp://:222/2.2.2.2:443"
    ]
}

改自:https://www.fiisi.com/gost/gost.sh

gost.sh's People

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.