default.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. "domainStrategy": "AsIs",
  53. "redirect": "",
  54. "noises": []
  55. }
  56. },
  57. {
  58. "tag": "block",
  59. "protocol": "blackhole",
  60. "settings": {
  61. "response": {
  62. "type": "http"
  63. }
  64. }
  65. }
  66. ],
  67. "policy": {
  68. "levels": {
  69. "8": {
  70. "connIdle": 300,
  71. "downlinkOnly": 1,
  72. "handshake": 4,
  73. "uplinkOnly": 1
  74. }
  75. },
  76. "system": {
  77. "statsOutboundUplink": true,
  78. "statsOutboundDownlink": true
  79. }
  80. },
  81. "routing": {
  82. "domainStrategy": "AsIs",
  83. "rules": [
  84. {
  85. "type": "field",
  86. "network": "tcp,udp",
  87. "outboundTag": "proxy"
  88. }
  89. ]
  90. },
  91. "stats": {}
  92. }