GithubHelp home page GithubHelp logo

docker-warproxy's Introduction

docker-WARProxy

wgcf + wireproxy + python-proxy and some useful scripts

Usage

version: "3"
services:
  warproxy:
    container_name: docker-warproxy
    image: ghcr.io/105pm/docker-warproxy:latest
    network_mode: bridge
    restart: always
    volumes:
      - <path for config files>:/config
    ports:
      - ${PORT_TO_EXPOSE}:${PROXY_PORT:-8008}
    environment:
      - PGID=${PGID}
      - PUID=${PUID}
      - PROXY_USER=${PROXY_USER}
      - PROXY_PASS=${PROXY_PASS}

To change license key

Simply set env WGCF_LICENSE_KEY and re-create the existing container or the service using docker-compose up -d warproxy. See more details here

Please also note that there is a maximum limit of 5 active devices linked to the same account at a given time.

Direct connection to wireproxy

As wireproxy is binding to socks5://0.0.0.0:8080, you can directly access it independently to the proxy running at front by publishing your container port 8080. It is highly recommended exposing the port for internal use only.

Environment variables

Basic

ENV Description Default
PUID / PGID uid and gid for running apps 911 / 911
TZ timezone Asia/Seoul

wgcf

ENV Description Default
WGCF_LICENSE_KEY native support by wgcf for changing license key
WGCF_DEVICE_NAME directly passed to wgcf binary to update device name, i.e. wgcf update ${WGCF_DEVICE_NAME}

python-proxy

ENV Description Default
PROXY_ENABLED set false to disable proxy true
PROXY_USER / PROXY_PASS required both to activate proxy authentication
PROXY_PORT to run proxy in a different port 8008
PROXY_VERBOSE simple access logging
PROXY_AUTHTIME re-auth time interval for same ip (second in string format) 0

warp+

ENV Description Default
WARP_PLUS set true to enable auto WARP+ quota script false
WARP_PLUS_VERBOSE set true to run auto WARP+ quota script in verbose mode false

warp+ is unlikely to work with a license key generated by wgcf. To use warp+, you should get a valid license key from the 1.1.1.1 app and set it to the environment variable WGCF_LICENSE_KEY. If you don't, the service won't be able to start.

Thanks

docker-warproxy's People

Contributors

105pm avatar by275 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.