Skip to content

timkolotov/3proxy-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3proxy-docker

Lightweight docker image with tiny 3proxy server. This configuration doesn't have any restrictions on traffic.

Very simple usage

When USER and PASS are not specified, it will create a user with a random password. You will see the credentials in the logs.

docker pull timkolotov/3proxy-docker
docker run -d --restart always -p 1080:1080 -p 8080:8080 --name 3proxy timkolotov/3proxy-docker
docker logs 3proxy

Simple usage

Run a container with a specified user and password

docker run -d --restart always -p 1080:1080 -p 8080:8080 -e USER=userName -e PASS=secretPass --name 3proxy timkolotov/3proxy-docker

Multiple users

Before running a container, you must create a passwd file with 3proxy users. This file has the following format:

userName1:CL:secretPass1
userName2:CL:secretPass2
docker run -d --restart always -p 1080:1080 -p 8080:8080 -v /path_to/passwd:/etc/3proxy/passwd --name 3proxy timkolotov/3proxy-docker

Example docker-compose.yml

version: '2'

services:
  3proxy:
    image: timkolotov/3proxy-docker
    container_name: 3proxy
    restart: always
    environment:
      - HTTP_PORT=8080
      - SOCKS_PORT=1080
    volumes:
       - ./passwd:/etc/3proxy/passwd:ro
    ports:
      - "1080:1080"
      - "8080:8080"

Available environment variables

  • USER, PASS - preset USER with PASSword
  • HTTP_PORT - set port for http proxy. Default: 8080
  • SOCKS_PORT - set port for socks5 proxy. Default: 1080

About

Lightweight docker image with tiny 3proxy server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published