ananclub / ss5

A lightweight Go SOCKS5 proxy-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Pulls Build Status

Docker image usage

  • You can start Docker container with the following command (make sure to replace <USER> and <PASSWORD> placeholders with your own credentials).
  • if <USER> not set then ss5 server NoAuthAuthenticator.
  • if <LISTEN> not set then listen 127.0.0.1:1080
docker run -d --name ss5 --network=host -e USER=<USER> -e PASSWORD=<PASSWORD> -e LISTEN=<LISTEN ADRR> ananclub/ss5

Build

The following command will perform a build of a static binary for Linux. The result of this build can be used by a scratch Docker image. This reduces container size drastically.

CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o server .

Special thanks

About

A lightweight Go SOCKS5 proxy-server

License:MIT License


Languages

Language:Go 53.7%Language:Shell 38.7%Language:Makefile 7.6%