config_server.jsonc 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "log": {
  3. "loglevel": "warning"
  4. },
  5. "routing": {
  6. "domainStrategy": "IPIfNonMatch",
  7. "rules": [
  8. {
  9. "type": "field",
  10. "port": "80",
  11. "network": "udp",
  12. "outboundTag": "block"
  13. },
  14. {
  15. "type": "field",
  16. "ip": ["geoip:private"],
  17. "outboundTag": "block"
  18. }
  19. ]
  20. },
  21. "inbounds": [
  22. {
  23. "listen": "0.0.0.0",
  24. "port": 80,
  25. "protocol": "vless",
  26. "settings": {
  27. "clients": [
  28. {
  29. "id": "drEwvgYhS15C",
  30. "flow": ""
  31. }
  32. ],
  33. "decryption": "none"
  34. },
  35. "streamSettings": {
  36. "network": "grpc",
  37. "security": "reality",
  38. "realitySettings": {
  39. "show": false,
  40. "dest": "www.yahoo.com:443",
  41. "xver": 0,
  42. "serverNames": ["www.yahoo.com", "news.yahoo.com"],
  43. "privateKey": "kOsBHSgxhAfCeQIQyJvupiXTmQrMmsqi6y6Wc5OQZXc",
  44. "shortIds": ["d49d578f280fd83a"]
  45. },
  46. "grpcSettings": {
  47. "serviceName": ""
  48. }
  49. },
  50. "sniffing": {
  51. "enabled": true,
  52. "destOverride": ["http", "tls", "quic"]
  53. }
  54. }
  55. ],
  56. "outbounds": [
  57. {
  58. "protocol": "freedom",
  59. "tag": "direct"
  60. },
  61. {
  62. "protocol": "blackhole",
  63. "tag": "block"
  64. }
  65. ],
  66. "policy": {
  67. "levels": {
  68. "0": {
  69. "handshake": 2,
  70. "connIdle": 120
  71. }
  72. }
  73. }
  74. }