default.json 1.5 KB

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