server.jsonc 873 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. "log": {
  3. "loglevel": "warning"
  4. },
  5. "inbounds": [
  6. {
  7. "listen": "/dev/shm/xrxh.socket,0666",
  8. "protocol": "vless",
  9. "settings": {
  10. "clients": [
  11. {
  12. "id": "" // 填写你的 UUID
  13. }
  14. ],
  15. "decryption": "none"
  16. },
  17. "streamSettings": {
  18. "network": "xhttp",
  19. "xhttpSettings": {
  20. "mode": "stream-one",
  21. "path": "" // 填写你的 path
  22. }
  23. }
  24. }
  25. ],
  26. "outbounds": [
  27. {
  28. "tag": "direct",
  29. "protocol": "freedom",
  30. "settings": {}
  31. },
  32. {
  33. "tag": "blocked",
  34. "protocol": "blackhole",
  35. "settings": {}
  36. }
  37. ],
  38. "routing": {
  39. "domainStrategy": "AsIs",
  40. "rules": [
  41. {
  42. "type": "field",
  43. "ip": [
  44. "geoip:private"
  45. ],
  46. "outboundTag": "blocked"
  47. }
  48. ]
  49. }
  50. }