zoukankan      html  css  js  c++  java
  • 3proxy.cfg 配置文件解析

      最新配置文件的man文档所在位置:

      /程序目录/doc/html/man3/3proxy.cfg.3.html 

    官网:  https://3proxy.ru/

     Download 3proxy tiny free proxy

    There are no currently 3proxy port maintainers for different distributions. If you want to become port maintainer please contact 3proxy@3proxy.ru.

    #后台进程
    daemon
    #DNS服务器
    nserver 8.8.8.8
    #DNS缓存
    nscache 65536
    #超时
    timeouts 1 5 30 60 180 1800 15 60
    #日志
    log /var/log/3proxy.log 
    logformat "- +_L%t.%.  %N.%p %E %U %C:%c %R:%r %O %I %h %T"
    rotate 30
    #用户 CL为明文密码
    users user1:CL:pwd user2:CL:pwd
    #权限控制参数
    #allow <userlist> <sourcelist> <targetlist> <targetportlist> <commandlist> <weekdaylist> <timeperiodlist>
    #deny <userlist> <sourcelist> <targetlist> <weekdaylist> <timeperiodlist> 
     
    #开启socks和http代理,指定监听端口和出口IP
    auth iponly strong
    allow user1,user2
    allow * 192.168.0.0/16 *
    socks -p1080 -e192.168.1.1
    socks -p1081 -e192.168.1.2
    proxy -p8080 -e192.168.1.1
    proxy -p8081 -e192.168.1.2
    flush 
     
    #开启HTTP代理,端口3128,轮换出口IP
    auth iponly
    allow *
    parent 500 http 192.168.1.2 0
    parent 500 http 192.168.1.1 0
    proxy -p3128
    flush 
     
    #开启上层代理,HTTP端口1234,轮换上层socks5代理
    auth iponly
    allow *
    parent 500 socks5 192.168.1.1 7777
    parent 500 socks5 192.168.1.1 7070
    parent 500 connect 192.168.1.1 3128
    proxy -p1234
    flush 
  • 相关阅读:
    还得还得学啊
    感觉自己写的东西很死板啊
    好烦啊,不知道选哪个?
    222
    111
    愁人啊
    ssm+ajax实现登陆
    ssm框架搭建
    抽象类与接口
    代理设计模式
  • 原文地址:https://www.cnblogs.com/hjbf/p/10150469.html
Copyright © 2011-2022 走看看