Skip to content

1 cheat sheet quick setup

n5m edited this page Jun 30, 2019 · 3 revisions

The config file is not exactly succinct, so here is a brief copy + paste example that should give you a working proxy right away which does not log access (controlled via LogFile or Syslog params).


Allow 127.0.0.1

Allow 222.222.222.222

# put your IP here instead of ...222.. to be able to use the proxy yourself non-locally

Allow allowed_dyn_DNS_here.ddnss.org

#other users will see: 403 Access denied -- The administrator of this proxy has not configured it to service requests from your host.

Port 8080

#######ConnectPort 443

#######ConnectPort 9996

# With connectport you can allow for example IRC on 9996, without any ConnectPort line, all ports are allowed.

#######BasicAuth user222 password222

#if you want a password prompt

StatFile "/usr/local/share/tinyproxy/stats.html"

DefaultErrorFile "/usr/local/share/tinyproxy/default.html"

ViaProxyName "tinyproxy"

DisableViaHeader yes

User nobody

Group nogroup

LogLevel Info

MaxClients 100

MaxRequestsPerChild 0

MaxSpareServers 20

MinSpareServers 5

StartServers 10

Timeout 600

Clone this wiki locally