wgcf.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  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. "tag": "http"
  177. },
  178. {
  179. "port": 10071,
  180. "protocol": "socks",
  181. "settings": {
  182. "udp": true,
  183. "auth": "noauth"
  184. },
  185. "tag":"socks5"
  186. },
  187. {
  188. "port": 10072,
  189. "protocol": "socks",
  190. "settings": {
  191. "udp": true,
  192. "auth": "noauth"
  193. },
  194. "tag":"socks5overvless"
  195. },
  196. {
  197. "port": 10073,
  198. "protocol": "socks",
  199. "settings": {
  200. "udp": true,
  201. "auth": "noauth"
  202. },
  203. "tag":"socks5overwarpoverwarp"
  204. },
  205. {
  206. "port": 10074,
  207. "protocol": "socks",
  208. "settings": {
  209. "udp": true,
  210. "auth": "noauth"
  211. },
  212. "tag":"socks5overvlessoverwarp"
  213. }
  214. ],
  215. "routing": {
  216. "domainStrategy": "AsIs",
  217. "rules": [
  218. {
  219. "type": "field",
  220. "ip": [
  221. "127.0.0.1"
  222. ],
  223. "outboundTag": "direct"
  224. },
  225. {
  226. "type": "field",
  227. "inboundTag": [
  228. "socks5"
  229. ],
  230. "outboundTag": "directwarp"
  231. },
  232. {
  233. "type": "field",
  234. "inboundTag": [
  235. "socks5overvless"
  236. ],
  237. "outboundTag": "vlesscf"
  238. },
  239. {
  240. "type": "field",
  241. "inboundTag": [
  242. "http"
  243. ],
  244. "outboundTag": "vlesscf"
  245. },
  246. {
  247. "type": "field",
  248. "inboundTag": [
  249. "socks5overwarpoverwarp"
  250. ],
  251. "outboundTag": "warpoverwarp"
  252. },
  253. {
  254. "type": "field",
  255. "inboundTag": [
  256. "socks5overvlessoverwarp"
  257. ],
  258. "outboundTag": "vlesscfoverwarp"
  259. }
  260. ]
  261. }
  262. }