wgcf.json 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. {
  2. "log": {
  3. "loglevel": "warn"
  4. },
  5. "dns": {
  6. "disableFallbackIfMatch": true,
  7. "hosts": {},
  8. "queryStrategy": "UseIPv4",
  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":30
  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. },
  110. {
  111. "protocol": "vless",
  112. "settings": {
  113. "vnext": [
  114. {
  115. "address": "cdn-all.xn--b6gac.eu.org",
  116. "port": 443,
  117. "users": [
  118. {
  119. "id": "VLESSID",
  120. "encryption": "none",
  121. "level":0
  122. }
  123. ]
  124. }
  125. ]
  126. },
  127. "streamSettings": {
  128. "network": "ws",
  129. "security": "tls",
  130. "tlsSettings": {
  131. "serverName": "VLESSCFWORKERNAME",
  132. "allowInsecure": true
  133. },
  134. "wsSettings": {
  135. "headers": {
  136. "Host": "VLESSCFWORKERNAME"
  137. },
  138. "path": "/?ed=2048"
  139. }
  140. },
  141. "tag":"vlesscfoverwarp",
  142. "proxySettings": {
  143. "tag": "directwarp",
  144. "transportLayer": true
  145. }
  146. },
  147. {
  148. "protocol": "freedom",
  149. "tag": "direct"
  150. }
  151. ]
  152. ,
  153. "inbounds":[
  154. {
  155. "listen": "0.0.0.0",
  156. "port": 10070,
  157. "protocol": "http",
  158. "settings": {
  159. "allowTransparent": true
  160. },
  161. "sniffing": {
  162. "destOverride": [
  163. "http",
  164. "tls",
  165. "quic"
  166. ],
  167. "enabled": true,
  168. "routeOnly": true
  169. },
  170. "tag": "http"
  171. },
  172. {
  173. "port": 10071,
  174. "protocol": "socks",
  175. "settings": {
  176. "udp": true,
  177. "auth": "noauth"
  178. },
  179. "tag":"socks5",
  180. "sniffing": {
  181. "destOverride": [
  182. "http",
  183. "tls",
  184. "quic"
  185. ],
  186. "enabled": true,
  187. "routeOnly": true
  188. }
  189. },
  190. {
  191. "port": 10072,
  192. "protocol": "socks",
  193. "settings": {
  194. "udp": true,
  195. "auth": "noauth"
  196. },
  197. "tag":"socks5overvless",
  198. "sniffing": {
  199. "destOverride": [
  200. "http",
  201. "tls",
  202. "quic"
  203. ],
  204. "enabled": true,
  205. "routeOnly": true
  206. }
  207. },
  208. {
  209. "port": 10073,
  210. "protocol": "socks",
  211. "settings": {
  212. "udp": true,
  213. "auth": "noauth"
  214. },
  215. "tag":"socks5overwarpoverwarp",
  216. "sniffing": {
  217. "destOverride": [
  218. "http",
  219. "tls",
  220. "quic"
  221. ],
  222. "enabled": true,
  223. "routeOnly": true
  224. }
  225. },
  226. {
  227. "port": 10074,
  228. "protocol": "socks",
  229. "settings": {
  230. "udp": true,
  231. "auth": "noauth"
  232. },
  233. "tag":"socks5overvlessoverwarp",
  234. "sniffing": {
  235. "destOverride": [
  236. "http",
  237. "tls",
  238. "quic"
  239. ],
  240. "enabled": true,
  241. "routeOnly": true
  242. }
  243. }
  244. ],
  245. "routing": {
  246. "domainStrategy": "AsIs",
  247. "rules": [
  248. {
  249. "type": "field",
  250. "ip": [
  251. "127.0.0.1"
  252. ],
  253. "outboundTag": "direct"
  254. },
  255. {
  256. "type": "field",
  257. "inboundTag": [
  258. "socks5"
  259. ],
  260. "outboundTag": "directwarp"
  261. },
  262. {
  263. "type": "field",
  264. "inboundTag": [
  265. "socks5overvless"
  266. ],
  267. "outboundTag": "vlesscf"
  268. },
  269. {
  270. "type": "field",
  271. "inboundTag": [
  272. "http"
  273. ],
  274. "outboundTag": "vlesscf"
  275. },
  276. {
  277. "type": "field",
  278. "inboundTag": [
  279. "socks5overwarpoverwarp"
  280. ],
  281. "outboundTag": "warpoverwarp"
  282. },
  283. {
  284. "type": "field",
  285. "inboundTag": [
  286. "socks5overvlessoverwarp"
  287. ],
  288. "outboundTag": "vlesscfoverwarp"
  289. }
  290. ]
  291. }
  292. }