Giter Club home page Giter Club logo

goquiet-shadowsocks-docker's Introduction

GoQuiet-shadowsocks-docker

A Docker image for Shadowsocks over GoQuiet

Docker Automated build

What is GoQuiet?

A shadowsocks plugin that obfuscates the traffic as normal HTTPS traffic and disguises the proxy server as a normal webserver.

The fundamental idea of obfuscating shadowsocks traffic as TLS traffic is not original. simple-obfs and ShadowsocksR's tls1.2_ticket_auth mode have shown this to be effective. This plugin has made improvements so that the goal of this plugin is to make indiscriminate blocking of HTTPS servers (or even IP ranges) with high traffic the only effective way of stopping people from using shadowsocks.

Beyond the benefit of bypassing the firewall, it can also cheat traffic restrictions imposed by ISP. See here.

Source: https://github.com/cbeuw/GoQuiet/

How to configure the server

GoQuiet works in two modes:

  1. Running as a shadowsocks plugin
  2. Standalone

Shadowsocks Plugin

docker run -d --restart=always \
    -e "SS_PORT=443" \
    -e "SS_PASSWORD=shadowsocks_123456" \
    -e "SS_METHOD=chacha20-ietf-poly1305" \
    -e "SS_TIMEOUT=600" \
    -e "GQ_WEBSERVER_ADDRESS=1.1.1.1:443" \
    -e "GQ_KEY=exampleconftest" \
    -e "GQ_FAST_OPEN=false" \
    -p 443:443 -p 443:443/udp --name goquiet-node-1 alibo/goquiet-shadowsocks-docker:server

Standalone

docker run -d --restart=always \
    -e "GQ_WEBSERVER_ADDRESS=1.1.1.1:443" \
    -e "GQ_KEY=exampleconftest" \
    -e "GQ_FAST_OPEN=false" \
    -e "GQ_SS_HOST=<shadowsocks-ip>" \
    -e "GQ_SS_PORT=8388" \
    -e "GQ_HOST=0.0.0.0" \
    -e "GQ_PORT=443" \
    -p 443:443 -p 443:443/udp --name goquiet-node-2 alibo/goquiet-shadowsocks-docker:server-standalone

You need a running instance of shadowsocks to redirect the traffic. You may want to use image imhang/shadowsocks-docker:

docker run -d --restart=always \
    -e "SS_PORT=8388" \
    -e "SS_PASSWORD=shadowsocks_123456" \
    -e "SS_METHOD=chacha20-ietf-poly1305" \
    -e "SS_TIMEOUT=600" \
    -p 8388:8388 -p 8388:8388/udp --name shadowsocks-node-1 imhang/shadowsocks-docker

Usage

Docker

Shadowsocks + GoQuiet as a plugin
docker run -d --restart=always \
    -e "GQ_SERVER_NAME=www.bing.com" \
    -e "GQ_KEY=exampleconftest" \
    -e "GQ_FAST_OPEN=false" \
    -e "GQ_BROWSER=chrome" \
    -e "GQ_TICKET_TIME_HINT=3600" \
    -e "SS_SERVER_ADDRESS=<server-ip>" \
    -e "SS_SERVER_PORT=443" \
    -e "SS_LOCAL_ADDRESS=0.0.0.0" \
    -e "SS_LOCAL_PORT=1080" \
    -e "SS_PASSWORD=shadowsocks_123456" \
    -e "SS_METHOD=chacha20-ietf-poly1305" \
    -e "SS_TIMEOUT=600" \
    -p 1080:1080 --name goquiet-client-plugin-node-1 alibo/goquiet-shadowsocks-docker:client
Standalone

Note: It doesn't work! Apparently he has removed my commit in this PR! cbeuw/GoQuiet#34

docker run -d --restart=always \
	-e "GQ_SERVER_NAME=www.bing.com" \
	-e "GQ_KEY=exampleconftest" \
	-e "GQ_FAST_OPEN=false" \
	-e "GQ_BROWSER=chrome" \
	-e "GQ_TICKET_TIME_HINT=3600" \
	-e "GQ_LOCAL_PORT=1984" \
	-e "GQ_SERVER_ADDRESS=127.0.0.1" \
	-e "GQ_SERVER_PORT=443" \
    -p 1984:1984 --name goquiet-client-standalone-node-1 alibo/goquiet-shadowsocks-docker:client-standalone

Windows

  1. Download the client from here
  2. See: https://github.com/cbeuw/GoQuiet/wiki/Instructions-for-Windows-Client-Users

Mac, Linux

  1. Download the client from here
  2. See: https://github.com/cbeuw/GoQuiet#usage

Android

  1. Download GoQuiet plugin for Shadowsocks Android Client:

https://github.com/cbeuw/GoQuiet-android/releases

Credits

License

MIT

goquiet-shadowsocks-docker's People

Contributors

alibo avatar

Watchers

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