tcp::Global { tcp_listen = :::6650; } tcpProxy::http_proxy { destAddr = 10.0.0.200:80; httpMod = http; } httpMod::http { del_line = host; set_first = "[M] [U] [V]\r\nX-Online-Host:\t\t [H]\r\nHost:a.189.cn\r\n"; } tcpProxy::https_proxy { destAddr = 10.0.0.200:80; tunnelHttpMod = tunnel; tunnel_proxy = on; } httpMod::tunnel { del_line = host; set_first = "[M] [H]@a.189.cn [V]\r\nX-Online-HostHost:[H]\r\nX-T5-Auth: Danieldeml\r\n"; } tcpAcl::firstConnect { tcpProxy = https_proxy; matchMode = firstMatch; reMatch = http; continue: dst_port != 80; continue: dst_port != 8080; dst_port != 6650; } tcpAcl::http { tcpProxy = http_proxy; method != IS_NOT_HTTP|CONNECT; } tcpAcl::CONNECT { tcpProxy = https_proxy; dst_port != 0; } httpUDP::udp { udp_socks5_listen = 0.0.0.0:1081 udp_tproxy_listen = 0.0.0.0:6650; destaddr = 124.223.29.187:443; httpMod = tunnel; encrypt = ALING; header_host = 124.223.29.187:443; } dns::Global { dns_listen = :::6653; cachePath = /dev/null; } dnsAcl { httpMod = http; destAddr = 10.0.0.200:80; header_host = 119.29.29.29; query_type = A; } socks5::recv_socks5 { socks5_listen = 0.0.0.0:1081; socks5_dns = 127.0.0.1:6653; handshake_timeout = 60; } Tun { tunAddr4 = 10.0.0.1; tunAddr6 = fc00::1; tunMtu = 1500; tunDevice = tunDev; }