All Projects → SamadiPour → iran-hosted-domains

SamadiPour / iran-hosted-domains

Licence: MIT license
"Iran Hosted Domains" is a comprehensive list of Iranian domains and services that are hosted within the country.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to iran-hosted-domains

Asuswrt Merlin Transparent Proxy
transparent proxy base on ss, v2ray, ipset, iptables, chinadns on asuswrt merlin.
Stars: ✭ 367 (+101.65%)
Mutual labels:  v2ray, gfw
Blinksocks
A framework for building composable proxy protocol stack.
Stars: ✭ 587 (+222.53%)
Mutual labels:  v2ray, gfw
Dosvpn
🚀 极速、简单、开源的 VPN 访问外网学习先进科学技术的必备工具
Stars: ✭ 485 (+166.48%)
Mutual labels:  v2ray, gfw
v2ray
V2ray看新闻,自动抓取可用节点,以V2ray的机制上网看新闻
Stars: ✭ 44 (-75.82%)
Mutual labels:  v2ray, gfw
Breaking Gfw Book
整理所有的翻墙方法,持续更新....欢迎PR
Stars: ✭ 105 (-42.31%)
Mutual labels:  v2ray, gfw
Lightyearvpn
翻墙,科学上网,梯子,VPN下载,加速器,外网,代理,路由,防火墙,GFW。支持UDP,游戏必备。免费VPN试用,全球Shadowsocks节点。免费SS节点,SSR节点和V2ray节点。
Stars: ✭ 282 (+54.95%)
Mutual labels:  v2ray, gfw
Free
翻墙、免费翻墙、免费科学上网、免费节点、免费梯子、免费ss/v2ray/trojan节点、蓝灯、谷歌商店、翻墙梯子
Stars: ✭ 16,689 (+9069.78%)
Mutual labels:  v2ray, gfw
v2rayfree
免费公益v2ray节点订阅、最新免费v2ray节点订阅地址、免费v2ray节点每日更新、免费ss/v2ray/trojan节点、freefq
Stars: ✭ 352 (+93.41%)
Mutual labels:  v2ray, gfw
Miles
二爷翻墙,专注免费翻墙30年,但没有掌握核心科技,一切已经开始!^_^
Stars: ✭ 1,230 (+575.82%)
Mutual labels:  v2ray, gfw
New Pac
翻墙-科学上网、免费翻墙、免费科学上网、免费自由上网、fanqiang、翻墙梯子、免费软件/方法,一键翻墙浏览器,免费shadowsocks/ss/ssr/v2ray/goflyway账号/节点分享,vps一键搭建翻墙服务器脚本/教程,电脑、手机、iOS、安卓、windows、Mac、Linux、路由器翻墙
Stars: ✭ 31,869 (+17410.44%)
Mutual labels:  v2ray, gfw
geoip
🌚 🌍 🌝 GeoIP 规则文件加强版,同时支持定制 V2Ray dat 格式路由规则文件 geoip.dat 和 MaxMind mmdb 格式文件 Country.mmdb。Enhanced edition of GeoIP files for V2Ray, Xray-core, Trojan-Go, Clash and Leaf, with replaced CN IPv4 CIDR available from ipip.net, appended CIDR lists and more.
Stars: ✭ 524 (+187.91%)
Mutual labels:  v2ray, gfw
Awesome Vpn
Free VPN/proxy,server,account,link list.,实时更新免费的代理,科学上网,翻墙,梯子,服务器,客户端,账号
Stars: ✭ 2,691 (+1378.57%)
Mutual labels:  v2ray, gfw
v2ray
每日分享免费节点、免费机场、ssr节点、v2ray节点、v2ray订阅、clash节点、clash订阅、shadowrocket订阅、Quantumult X订阅、Clash .NET订阅、小火箭节点、小猫咪节点、免费翻墙、免费科学上网、免费梯子、免费trojan节点、蓝灯、谷歌商店、翻墙梯子、安卓VPN、iphone翻墙节点、iphone vpn、一键翻墙浏览器、节点分享、免费SSR、蓝灯、谷歌商店、V2ary免费节点、代理、proxy代理科学上网、TG代理、电报代理、Telegram代理、ip加速、翻墙软件、socks5、破解VPN、机场推荐、节点订阅、破解VPN
Stars: ✭ 525 (+188.46%)
Mutual labels:  v2ray, gfw
V2ray Rules Dat
🦄 🎃 👻 V2Ray 路由规则文件加强版,可代替 V2Ray 官方 geoip.dat 和 geosite.dat,兼容 Shadowsocks-windows、Xray-core、Trojan-Go 和 leaf。Enhanced edition of V2Ray rules dat files, compatible with Xray-core, Shadowsocks-windows, Trojan-Go and leaf.
Stars: ✭ 6,550 (+3498.9%)
Mutual labels:  v2ray, gfw
free
freefq账号已恢复,此号暂停使用!--翻墙、免费翻墙、免费科学上网、免费节点、免费梯子、免费ss/v2ray/trojan节点、蓝灯、谷歌商店、翻墙梯子
Stars: ✭ 280 (+53.85%)
Mutual labels:  v2ray, gfw
Awesome Network Stuff
Resources about network security, including: Proxy/GFW/ReverseProxy/Tunnel/VPN/Tor/I2P, and MiTM/PortKnocking/NetworkSniff/NetworkAnalysis/etc。More than 1700 open source tools for now. Post incoming.
Stars: ✭ 578 (+217.58%)
Mutual labels:  v2ray, gfw
v2ray-free
Fuck gfw,免费翻墙,每天更新
Stars: ✭ 221 (+21.43%)
Mutual labels:  v2ray, gfw
Free-Node-Merge
合并网络上的免费节点 | Merge Free ss, ssr, v2ray nodes
Stars: ✭ 154 (-15.38%)
Mutual labels:  v2ray, gfw
Clash Rules
🦄️ 🎃 👻 Clash Premium 规则集(RULE-SET),兼容 ClashX Pro、Clash for Windows 客户端。
Stars: ✭ 706 (+287.91%)
Mutual labels:  v2ray, gfw
Surge Rules
🦄 🎃 👻 Surge 规则集(DOMAIN-SET 和 RULE-SET),兼容 Surge for iOS 和 Surge for Mac 客户端。
Stars: ✭ 151 (-17.03%)
Mutual labels:  v2ray, gfw

Iran Hosted Domains

Note

🚨 For safety reasons, it may be advisable to use a separate, non-personal account for your Github activity.

🚨 Ensure that your personal email address is not visible when you push commits to Github. More info

A lot of services and domains are outside of Iran and they are restricted or blocked, for accessing this service you need to use VPN or proxies with tunneling option, apart from these problems, when we use proxies the domestic services are unavailable because our IP is not in Iran; for bypassing these issues we gathered a list of Iranian domains and services to help our people bypass this situation.

Disclaimer

This repository is a compiled list of public information about websites hosted in Iran. It is intended for informational purposes only and is not intended to provide guidance on how to connect to or create or manage a virtual private network (VPN). The content in this repository is provided as-is and we make no representations or warranties of any kind, express or implied, about the completeness, accuracy, reliability, suitability or availability of the information contained in this repository. Any reliance you place on such information is strictly at your own risk. We will not be liable for any errors or omissions in the information or for any losses, damages, or other liabilities that may arise from its use. Please use caution and consult with a qualified professional before using any information from this repository.

Usage

This can differ depending on which tool you use. You can download the domains list from the release page. In v2ray clients you can set Domain Resolution Strategy to IPIfNonMatch for better routing. more info.

Qv2ray

In the release section, you'll find the qv2ray_schema file.

  1. Download the file.
  2. open preferences and click on Advanced Route Settings.
  3. From the bottom of the screen, click on import schema....
  4. choose the downloaded file (qv2ray_schema.json).
  5. in the opened dialogue box, click on yes.
  6. Click on OK.

.dat file

It can be used in all v2fly, v2ray and xray clients.

  1. Download iran.dat file from here.

  2. Copy/Import file in your client. for example:

    • v2ray macOS: /usr/local/share/v2ray
  3. Add proper rules:

    • ext:iran.dat:ir in bypass section
    • ext:iran.dat:other in bypass section
    • ext:iran.dat:ads in block section
  4. Reconnect.

SagerNet

  1. Download iran.dat file from here.

  2. Import .dat file from Route -> Three dots -> Manage Route Assets:

  3. Add proper rules Route -> Create Route:

    • Block Ads:
      • domain: geosite:category-ads-all
      • outbound: Block
    • Block Iran Ads:
      • domain: ext:iran.dat:ads
      • outbound: Block
    • Bypass Iran .ir Domains:
      • domain: regexp:.+\.ir$
      • outbound: Bypass
    • Bypass Iran non .ir Domains:
      • domain: ext:iran.dat:other
      • outbound: Bypass
    • Bypass Iran geoip:
      • ip: geoip:ir
      • outbound: Bypass

for screenshots of routing settings click here.

  1. Reconnect.

Shadowrocket

  1. Download shadowrocket.conf file.
  2. Tap Import From Cloud in the Shadowrocket app and then import the file.
  3. Finally, tap on the shadowrocket.conf and select Use Config.

Clash (Like ClashX / clash_for_windows_pkg / Clash .NET / ...)

  1. Open your current profile/config that you use.
  2. Add these lines to the file:
rule-providers:
  iran:
    type: http
    behavior: classical
    url: "https://github.com/bootmortis/iran-hosted-domains/releases/latest/download/clash_rules.yaml"
    path: ./ruleset/iran.yaml
    interval: 432000
  1. Add this line to rules: section
  - RULE-SET,iran,DIRECT
  1. Save the file.
  2. Based on the client, you may need to set clash on Rule mode.

V2rayNG

  1. First download the file iran.dat from here then move it to the address Android/data/com.v2ray.ang/files/assets using a File Manager.
  2. Then make sure Routing is set to IpIfNonMatch from Domain Strategy in the Setting.
  3. Tap on the Direct URL or IP. Write the following in the Custom rules tab:
  • ext:iran.dat:ir
  • ext:iran.dat:other
  1. Write the following in the Blocked URL or IP tab:
  • ext:iran.dat:ads
  1. Then press OK and that's it.

V2Ray Server

For blocking local domains and IPs in the server side follow this instructions. It's only available in Persian.

Nekoray

  1. Download the domains.txt file from release section.
  2. Open Program in the man page of nekoray.
  3. Open preferences and click on Routing Setting.
  4. Paste domains.txt file on domain-direct section.
  5. Press OK button and restart the app.

v2rayN

  1. Download iran.dat file from here and place in v2rayN directory and inside bin folder.
  2. Open v2ray and select Settings and then select RoutingSetting
  3. In the new window click on Advanced Function and choose Add
  4. In the new window, in Remarks field choose any name and in the Rule List empty area right-click and select Rule Add
  5. In the new window choose direct for outboundTag and the domain section type ext:iran.dat:ir,ext:iran.dat:other,regexp:^.+\.ir$
  6. Click on Confirm until you reach the main app window
  7. Make sure that your rule is selected from the bottom of the page. If not choose it from the drop down menu.

Create .dat file manually (Tutorial)

1. Install golang

It's important to install the right version. Always check it from v2fly/domain-list-community.

2. Clone v2fly/domain-list-community

git clone https://github.com/v2fly/domain-list-community

3. Prepare domains

In a .dat file, you can have as many distinct groups as you want. Each of these groups can be in bypass, proxy or blocked sections. Each group can have as many domains as you want.

Each group is a txt file containing domains. For example, you can have an ads.txt file containing ad domains.

4. Move files to /data

When cloning domain-list-community, you also clone all the groups that have been there before. Since you don't need them, delete everything in /data directory.

Now you have to copy your files to /data directory. Make sure to remove their file extension. So for example, ads.txt needs to be ads.

cd domain-list-community
rm data/*

cp ~/ads.txt data/ads

5. Run the program

go run ./ --outputdir=../

Files

  • iran.dat: Contains all websites hosted in Iran and ADs in a special format.
  • domains.txt: Contains all websites hosted in Iran.
  • qv2ray_schema.json: Importable json schema that can be used in Qv2ray.
  • shadowrocket.conf: Importable conf file that can be used in Shadowrocket.

Sources & Acknowledgements

If you know of any other source, or you found a website that isn't here, please open an issue or add that specific website to custom_domains.py and make a PR.

How does it work?

A Python script is executed by Github Action and generates files that are on the release page.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].