default.json 1.4 KB

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