default.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {
  2. "remarks": "",
  3. "dns": {
  4. "tag": "dns_out",
  5. "queryStrategy": "UseIP",
  6. "servers": [
  7. {
  8. "address": "8.8.8.8",
  9. "skipFallback": false
  10. }
  11. ]
  12. },
  13. "inbounds": [
  14. {
  15. "listen": "127.0.0.1",
  16. "port": 10808,
  17. "protocol": "socks",
  18. "settings": {
  19. "auth": "noauth",
  20. "udp": true,
  21. "userLevel": 8
  22. },
  23. "sniffing": {
  24. "destOverride": [
  25. "http",
  26. "tls",
  27. "quic",
  28. "fakedns"
  29. ],
  30. "enabled": true
  31. },
  32. "tag": "mixed"
  33. },
  34. {
  35. "listen": "127.0.0.1",
  36. "port": 10809,
  37. "protocol": "http",
  38. "settings": {
  39. "userLevel": 8
  40. },
  41. "tag": "http"
  42. }
  43. ],
  44. "log": {
  45. "loglevel": "warning"
  46. },
  47. "outbounds": [
  48. {
  49. "tag": "direct",
  50. "protocol": "freedom",
  51. "settings": {
  52. "redirect": "",
  53. "noises": []
  54. }
  55. },
  56. {
  57. "tag": "block",
  58. "protocol": "blackhole",
  59. "settings": {
  60. "response": {
  61. "type": "http"
  62. }
  63. }
  64. }
  65. ],
  66. "policy": {
  67. "levels": {
  68. "8": {
  69. "connIdle": 300,
  70. "downlinkOnly": 1,
  71. "handshake": 4,
  72. "uplinkOnly": 1
  73. }
  74. },
  75. "system": {
  76. "statsOutboundUplink": true,
  77. "statsOutboundDownlink": true
  78. }
  79. },
  80. "routing": {
  81. "domainStrategy": "AsIs",
  82. "rules": [
  83. {
  84. "type": "field",
  85. "network": "tcp,udp",
  86. "outboundTag": "proxy"
  87. }
  88. ]
  89. },
  90. "stats": {}
  91. }