GithubHelp home page GithubHelp logo

iamtofr / docker-tinyproxy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from monokal/docker-tinyproxy

0.0 0.0 0.0 126 KB

A quick and easy to use Dockerised Tinyproxy with configurable ACL.

Home Page: https://hub.docker.com/repository/docker/monokal/tinyproxy

License: Other

Shell 97.71% Dockerfile 2.29%

docker-tinyproxy's Introduction

Docker Tinyproxy alt text

A quick and easy Dockerised Tinyproxy with configurable ACL.

Find it on GitHub.

Find it on DockerHub.

Usage


Running a new Tinyproxy container
Usage:
    docker run -d --name='tinyproxy' -p <Host_Port>:8888 --env BASIC_AUTH_USER=<username> --env BASIC_AUTH_PASSWORD=<password> --env TIMEOUT=<timeout> monokal/tinyproxy:latest <ACL>

        - Set <Host_Port> to the port you wish the proxy to be accessible from.
        - Set <ACL> to 'ANY' to allow unrestricted proxy access, or one or more space seperated IP/CIDR addresses for tighter security.
        - Basic auth is optional.
        - Timeout is optional.

    Examples:
        docker run -d --name='tinyproxy' -p 6666:8888 monokal/tinyproxy:latest ANY
        docker run -d --name='tinyproxy' -p 7777:8888 monokal/tinyproxy:latest 87.115.60.124
        docker run -d --name='tinyproxy' -p 8888:8888 monokal/tinyproxy:latest 10.103.0.100/24 192.168.1.22/16

Monitoring


Logs

docker logs -f tinyproxy will display a following tail of /var/log/tinyproxy/tinyproxy.log

Stats

Navigating to http://tinyproxy.stats/ while connected to the proxy will display the Tinyproxy Stats page.

Filtering

Any Tinyproxy filter setting such as FilterDefaultDeny can be set as an environment variable. You can map a filter file on the parent file system into the container for the proxy instance to use.

        docker run -d --name='tinyproxy' -p 6666:8888 -v ~/filter-on-parent.conf:/etc/tinyproxy/filter.conf  --env Filter="/etc/tinyproxy/filter.conf" --env FilterDefaultDeny=Yes  monokal/tinyproxy:latest ANY

Contribute


As always, contributions are appriciated. Simply open a Pull request.

docker-tinyproxy's People

Contributors

monokal avatar mcglow2 avatar captn3m0 avatar aleksanderllada avatar kerbaras avatar naorunaoru avatar silvio 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.