mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
34 lines
441 B
Text
34 lines
441 B
Text
#!/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
|
|
|
|
|