Commit 0d7eda8f authored by xuxin's avatar xuxin

增加黑名单配置

parent 2b46ea9b
......@@ -64,7 +64,7 @@ public class Set3proxyTask {
bw.write("fakeresolve\n");
bw.write("config /root/3proxy.cfg\n");
bw.write("monitor /root/3proxy.cfg\n");
bw.write("deny * * *facebook*,*google.*,*youtube*,*twitter*\n");
bw.write("deny * * $/root/blacklist.cfg\n");
for (IpResource ipResource : ipResources) {
if (StringUtils.isNotBlank(ipResource.getAddr()))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment