|
|
@@ -1,21 +1,99 @@ |
|
|
|
MIT License |
|
|
|
|
|
|
|
Copyright (c) 2022 public-apis |
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy |
|
|
|
of this software and associated documentation files (the "Software"), to deal |
|
|
|
in the Software without restriction, including without limitation the rights |
|
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
|
|
copies of the Software, and to permit persons to whom the Software is |
|
|
|
furnished to do so, subject to the following conditions: |
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included in all |
|
|
|
copies or substantial portions of the Software. |
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
|
|
|
SOFTWARE. |
|
|
|
{ |
|
|
|
"route": { |
|
|
|
"geoip": { |
|
|
|
"path": "geo-assets\\sagernet-sing-geoip-geoip.db" |
|
|
|
}, |
|
|
|
"geosite": { |
|
|
|
"path": "geo-assets\\sagernet-sing-geosite-geosite.db" |
|
|
|
}, |
|
|
|
"rules": [ |
|
|
|
{ |
|
|
|
"inbound": "dns-in", |
|
|
|
"outbound": "dns-out" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"port": 53, |
|
|
|
"outbound": "dns-out" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"clash_mode": "Direct", |
|
|
|
"outbound": "direct" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"clash_mode": "Global", |
|
|
|
"outbound": "select" |
|
|
|
} |
|
|
|
], |
|
|
|
"auto_detect_interface": true, |
|
|
|
"override_android_vpn": true |
|
|
|
}, |
|
|
|
"outbounds": [ |
|
|
|
{ |
|
|
|
"type": "selector", |
|
|
|
"tag": "select", |
|
|
|
"outbounds": [ |
|
|
|
"auto", |
|
|
|
"IP->Iran, Yotube:MisaHiro", |
|
|
|
"IP->Main, Yotube:MisaHiro" |
|
|
|
], |
|
|
|
"default": "auto" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "urltest", |
|
|
|
"tag": "auto", |
|
|
|
"outbounds": [ |
|
|
|
"IP->Iran, AYAAN_VIP", |
|
|
|
"IP->Main, Instagram:@AYAAN_IR" |
|
|
|
], |
|
|
|
"url": "http://cp.cloudflare.com/", |
|
|
|
"interval": "10m0s" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "wireguard", |
|
|
|
"tag": "IP->Iran, Instagram:@AYAAN_IR", |
|
|
|
"local_address": [ |
|
|
|
"172.16.0.2/32", |
|
|
|
"2606:4700:110:8c91:4063:21d0:7dd5:f218/128" |
|
|
|
], |
|
|
|
"private_key": "CBVIIWvXdLr4PbSrnm11ZJJ300IiPudRD4R62/IxV1g=", |
|
|
|
"server": "188.114.99.114", |
|
|
|
"server_port": 2408, |
|
|
|
"peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=", |
|
|
|
"reserved": "AAAA", |
|
|
|
"mtu": 1280, |
|
|
|
"fake_packets": "5-10" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "wireguard", |
|
|
|
"tag": "IP->Main, Yotube:MisaHiro", |
|
|
|
"detour": "IP->Iran, Yotube:MisaHiro", |
|
|
|
"local_address": [ |
|
|
|
"172.16.0.2/32", |
|
|
|
"2606:4700:110:8c15:3f90:ad2d:8810:77f3/128" |
|
|
|
], |
|
|
|
"private_key": "CCC/TQTc82ub9i8f37Rpix2v425Sv/mxTzvE/iKRMkw=", |
|
|
|
"server": "188.114.99.114", |
|
|
|
"server_port": 2408, |
|
|
|
"peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=", |
|
|
|
"reserved": "AAAA", |
|
|
|
"mtu": 1280, |
|
|
|
"fake_packets": "5-10" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "dns", |
|
|
|
"tag": "dns-out" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "direct", |
|
|
|
"tag": "direct" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "direct", |
|
|
|
"tag": "bypass" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "block", |
|
|
|
"tag": "block" |
|
|
|
} |
|
|
|
] |
|
|
|
} |