11 lines
176 B
Bash
11 lines
176 B
Bash
#!/bin/sh
|
|
cat > /tmp/3proxy.cfg << EOF
|
|
daemon
|
|
log /dev/stdout
|
|
auth strong
|
|
users ${PROXY_USER}:CL:${PROXY_PASS}
|
|
allow ${PROXY_USER}
|
|
socks -p1080
|
|
EOF
|
|
exec 3proxy /tmp/3proxy.cfg
|