2025-01-02 17:14:36 +08:00
|
|
|
|
[SETTINGS]
|
|
|
|
|
# 本地服务器监听端口(默认为:1080)
|
|
|
|
|
# Local server listening port (default:1080)
|
|
|
|
|
port = 1080
|
|
|
|
|
|
|
|
|
|
# 代理地址轮换模式:cycle 表示循环使用,custom 表示使用自定义模式,load_balance 表示负载均衡(默认为:cycle)
|
|
|
|
|
# Proxy rotation mode: cycle means cyclic use, custom means custom mode, load_balance means load balancing (default:cycle)
|
|
|
|
|
mode = cycle
|
|
|
|
|
|
|
|
|
|
# 代理地址更换时间(秒),设置为 0 时每次请求都更换 IP(默认为:300)
|
|
|
|
|
# Proxy address rotation interval (seconds), when set to 0, IP changes with each request (default:300)
|
|
|
|
|
interval = 300
|
|
|
|
|
|
|
|
|
|
# 本地服务器端口认证用户名((默认为:neko)当为空时不需要认证
|
|
|
|
|
# Local server authentication username (default:neko), no authentication required when empty
|
|
|
|
|
username = neko
|
|
|
|
|
|
|
|
|
|
# 本地服务器端口认证密码(默认为:123456)当为空时不需要认证
|
|
|
|
|
# Local server authentication password (default:123456), no authentication required when empty
|
|
|
|
|
password = 123456
|
|
|
|
|
|
|
|
|
|
# 是否使用 getip 模块获取代理地址 True or False(默认为:False)
|
|
|
|
|
# Whether to use getip module to obtain proxy addresses True or False (default:False)
|
|
|
|
|
use_getip = False
|
|
|
|
|
|
2025-01-03 17:18:42 +08:00
|
|
|
|
# 获取新代理地址的URL
|
|
|
|
|
# URL to get new proxy address
|
|
|
|
|
getip_url = http://example.com/getip
|
|
|
|
|
|
2025-01-02 17:14:36 +08:00
|
|
|
|
# 代理地址列表文件(默认为:ip.txt)
|
|
|
|
|
# Proxy address list file (default:ip.txt)
|
|
|
|
|
proxy_file = ip.txt
|
|
|
|
|
|
|
|
|
|
# 是否启用代理检测功能 True or False(默认为True)
|
|
|
|
|
# Whether to enable proxy detection feature True or False (default:True)
|
|
|
|
|
check_proxies = True
|
|
|
|
|
|
|
|
|
|
# 语言设置 (cn/en)
|
|
|
|
|
# Language setting (cn/en)
|
|
|
|
|
language = cn
|
|
|
|
|
|
|
|
|
|
# IP白名单文件路径(留空则不启用白名单)
|
|
|
|
|
# IP whitelist file path (leave empty to disable whitelist)
|
|
|
|
|
whitelist_file = whitelist.txt
|
|
|
|
|
|
|
|
|
|
# IP黑名单文件路径(留空则不启用黑名单)
|
|
|
|
|
# IP blacklist file path (leave empty to disable blacklist)
|
|
|
|
|
blacklist_file = blacklist.txt
|
|
|
|
|
|
|
|
|
|
# IP认证优先级(whitelist/blacklist)
|
|
|
|
|
# IP authentication priority (whitelist/blacklist)
|
|
|
|
|
# whitelist: 优先判断白名单,在白名单中的IP直接放行
|
|
|
|
|
# whitelist: prioritize whitelist check, IPs in whitelist are allowed directly
|
|
|
|
|
# blacklist: 优先判断黑名单,在黑名单中的IP直接拒绝
|
|
|
|
|
# blacklist: prioritize blacklist check, IPs in blacklist are rejected directly
|
|
|
|
|
ip_auth_priority = whitelist
|