config_server.json 972 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "log": {
  3. "loglevel": "warning"
  4. },
  5. "routing": {
  6. "domainStrategy": "AsIs",
  7. "rules": [
  8. {
  9. "type": "field",
  10. "ip": [
  11. "geoip:private"
  12. ],
  13. "outboundTag": "block"
  14. }
  15. ]
  16. },
  17. "inbounds": [
  18. {
  19. "listen": "127.0.0.1",
  20. "port": 12345,
  21. "protocol": "shadowsocks",
  22. "settings": {
  23. "method": "chacha20-ietf-poly1305",
  24. "password": "{{ password }}"
  25. },
  26. "streamSettings": {
  27. "network": "grpc",
  28. "grpcSettings": {
  29. "serviceName": "michi"
  30. }
  31. }
  32. }
  33. ],
  34. "outbounds": [
  35. {
  36. "protocol": "freedom",
  37. "tag": "direct"
  38. },
  39. {
  40. "protocol": "blackhole",
  41. "tag": "block"
  42. }
  43. ]
  44. }