[kni] ;线程数量,填auto的话,默认是cpu核心数。 thread_num = auto thread_core_start = 0 [f-stack] ;f-stack的配置文件 config = f-stack.ini ;启动的进程数量,注意需要在f-stack的配置文件里也配置好。 proc_num = 2 [xproxy] ;ros的编号 ros_id = 793927210 nat_file = "/opt/xproxy/conf/ip.txt" port_agent_data = 10000 port_health = 8080 black_list_file = "/opt/xproxy/conf/blacklist.txt" no_bind = 1 dst_timeout = 10000 udp_pierce = 1 ads_list_file = "/opt/xproxy/conf/ads_file.txt" forward_retry = 1 [auth0] type = remote server_ip = rms-tauth01.ipipgo.com,rms-tauth02.ipipgo.com,rms-tauth03.ipipgo.com,rms-tauth04.ipipgo.com,rms-tauth05.ipipgo.com,rms-tauth06.ipipgo.com,rms-tauth07.ipipgo.com,rms-tauth08.ipipgo.com,rms-tauth09.ipipgo.com,rms-tauth10.ipipgo.com server_port = 7890,7890,7890,7890,7890,7890,7890,7890,7890,7890 trans_type = 1 server_path = wsAuth use_virtual_ip = 0 no_merge = 1 no_whitelist = 1 no_deferment = 1 tag = "host=47.82.94.42" [auth0_reportlog] ;代理日志路径 log_path = /var/log/xproxyLog ;代理日志大小Mb log_size = 100 ;代理日志文件保留数量 log_num = 20 [auth0_flowreport] server_ip = traffic-resource.ipipgo.com server_port = 80 server_path = ws/traffic log_path = /var/log/xproxyFlow log_num = 20 interval = 3 [auth0_detaillog] ;流量汇报时间间隔 interval = 30 ;流量日志路径 log_path = /var/log/detaillog ;流量日志大小Mb log_size = 100 ;流量日志文件保留数量 log_num = 15 [auth0_statslog] ;流量汇报时间间隔 interval = 30 ;流量日志路径 log_path = /var/log/statslog1 ;流量日志大小Mb log_size = 100 ;流量日志文件保留数量 log_num = 15 [port0] name = eth0 ;网卡IP addr = 0.0.0.0 ;监听端口起始 port_start = 31212 ;监听端口终止(包括此端口) port_end = 31212 ;是否允许socks5使用udp allow_udp = 1 ;监听协议可多个或者一个,可配置的值: ;http:只监听http协议 ;socks5:只监听socks5协议 ;auto:自动适配 listen_protocol = auto ;代理链,如果设置为none,为不转发直接请求真实服务器。其他可参考如下配置: forward = http ;认证配置 auth = 0