Facebook
From mamad, 1 Month ago, written in JavaScript.
Embed
Download Paste or View Raw
Hits: 114
  1. {
  2.   "outbounds": [
  3.     {
  4.       "type": "selector",
  5.       "tag": "select",
  6.       "outbounds": [
  7.         "auto",
  8.         "IP > Your IP (e.g Iran IP)",
  9.         "IP > Main Server IP"
  10.       ],
  11.       "default": "auto"
  12.     },
  13.     {
  14.       "type": "urltest",
  15.       "tag": "auto",
  16.       "outbounds": ["IP > Your IP (e.g Iran IP)", "IP > Main Server IP"],
  17.       "url": "http://cp.cloudflare.com/",
  18.       "interval": "10m0s"
  19.     },
  20.     {
  21.       "type": "wireguard",
  22.       "tag": "IP > Your IP (e.g Iran IP)",
  23.       "local_address": [
  24.         "172.16.0.2/32",
  25.         "2606:4700:110:8c91:4063:21d0:7dd5:f218/128"
  26.       ],
  27.       "private_key": "CBVIIWvXdLr4PbSrnm11ZJJ300IiPudRD4R62/IxV1g=",
  28.       "server": "162.159.195.93",
  29.       "server_port": 2506,
  30.       "peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=",
  31.       "reserved": "AAAA",
  32.       "mtu": 1280,
  33.       "fake_packets": "5-10"
  34.     },
  35.     {
  36.       "type": "wireguard",
  37.       "tag": "IP > Main Server IP",
  38.       "detour": "IP > Your IP (e.g Iran IP)",
  39.       "local_address": [
  40.         "172.16.0.2/32",
  41.         "2606:4700:110:8c15:3f90:ad2d:8810:77f3/128"
  42.       ],
  43.       "private_key": "CCC/TQTc82ub9i8f37Rpix2v425Sv/mxTzvE/iKRMkw=",
  44.       "server": "162.159.195.93",
  45.       "server_port": 2506,
  46.       "peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=",
  47.       "reserved": "AAAA",
  48.       "mtu": 1280,
  49.       "fake_packets": "5-10"
  50.     },
  51.     {
  52.       "type": "dns",
  53.       "tag": "dns-out"
  54.     },
  55.     {
  56.       "type": "direct",
  57.       "tag": "direct"
  58.     },
  59.     {
  60.       "type": "direct",
  61.       "tag": "bypass"
  62.     },
  63.     {
  64.       "type": "block",
  65.       "tag": "block"
  66.     }
  67.   ],
  68.   "inbounds": [
  69.     {
  70.       "type": "mixed",
  71.       "tag": "mixed-in",
  72.       "listen": "127.0.0.1",
  73.       "listen_port": 2334,
  74.       "sniff": true,
  75.       "sniff_override_destination": true,
  76.       "set_system_proxy": true
  77.     },
  78.     {
  79.       "type": "direct",
  80.       "tag": "dns-in",
  81.       "listen": "127.0.0.1",
  82.       "listen_port": 6450,
  83.       "override_address": "1.1.1.1",
  84.       "override_port": 53
  85.     }
  86.   ],
  87.   "route": {
  88.     "geoip": {
  89.       "path": "geo-assets\\sagernet-sing-geoip-geoip.db"
  90.     },
  91.     "geosite": {
  92.       "path": "geo-assets\\sagernet-sing-geosite-geosite.db"
  93.     },
  94.     "rules": [
  95.       {
  96.         "inbound": "dns-in",
  97.         "outbound": "dns-out"
  98.       },
  99.       {
  100.         "port": 53,
  101.         "outbound": "dns-out"
  102.       },
  103.       {
  104.         "clash_mode": "Direct",
  105.         "outbound": "direct"
  106.       },
  107.       {
  108.         "clash_mode": "Global",
  109.         "outbound": "select"
  110.       }
  111.     ],
  112.     "auto_detect_interface": true,
  113.     "override_android_vpn": true
  114.   }
  115. }