wgcf.json.bak 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. {
  2. "log": {
  3. "loglevel": "debug"
  4. },
  5. "dns": {
  6. "disableFallbackIfMatch": true,
  7. "hosts": {},
  8. "queryStrategy": "UseIP",
  9. "servers": [
  10. {
  11. "address": "tcp://1.1.1.1",
  12. "concurrency": true
  13. },
  14. {
  15. "address": "tcp+local://223.5.5.5:53",
  16. "concurrency": true,
  17. "domains": [
  18. "full:cdn-all.xn--b6gac.eu.org"
  19. ],
  20. "skipFallback": true
  21. }
  22. ]
  23. },
  24. "outbounds": [
  25. {
  26. "settings": {
  27. "secretKey": "KEY",
  28. "mtu": 1400,
  29. "peers": [
  30. {
  31. "publicKey": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=",
  32. "endpoint" : "engage.cloudflareclient.com:2408",
  33. "keepAlive": 30
  34. }
  35. ],
  36. "address": [
  37. "172.16.0.2/32",
  38. "2606:4700:110:893c:845c:536b:5565:8106/128"
  39. ],
  40. "kernelMode": false,
  41. "worker":16
  42. },
  43. "protocol": "wireguard",
  44. "streamSettings": {
  45. "network": "tcp"
  46. },
  47. "tag":"directwarp"
  48. },
  49. {
  50. "settings": {
  51. "secretKey": "KEY",
  52. "mtu": 1280,
  53. "peers": [
  54. {
  55. "publicKey": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=",
  56. "endpoint" : "engage.cloudflareclient.com:2408",
  57. "keepAlive": 30
  58. }
  59. ],
  60. "address": [
  61. "172.16.0.2/32",
  62. "2606:4700:110:893c:845c:536b:5565:8106/128"
  63. ],
  64. "kernelMode": false,
  65. "worker":16
  66. },
  67. "protocol": "wireguard",
  68. "streamSettings": {
  69. "network": "tcp"
  70. },
  71. "tag":"warpoverwarp",
  72. "proxySettings": {
  73. "tag": "directwarp",
  74. "transportLayer": true
  75. }
  76. },
  77. {
  78. "protocol": "vless",
  79. "settings": {
  80. "vnext": [
  81. {
  82. "address": "cdn-all.xn--b6gac.eu.org",
  83. "port": 443,
  84. "users": [
  85. {
  86. "id": "VLESSID",
  87. "encryption": "none",
  88. "level":0
  89. }
  90. ]
  91. }
  92. ]
  93. },
  94. "streamSettings": {
  95. "network": "ws",
  96. "security": "tls",
  97. "tlsSettings": {
  98. "serverName": "VLESSCFWORKERNAME",
  99. "allowInsecure": true
  100. },
  101. "wsSettings": {
  102. "headers": {
  103. "Host": "VLESSCFWORKERNAME"
  104. },
  105. "path": "/?ed=2048"
  106. }
  107. },
  108. "tag":"vlesscf",
  109. "proxySettings": {
  110. "tag": "directfragment",
  111. "transportLayer": true
  112. }
  113. },
  114. {
  115. "protocol": "vless",
  116. "settings": {
  117. "vnext": [
  118. {
  119. "address": "cdn-all.xn--b6gac.eu.org",
  120. "port": 443,
  121. "users": [
  122. {
  123. "id": "VLESSID",
  124. "encryption": "none",
  125. "level":0
  126. }
  127. ]
  128. }
  129. ]
  130. },
  131. "streamSettings": {
  132. "network": "ws",
  133. "security": "tls",
  134. "tlsSettings": {
  135. "serverName": "VLESSCFWORKERNAME",
  136. "allowInsecure": true
  137. },
  138. "wsSettings": {
  139. "headers": {
  140. "Host": "VLESSCFWORKERNAME"
  141. },
  142. "path": "/?ed=2048"
  143. }
  144. },
  145. "tag":"vlesscfoverwarp",
  146. "proxySettings": {
  147. "tag": "directwarp",
  148. "transportLayer": true
  149. }
  150. },
  151. {
  152. "protocol": "freedom",
  153. "tag": "direct"
  154. },
  155. {
  156. "protocol": "freedom",
  157. "settings":{
  158. "fragment": {
  159. "packets": "tlshello",
  160. "length": "40-60",
  161. "interval": "30-50"
  162. }
  163. },
  164. "tag": "directfragment"
  165. }
  166. ]
  167. ,
  168. "inbounds":[
  169. {
  170. "listen": "0.0.0.0",
  171. "port": 10070,
  172. "protocol": "http",
  173. "settings": {
  174. "allowTransparent": true
  175. },
  176. "sniffing": {
  177. "destOverride": [
  178. "http",
  179. "tls",
  180. "quic"
  181. ],
  182. "enabled": true,
  183. "routeOnly": true
  184. },
  185. "tag": "http"
  186. },
  187. {
  188. "port": 10071,
  189. "protocol": "socks",
  190. "settings": {
  191. "udp": true,
  192. "auth": "noauth"
  193. },
  194. "tag":"socks5",
  195. "sniffing": {
  196. "destOverride": [
  197. "http",
  198. "tls",
  199. "quic"
  200. ],
  201. "enabled": true,
  202. "routeOnly": true
  203. }
  204. },
  205. {
  206. "port": 10072,
  207. "protocol": "socks",
  208. "settings": {
  209. "udp": true,
  210. "auth": "noauth"
  211. },
  212. "tag":"socks5overvless",
  213. "sniffing": {
  214. "destOverride": [
  215. "http",
  216. "tls",
  217. "quic"
  218. ],
  219. "enabled": true,
  220. "routeOnly": true
  221. }
  222. },
  223. {
  224. "port": 10073,
  225. "protocol": "socks",
  226. "settings": {
  227. "udp": true,
  228. "auth": "noauth"
  229. },
  230. "tag":"socks5overwarpoverwarp",
  231. "sniffing": {
  232. "destOverride": [
  233. "http",
  234. "tls",
  235. "quic"
  236. ],
  237. "enabled": true,
  238. "routeOnly": true
  239. }
  240. },
  241. {
  242. "port": 10074,
  243. "protocol": "socks",
  244. "settings": {
  245. "udp": true,
  246. "auth": "noauth"
  247. },
  248. "tag":"socks5overvlessoverwarp",
  249. "sniffing": {
  250. "destOverride": [
  251. "http",
  252. "tls",
  253. "quic"
  254. ],
  255. "enabled": true,
  256. "routeOnly": true
  257. }
  258. }
  259. ],
  260. "routing": {
  261. "domainStrategy": "AsIs",
  262. "rules": [
  263. {
  264. "type": "field",
  265. "ip": [
  266. "127.0.0.1"
  267. ],
  268. "outboundTag": "direct"
  269. },
  270. {
  271. "type": "field",
  272. "inboundTag": [
  273. "socks5"
  274. ],
  275. "outboundTag": "directwarp"
  276. },
  277. {
  278. "type": "field",
  279. "inboundTag": [
  280. "socks5overvless"
  281. ],
  282. "outboundTag": "vlesscf"
  283. },
  284. {
  285. "type": "field",
  286. "inboundTag": [
  287. "http"
  288. ],
  289. "outboundTag": "vlesscf"
  290. },
  291. {
  292. "type": "field",
  293. "inboundTag": [
  294. "socks5overwarpoverwarp"
  295. ],
  296. "outboundTag": "warpoverwarp"
  297. },
  298. {
  299. "type": "field",
  300. "inboundTag": [
  301. "socks5overvlessoverwarp"
  302. ],
  303. "outboundTag": "vlesscfoverwarp"
  304. }
  305. ]
  306. }
  307. }