feat: close #118 add stop all button

This commit is contained in:
Yidadaa
2023-04-16 18:07:43 +08:00
parent bd69c8f5dd
commit dc3883ed1a
9 changed files with 48 additions and 9 deletions

1
scripts/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
proxychains.conf

5
scripts/init-proxy.sh Normal file
View File

@@ -0,0 +1,5 @@
dir="$(dirname "$0")"
config=$dir/proxychains.conf
host_ip=$(grep nameserver /etc/resolv.conf | sed 's/nameserver //')
cp $dir/proxychains.template.conf $config
sed -i "\$s/.*/http $host_ip 7890/" $config

View File

@@ -0,0 +1,12 @@
strict_chain
proxy_dns
remote_dns_subnet 224
tcp_read_time_out 15000
tcp_connect_time_out 8000
localnet 127.0.0.0/255.0.0.0
[ProxyList]
socks4 127.0.0.1 9050