imKobz

QUIC

May 25th, 2021 (edited)
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.63 KB | None | 0 0
  1. {
  2. "outbounds": [
  3. {
  4. "protocol": "vmess",
  5. "settings": {
  6. "vnext": [
  7. {
  8. "address": "139.180.185.69",
  9. "port": 38013,
  10. "users": [
  11. {
  12. "id": "74213001-0b9d-436e-bd4a-76a7cfb3fd6c",
  13. "alterId": 0,
  14. "security": "auto"
  15. }
  16. ]
  17. }
  18. ]
  19. },
  20. "streamSettings": {
  21. "network": "tcp",
  22. "tcpSettings": {
  23. "header": {
  24. "type": "http",
  25. "request": {
  26. "version": "1.1",
  27. "method": "GET",
  28. "path": [
  29. "/"
  30. ],
  31. "headers": {
  32. "Host": [
  33. "www.cloudflare.com",
  34. "www.amazon.com"
  35. ],
  36. "User-Agent": [
  37. "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36",
  38. "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36",
  39. "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.75 Safari/537.36",
  40. "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0"
  41. ],
  42. "Accept": [
  43. "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8"
  44. ],
  45. "Accept-language": [
  46. "zh-CN,zh;q=0.8,en-US;q=0.6,en;q=0.4"
  47. ],
  48. "Accept-Encoding": [
  49. "gzip, deflate, br"
  50. ],
  51. "Cache-Control": [
  52. "no-cache"
  53. ],
  54. "Pragma": "no-cache"
  55. }
  56. }
  57. }
  58. }
  59. },
  60. "mux": {
  61. "enabled": true
  62. }
  63. },
  64. {
  65. "protocol": "freedom",
  66. "settings": {},
  67. "tag": "direct"
  68. },
  69. {
  70. "protocol": "blackhole",
  71. "settings": {},
  72. "tag": "blocked"
  73. },
  74. {
  75. "protocol": "dns",
  76. "tag": "dns-out"
  77. }
  78. ],
  79. "inbounds": [
  80. {
  81. "port": "1099",
  82. "protocol": "dokodemo-door",
  83. "settings": {
  84. "network": "tcp,udp",
  85. "timeout": 0,
  86. "followRedirect": true
  87. },
  88. "sniffing": {
  89. "enabled": true,
  90. "destOverride": ["http", "tls"]
  91. }
  92. },
  93. {
  94. "port": 2133,
  95. "tag": "dns-in",
  96. "protocol": "dokodemo-door",
  97. "settings": {
  98. "address": "119.29.29.29",
  99. "port": 53,
  100. "timeout": 0,
  101. "network": "tcp,udp"
  102. }
  103. },
  104. {
  105. "port": 2333,
  106. "protocol": "socks",
  107. "settings": {
  108. "auth": "noauth",
  109. "udp": true
  110. }
  111. },
  112. {
  113. "port": 6666,
  114. "protocol": "http",
  115. "settings": {
  116. "auth": "noauth",
  117. "udp": true
  118. }
  119. }
  120. ],
  121. "dns": {
  122. "servers": [
  123. {
  124. "address": "119.29.29.29",
  125. "port": 53,
  126. "domains": [
  127. "geosite:cn"
  128. ],
  129. "expectIPs": [
  130. "geoip:cn"
  131. ]
  132. },
  133. {
  134. "address": "1.1.1.1",
  135. "port": 53,
  136. "domains": [
  137. "geosite:geolocation-!cn"
  138. ]
  139. },
  140. "8.8.8.8",
  141. "localhost"
  142. ]
  143. },
  144. "routing": {
  145. "domainStrategy": "IPOnDemand",
  146. "rules": [
  147. {
  148. "type": "field",
  149. "inboundTag": [
  150. "dns-in"
  151. ],
  152. "outboundTag": "dns-out"
  153. },
  154. {
  155. "type": "field",
  156. "ip": [
  157. "geoip:private"
  158. ],
  159. "outboundTag": "blocked"
  160. },
  161. {
  162. "type": "field",
  163. "ip": [
  164. "geoip:cn"
  165. ],
  166. "outboundTag": "direct"
  167. },
  168. {
  169. "type": "field",
  170. "domain": [
  171. "geosite:cn"
  172. ],
  173. "outboundTag": "direct"
  174. }
  175. ]
  176. }
  177. }
Add Comment
Please, Sign In to add comment