20 lines
523 B
Bash
20 lines
523 B
Bash
# Copy this file to .env and adjust the values:
|
|
# cp .env.sample .env
|
|
|
|
PROXY_PORT=1080
|
|
|
|
# Client credentials (leave empty to run without authentication)
|
|
PROXY_USER=socks5user
|
|
PROXY_PASSWORD=change-me-strong-password
|
|
|
|
# true = require authentication, false = allow anonymous connections
|
|
REQUIRE_AUTH=true
|
|
|
|
# Optional: comma-separated client IPs allowed to connect (empty = allow all)
|
|
ALLOWED_IPS=
|
|
|
|
# Optional: regex of destination FQDNs allowed through the proxy (empty = allow all)
|
|
ALLOWED_DEST_FQDN=
|
|
|
|
TZ=Asia/Shanghai
|