wgcf1.json 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345
  1. {
  2. "log": {
  3. "loglevel": "warn"
  4. },
  5. "dns": {
  6. "disableFallbackIfMatch": true,
  7. "hosts": {},
  8. "queryStrategy": "UseIPv4",
  9. "servers": [{
  10. "address": "tcp://1.1.1.1",
  11. "concurrency": true
  12. }, {
  13. "address": "tcp+local://223.5.5.5:53",
  14. "concurrency": true,
  15. "domains": ["full:cdn-all.xn--b6gac.eu.org"],
  16. "skipFallback": true
  17. }]
  18. },
  19. "outbounds": [{
  20. "settings": {
  21. "secretKey": "KEY",
  22. "mtu": 1400,
  23. "peers": [{
  24. "publicKey": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=",
  25. "endpoint": "engage.cloudflareclient.com:2408",
  26. "keepAlive": 30
  27. }],
  28. "address": ["172.16.0.2/32", "2606:4700:110:893c:845c:536b:5565:8106/128"],
  29. "kernelMode": false,
  30. "worker": 16
  31. },
  32. "protocol": "wireguard",
  33. "streamSettings": {
  34. "network": "tcp"
  35. },
  36. "tag": "directwarp"
  37. }, {
  38. "settings": {
  39. "secretKey": "KEY",
  40. "mtu": 1280,
  41. "peers": [{
  42. "publicKey": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=",
  43. "endpoint": "engage.cloudflareclient.com:2408",
  44. "keepAlive": 30
  45. }],
  46. "address": ["172.16.0.2/32", "2606:4700:110:8192:43b7:c93c:3b7d:a481/128"],
  47. "kernelMode": false,
  48. "worker": 30
  49. },
  50. "protocol": "wireguard",
  51. "streamSettings": {
  52. "network": "tcp"
  53. },
  54. "tag": "warpoverwarp",
  55. "proxySettings": {
  56. "tag": "directwarp",
  57. "transportLayer": true
  58. }
  59. }, {
  60. "protocol": "shadowsocks",
  61. "tag": "ss;ssr;shadowsocks",
  62. "proxySettings": {
  63. "tag": "directwarp",
  64. "transportLayer": true
  65. },
  66. "settings": {
  67. "vnext": [{
  68. "address": "cdn-all.xn--b6gac.eu.org",
  69. "port": 443,
  70. "users": [{
  71. "id": "SSPASSWROD",
  72. "encryption": "none",
  73. "level": 0
  74. }]
  75. }]
  76. },
  77. "streamSettings": {
  78. "network": "ws",
  79. "security": "tls",
  80. "tlsSettings": {
  81. "serverName": "SSCFWORKERNAME",
  82. "allowInsecure": true
  83. },
  84. "wsSettings": {
  85. "headers": {
  86. "Host": "SSCFWORKERNAME"
  87. },
  88. "path": "/?ed=2048"
  89. }
  90. },
  91. "tag": "sscf"
  92. }, {
  93. "protocol": "trojan",
  94. "tag": "trojan",
  95. "proxySettings": {
  96. "tag": "directwarp",
  97. "transportLayer": true
  98. },
  99. "settings": {
  100. "vnext": [{
  101. "address": "cdn-all.xn--b6gac.eu.org",
  102. "port": 443,
  103. "users": [{
  104. "id": "TROJANPASSWROD",
  105. "encryption": "none",
  106. "level": 0
  107. }]
  108. }]
  109. },
  110. "streamSettings": {
  111. "network": "ws",
  112. "security": "tls",
  113. "tlsSettings": {
  114. "serverName": "TROJANCFWORKERNAME",
  115. "allowInsecure": true
  116. },
  117. "wsSettings": {
  118. "headers": {
  119. "Host": "TROJANCFWORKERNAME"
  120. },
  121. "path": "/?ed=2048"
  122. }
  123. },
  124. "tag": "trojancf"
  125. }, {
  126. "protocol": "vmess",
  127. "settings": {
  128. "vnext": [{
  129. "address": "cdn-all.xn--b6gac.eu.org",
  130. "port": 443,
  131. "users": [{
  132. "id": "VMESSID",
  133. "encryption": "none",
  134. "level": 0
  135. }]
  136. }]
  137. },
  138. "streamSettings": {
  139. "network": "ws",
  140. "security": "tls",
  141. "tlsSettings": {
  142. "serverName": "VMESSCFWORKERNAME",
  143. "allowInsecure": true
  144. },
  145. "wsSettings": {
  146. "headers": {
  147. "Host": "VMESSCFWORKERNAME"
  148. },
  149. "path": "/?ed=2048"
  150. }
  151. },
  152. "tag": "vmess",
  153. "proxySettings": {
  154. "tag": "directwarp",
  155. "transportLayer": true
  156. }
  157. }, {
  158. "protocol": "vless",
  159. "settings": {
  160. "vnext": [{
  161. "address": "cdn-all.xn--b6gac.eu.org",
  162. "port": 443,
  163. "users": [{
  164. "id": "VLESSID",
  165. "encryption": "none",
  166. "level": 0
  167. }]
  168. }]
  169. },
  170. "streamSettings": {
  171. "network": "ws",
  172. "security": "tls",
  173. "tlsSettings": {
  174. "serverName": "VLESSCFWORKERNAME",
  175. "allowInsecure": true
  176. },
  177. "wsSettings": {
  178. "headers": {
  179. "Host": "VLESSCFWORKERNAME"
  180. },
  181. "path": "/?ed=2048"
  182. }
  183. },
  184. "tag": "vlesscf;warpoverwarp;vlesscfoverwarp",
  185. "proxySettings": {
  186. "tag": "directwarp",
  187. "transportLayer": true
  188. }
  189. }, {
  190. "protocol": "freedom",
  191. "tag": "direct"
  192. }],
  193. "inbounds": [
  194. /*
  195. 73的用途是:完全不需要部署和自建,只要开俩warp账号就可以访问所有海外资源,但速度慢
  196. 71的用途是:看wogg,看youtube以及所有不限制中国ip但被gfw屏蔽的网站
  197. 72的用途是:自建或部署cfvless,不经过warp直连过去,用于高速访问被屏资源且不会被当作中国IP
  198. 74的用途是:cfvless裸奔不稳定的情况下底层讨一个warp提高稳定性,但速度降低,用于稳定访问被屏资源且不会被当作中国IP
  199. */
  200. {
  201. "listen": "0.0.0.0",
  202. "port": 10070,
  203. "protocol": "http",
  204. "settings": {
  205. "allowTransparent": true
  206. },
  207. "sniffing": {
  208. "destOverride": ["http", "tls", "quic"],
  209. "enabled": true,
  210. "routeOnly": true
  211. },
  212. "tag": "http"
  213. }, {
  214. "port": 10071,
  215. "protocol": "socks",
  216. "settings": {
  217. "udp": true,
  218. "auth": "noauth"
  219. },
  220. "tag": "socks5",
  221. "sniffing": {
  222. "destOverride": ["http", "tls", "quic"],
  223. "enabled": true,
  224. "routeOnly": true
  225. }
  226. }, {
  227. "port": 2000,
  228. "protocol": "socks",
  229. "settings": {
  230. "udp": true,
  231. "auth": "noauth"
  232. },
  233. "tag": "shadowsocks",
  234. "sniffing": {
  235. "destOverride": ["http", "tls", "quic"],
  236. "enabled": true,
  237. "routeOnly": true
  238. }
  239. }, {
  240. "port": 2001,
  241. "protocol": "socks",
  242. "settings": {
  243. "udp": true,
  244. "auth": "noauth"
  245. },
  246. "tag": "trojan",
  247. "sniffing": {
  248. "destOverride": ["http", "tls", "quic"],
  249. "enabled": true,
  250. "routeOnly": true
  251. }
  252. }, {
  253. "port": 2002,
  254. "protocol": "socks",
  255. "settings": {
  256. "udp": true,
  257. "auth": "noauth"
  258. },
  259. "tag": "vmess",
  260. "sniffing": {
  261. "destOverride": ["http", "tls", "quic"],
  262. "enabled": true,
  263. "routeOnly": true
  264. }
  265. }, {
  266. "port": 10072,
  267. "protocol": "socks",
  268. "settings": {
  269. "udp": true,
  270. "auth": "noauth"
  271. },
  272. "tag": "socks5overvless",
  273. "sniffing": {
  274. "destOverride": ["http", "tls", "quic"],
  275. "enabled": true,
  276. "routeOnly": true
  277. }
  278. }, {
  279. "port": 10073,
  280. "protocol": "socks",
  281. "settings": {
  282. "udp": true,
  283. "auth": "noauth"
  284. },
  285. "tag": "socks5overwarpoverwarp",
  286. "sniffing": {
  287. "destOverride": ["http", "tls", "quic"],
  288. "enabled": true,
  289. "routeOnly": true
  290. }
  291. }, {
  292. "port": 10074,
  293. "protocol": "socks",
  294. "settings": {
  295. "udp": true,
  296. "auth": "noauth"
  297. },
  298. "tag": "socks5overvlessoverwarp",
  299. "sniffing": {
  300. "destOverride": ["http", "tls", "quic"],
  301. "enabled": true,
  302. "routeOnly": true
  303. }
  304. }],
  305. "routing": {
  306. "domainStrategy": "AsIs",
  307. "rules": [{
  308. "type": "field",
  309. "ip": ["127.0.0.1"],
  310. "outboundTag": "direct"
  311. }, {
  312. "type": "field",
  313. "inboundTag": ["http;https;socks4;socks5"],
  314. "outboundTag": "directwarp"
  315. }, {
  316. "type": "field",
  317. "inboundTag": ["http;https;socks4;socks5"],
  318. "outboundTag": "shadowsocks"
  319. }, {
  320. "type": "field",
  321. "inboundTag": ["http;https;socks4;socks5"],
  322. "outboundTag": "trojancf"
  323. }, {
  324. "type": "field",
  325. "inboundTag": ["http;https;socks4;socks5"],
  326. "outboundTag": "vmess"
  327. }, {
  328. "type": "field",
  329. "inboundTag": ["socks5overvless"],
  330. "outboundTag": "vlesscf"
  331. }, {
  332. "type": "field",
  333. "inboundTag": ["http;https;socks4;socks5"],
  334. "outboundTag": "vlesscf"
  335. }, {
  336. "type": "field",
  337. "inboundTag": ["socks5overwarpoverwarp"],
  338. "outboundTag": "warpoverwarp"
  339. }, {
  340. "type": "field",
  341. "inboundTag": ["socks5overvlessoverwarp"],
  342. "outboundTag": "vlesscfoverwarp"
  343. }]
  344. }
  345. }