1
0

default.json 1.4 KB

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