You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

100 lines
2.2 KiB

  1. {
  2. "route": {
  3. "geoip": {
  4. "path": "geo-assets\\sagernet-sing-geoip-geoip.db"
  5. },
  6. "geosite": {
  7. "path": "geo-assets\\sagernet-sing-geosite-geosite.db"
  8. },
  9. "rules": [
  10. {
  11. "inbound": "dns-in",
  12. "outbound": "dns-out"
  13. },
  14. {
  15. "port": 53,
  16. "outbound": "dns-out"
  17. },
  18. {
  19. "clash_mode": "Direct",
  20. "outbound": "direct"
  21. },
  22. {
  23. "clash_mode": "Global",
  24. "outbound": "select"
  25. }
  26. ],
  27. "auto_detect_interface": true,
  28. "override_android_vpn": true
  29. },
  30. "outbounds": [
  31. {
  32. "type": "selector",
  33. "tag": "select",
  34. "outbounds": [
  35. "auto",
  36. "IP->Iran, Yotube:MisaHiro",
  37. "IP->Main, Yotube:MisaHiro"
  38. ],
  39. "default": "auto"
  40. },
  41. {
  42. "type": "urltest",
  43. "tag": "auto",
  44. "outbounds": [
  45. "IP->Iran, AYAAN_VIP",
  46. "IP->Main, Instagram:@AYAAN_IR"
  47. ],
  48. "url": "http://cp.cloudflare.com/",
  49. "interval": "10m0s"
  50. },
  51. {
  52. "type": "wireguard",
  53. "tag": "IP->Iran, Instagram:@AYAAN_IR",
  54. "local_address": [
  55. "172.16.0.2/32",
  56. "2606:4700:110:8c91:4063:21d0:7dd5:f218/128"
  57. ],
  58. "private_key": "CBVIIWvXdLr4PbSrnm11ZJJ300IiPudRD4R62/IxV1g=",
  59. "server": "188.114.99.114",
  60. "server_port": 2408,
  61. "peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=",
  62. "reserved": "AAAA",
  63. "mtu": 1280,
  64. "fake_packets": "5-10"
  65. },
  66. {
  67. "type": "wireguard",
  68. "tag": "IP->Main, Yotube:MisaHiro",
  69. "detour": "IP->Iran, Yotube:MisaHiro",
  70. "local_address": [
  71. "172.16.0.2/32",
  72. "2606:4700:110:8c15:3f90:ad2d:8810:77f3/128"
  73. ],
  74. "private_key": "CCC/TQTc82ub9i8f37Rpix2v425Sv/mxTzvE/iKRMkw=",
  75. "server": "188.114.99.114",
  76. "server_port": 2408,
  77. "peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=",
  78. "reserved": "AAAA",
  79. "mtu": 1280,
  80. "fake_packets": "5-10"
  81. },
  82. {
  83. "type": "dns",
  84. "tag": "dns-out"
  85. },
  86. {
  87. "type": "direct",
  88. "tag": "direct"
  89. },
  90. {
  91. "type": "direct",
  92. "tag": "bypass"
  93. },
  94. {
  95. "type": "block",
  96. "tag": "block"
  97. }
  98. ]
  99. }