Merge pull request #1545 from qianyu-wang/patch-1

fix: add localnet to proxychains config
This commit is contained in:
Yifei Zhang 2023-05-17 01:57:50 +08:00 committed by GitHub
commit 086effa6cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,6 +50,8 @@ CMD if [ -n "$PROXY_URL" ]; then \
echo "remote_dns_subnet 224" >> $conf; \
echo "tcp_read_time_out 15000" >> $conf; \
echo "tcp_connect_time_out 8000" >> $conf; \
echo "localnet 127.0.0.0/255.0.0.0" >> $conf; \
echo "localnet ::1/128" >> $conf; \
echo "[ProxyList]" >> $conf; \
echo "$protocol $host $port" >> $conf; \
cat /etc/proxychains.conf; \