kalaksi / docker-tinyproxy

Docker container for Tinyproxy
MIT License
65 stars 24 forks source link

Multiple IPs for env ALLOWED_NETWORKS #1

Closed asalisaf closed 4 years ago

asalisaf commented 4 years ago

Hello, Is there a way to pass multiple IP addresses using ALLOWED_NETWORKS environment variable?

kalaksi commented 4 years ago

Hi, yes there is. Just separate the IPs or networks by space. It's mentioned in a comment in the Dockerfile.

Ratte443 commented 4 months ago

how its possible to use basic auth, with set allowed_networks to all?

kalaksi commented 4 months ago

@Ratte443 just don't set ALLOWED_NETWORKS at all? By default, tinyproxy allows all unless you set Allow or Deny (https://linux.die.net/man/5/tinyproxy.conf search for "allow,"). I'll add a comment in the example docker-compose.yml since may not be obvious.