server.jsonc 927 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "log": {
  3. "loglevel": "warning"
  4. },
  5. "inbounds": [
  6. {
  7. "port": 2001,
  8. "listen": "127.0.0.1",
  9. "protocol": "vless",
  10. "settings": {
  11. "clients": [
  12. {
  13. "id": "",
  14. "email": "[email protected]"
  15. }
  16. ],
  17. "decryption": "none"
  18. },
  19. "streamSettings": {
  20. "security": "none",
  21. "network": "h2",
  22. "httpSettings": {
  23. "path": "/path",
  24. "host": [
  25. "xx.com"
  26. ]
  27. }
  28. }
  29. }
  30. ],
  31. "outbounds": [
  32. {
  33. "tag": "direct",
  34. "protocol": "freedom",
  35. "settings": {}
  36. },
  37. {
  38. "tag": "blocked",
  39. "protocol": "blackhole",
  40. "settings": {}
  41. }
  42. ],
  43. "routing": {
  44. "domainStrategy": "AsIs",
  45. "rules": [
  46. {
  47. "type": "field",
  48. "ip": [
  49. "geoip:private"
  50. ],
  51. "outboundTag": "blocked"
  52. }
  53. ]
  54. }
  55. }