Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add iranian hosted domains in installation process #113

Closed
mmrabbani opened this issue Mar 28, 2023 · 4 comments
Closed

Add iranian hosted domains in installation process #113

mmrabbani opened this issue Mar 28, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@mmrabbani
Copy link

mmrabbani commented Mar 28, 2023

Hello

It would be great if you download iran.dat (Project link) in installation bash script, So users can define Iran related routing in X-UI panel without need to download the file in CLI mode.

Also, you can block ad and tracking domains ("geosite:category-ads-all" and "ext:iran.dat:ads") in default routing after installation to increase privacy.
{
"domain": [
"geosite:category-ads-all",
"ext:iran.dat:ads"
],
"outboundTag": "blocked",
"type": "field"
},

@mmrabbani mmrabbani added the enhancement New feature or request label Mar 28, 2023
@alireza0
Copy link
Owner

Hello @mmrabbani
Thank you for your nice idea.
Actually I need that link, but put it in default configuration is not a good idea.
I will add this option and side options in the future.

@trytopassgfw
Copy link

@alireza0
سلام
من طبق این لینک
https://github.com/MHSanaei/3x-ui/blob/main/media/configs/traffic%2Bblock-iran-domains.json
خواستم که سایت های ایرانی رو بلاک کنم ولی عملا کار نمیکنه.
طبق تجربه قبلیم یه تغییر به این صورت دادم

  "routing": {
    "domainStrategy": "IPIfNonMatch",
    "settings": {
      "rules": [.......]
     }
}

این تغییر رو که میدم همه بخش های پنل کار میکنند ولی بخش تنظیمات loading میمونه و اتفاقی نمیفته

@trytopassgfw
Copy link

اشتباه در کانفیگ از سمت من بود. ولی باز هم خوب میشه اگر اشتباهی در کانفیگ رخ میده به صورت خودکار به نسخه اخر برگرده یا در هر حال این صفحه فریز نمونه.

@alireza0
Copy link
Owner

@mmrabbani It is now added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants