v2ray_official.json 929 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "port": 17173,
  3. "log" : {
  4. "access": "access.log"
  5. },
  6. "inbound": {
  7. "protocol": "vmess",
  8. "settings": {
  9. "clients": [
  10. {
  11. "id": "1ad52bdc-16d1-41a5-811d-f5c0c76d677b",
  12. "alterId": 1024
  13. }
  14. ]
  15. }
  16. },
  17. "outbound": {
  18. "protocol": "blackhole",
  19. "settings": {}
  20. },
  21. "outboundDetour": [
  22. {
  23. "protocol": "freedom",
  24. "settings": {},
  25. "tag": "pass"
  26. }
  27. ],
  28. "routing": {
  29. "strategy": "rules",
  30. "settings": {
  31. "rules": [
  32. {
  33. "type": "field",
  34. "port": 80,
  35. "network": "tcp",
  36. "outboundTag": "pass"
  37. },
  38. {
  39. "type": "field",
  40. "port": 443,
  41. "network": "tcp",
  42. "outboundTag": "pass"
  43. },
  44. {
  45. "type": "field",
  46. "port": 53,
  47. "network": "tcp,udp",
  48. "outboundTag": "pass"
  49. }
  50. ]
  51. }
  52. }
  53. }