35 lines
441 B
Plaintext
35 lines
441 B
Plaintext
#!/usr/bin/3proxy
|
|
|
|
# Sample config
|
|
|
|
daemon
|
|
pidfile /var/run/3proxy.pid
|
|
nscache 65536
|
|
nserver 127.0.0.1
|
|
|
|
monitor /etc/3proxy/3proxy.cfg
|
|
monitor /etc/3proxy/counters
|
|
monitor /etc/3proxy/passwd
|
|
monitor /etc/3proxy/bandlimiters
|
|
|
|
log /var/log/3proxy.log D
|
|
rotate 60
|
|
|
|
|
|
users $/etc/3proxy/passwd
|
|
|
|
include /etc/3proxy/counters
|
|
include /etc/3proxy/bandlimiters
|
|
|
|
auth strong
|
|
deny * * 127.0.0.1
|
|
allow *
|
|
proxy -n
|
|
socks
|
|
flush
|
|
allow admin
|
|
|
|
admin -p8080
|
|
|
|
|