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

(IOS & macOS) - FoXray برنامه Routing آموزش نصب و تنظیمات #96

Open
Phoenix-999 opened this issue May 19, 2023 · 0 comments

Comments

@Phoenix-999
Copy link

Phoenix-999 commented May 19, 2023

سلام به همه رفقای عزیز
این مقاله را تنظیم کردیم, امیدوارم که مورد استفاده قرار بگیرد

شما میتوانید از ربات آموزشی تلگرام برای دریافت این آموزش ها نیز استفاده کنید
@IRAN_VPN_Guide_bot

دانلود نسخه PDF
IOS & macOS-FoXray.pdf


Foxray-Add-Config


آموزش Routing و مسدودسازی سایت‌ها و اپلیکیشن‌های ایرانی از سمت کاربر در اپلیکیشن FoXray

این قسمت را از کاربرا‌ن‌تان بخواهید که انجام دهند. چرا که ایده‌ال ترین حالت این است که اساسا ترافیک داخلی ایران به سمت پروکسی سرور شما ارسال نشود. مثلا اپلیکیشن FoXray برای ما این امکان را فراهم می‌کند که به سادگی مشخص کنیم ترافیک داخلی از پروکسی عبور نکند و فقط ترافیک خارجی به سمت پروکسی سرور ارسال شود

مزایای استفاده از Routing
کاهش احتمال شناسایی سرور
کاهش ترافیک سرور و در نتیجه بالا رفتن کیفیت
کاهش هزینه‌های سرور (اگر بابت ترافیک هزینه جداگانه پرداخت می‌کنید.)

ما برای راحتی و سهولت کاربران این تنظیمات و قوانین را از قبل تهیه و تنظیم کرده ایم و به صورت لینک کانفیگ قابل اجرا در اختیار شما گذشته ایم. توجه داشته باشید با استفاده از این کانفیگ و فعال کردن آن که در مراحل بعدی آموزش خواهیم داد که چگونه شما میتوانید تمام سایت های ایرانی با پسوند ir. را به اصطلاح مستقیم کنید و ترافیک داخلی را از پروکسی سرور خارجی خود عبور ندهید

در مرحله اول لینک های کانفیگ Routing و DNS زیر را دانلود به صورت کامل کپی کنید

FoXray-Routing Config for IRAN.txt

IR-Direct🇮🇷

xray://ewogICJkbnMiIDogewogICAgImRpc2FibGVDYWNoZSIgOiB0cnVlLAogICAgImRpc2FibGVGYWxsYmFjayIgOiBmYWxzZSwKICAgICJkaXNhYmxlRmFsbGJhY2tJZk1hdGNoIiA6IGZhbHNlLAogICAgInF1ZXJ5U3RyYXRlZ3kiIDogIlVzZUlQIiwKICAgICJzZXJ2ZXJzIiA6IFsKICAgICAgewogICAgICAgICJhZGRyZXNzIiA6ICI4LjguOC44IiwKICAgICAgICAic2tpcEZhbGxiYWNrIiA6IGZhbHNlCiAgICAgIH0sCiAgICAgIHsKICAgICAgICAiYWRkcmVzcyIgOiAiOC44LjQuNCIsCiAgICAgICAgInNraXBGYWxsYmFjayIgOiB0cnVlCiAgICAgIH0sCiAgICAgIHsKICAgICAgICAiYWRkcmVzcyIgOiAiMS4xLjEuMSIsCiAgICAgICAgInNraXBGYWxsYmFjayIgOiBmYWxzZQogICAgICB9LAogICAgICB7CiAgICAgICAgImFkZHJlc3MiIDogImh0dHBzOi8vMS4xLjEuMS9kbnMtcXVlcnkiLAogICAgICAgICJza2lwRmFsbGJhY2siIDogZmFsc2UKICAgICAgfSwKICAgICAgewogICAgICAgICJhZGRyZXNzIiA6ICJodHRwczovL2Rucy5nb29nbGUvZG5zLXF1ZXJ5IiwKICAgICAgICAic2tpcEZhbGxiYWNrIiA6IGZhbHNlCiAgICAgIH0sCiAgICAgIHsKICAgICAgICAiYWRkcmVzcyIgOiAiaHR0cHM6Ly9kbnMucXVhZDkubmV0L2Rucy1xdWVyeSIsCiAgICAgICAgInNraXBGYWxsYmFjayIgOiBmYWxzZQogICAgICB9LAogICAgICB7CiAgICAgICAgImFkZHJlc3MiIDogImh0dHBzOi8vZG9oLm9wZW5kbnMuY29tL2Rucy1xdWVyeSIsCiAgICAgICAgInNraXBGYWxsYmFjayIgOiBmYWxzZQogICAgICB9LAogICAgICB7CiAgICAgICAgImFkZHJlc3MiIDogImh0dHBzOi8vZG9oLmNsZWFuYnJvd3Npbmcub3JnL2RvaC9mYW1pbHktZmlsdGVyLyIsCiAgICAgICAgInNraXBGYWxsYmFjayIgOiBmYWxzZQogICAgICB9LAogICAgICB7CiAgICAgICAgImFkZHJlc3MiIDogImh0dHBzOi8vZG5zLmFkZ3VhcmQuY29tL2Rucy1xdWVyeSIsCiAgICAgICAgInNraXBGYWxsYmFjayIgOiBmYWxzZQogICAgICB9CiAgICBdLAogICAgInRhZyIgOiAiZG5zUXVlcnkiCiAgfSwKICAiZXh0IiA6IHsKICAgICJkYXQiIDogWwogICAgICB7CiAgICAgICAgIm5hbWUiIDogImdlb2lwIiwKICAgICAgICAidHlwZSIgOiAiaXAiLAogICAgICAgICJ1cmwiIDogImh0dHBzOi8vZ2l0aHViLmNvbS92MmZseS9nZW9pcC9yZWxlYXNlcy9sYXRlc3QvZG93bmxvYWQvZ2VvaXAuZGF0IgogICAgICB9LAogICAgICB7CiAgICAgICAgIm5hbWUiIDogImdlb3NpdGUiLAogICAgICAgICJ0eXBlIiA6ICJkb21haW4iLAogICAgICAgICJ1cmwiIDogImh0dHBzOi8vZ2l0aHViLmNvbS92MmZseS9kb21haW4tbGlzdC1jb21tdW5pdHkvcmVsZWFzZXMvbGF0ZXN0L2Rvd25sb2FkL2RsYy5kYXQiCiAgICAgIH0KICAgIF0sCiAgICAibmFtZSIgOiAiSVItRGlyZWN08J+HrvCfh7ciCiAgfSwKICAib3V0Ym91bmRzIiA6IFsKICAgIHsKICAgICAgInRhZyIgOiAicHJveHkiCiAgICB9LAogICAgewogICAgICAicHJvdG9jb2wiIDogImRucyIsCiAgICAgICJzZXR0aW5ncyIgOiB7CiAgICAgICAgImFkZHJlc3MiIDogIjguOC44LjgiLAogICAgICAgICJub25JUFF1ZXJ5IiA6ICJza2lwIgogICAgICB9LAogICAgICAic3RyZWFtU2V0dGluZ3MiIDogewogICAgICAgICJzb2Nrb3B0IiA6IHsKICAgICAgICAgICJkaWFsZXJQcm94eSIgOiAicHJveHkiCiAgICAgICAgfQogICAgICB9LAogICAgICAidGFnIiA6ICJkbnNPdXQiCiAgICB9CiAgXSwKICAicm91dGluZyIgOiB7CiAgICAiZG9tYWluU3RyYXRlZ3kiIDogIklwSWZOb25NYXRjaCIsCiAgICAicnVsZXMiIDogWwogICAgICB7CiAgICAgICAgImluYm91bmRUYWciIDogWwogICAgICAgICAgImRuc1F1ZXJ5IgogICAgICAgIF0sCiAgICAgICAgIm91dGJvdW5kVGFnIiA6ICJwcm94eSIsCiAgICAgICAgInR5cGUiIDogImZpZWxkIgogICAgICB9LAogICAgICB7CiAgICAgICAgIm91dGJvdW5kVGFnIiA6ICJkbnNPdXQiLAogICAgICAgICJwb3J0IiA6ICI1MyIsCiAgICAgICAgInR5cGUiIDogImZpZWxkIgogICAgICB9LAogICAgICB7CiAgICAgICAgImRvbWFpbiIgOiBbCiAgICAgICAgICAic25hcHAsZGlnaWthbGEsZGl2YXIsdGFwc2ksYmxvZ2ZhLGlyYW5jZWxsLGJhbmssc2IyNC5jb20sc2hleXBvb3IuY29tLHRlYnlhbi5uZXQsYmV5dG9vdGUuY29tLHRlbGV3ZWJpb24uY29tLEZpbG0ybW92aWUud3MsU2V0YXJlLmNvbSxGaWxpbW8uY29tLFRvcm9iLmNvbSxUZ2p1Lm9yZyxTYXJ6YW1pbmRvd25sb2FkLmNvbSxkb3dubG9hZGhhLmNvbSxQMzBkb3dubG9hZC5jb20sU2FuamVzaC5vcmcsYXBwYXJhdC5jb20sZWl0YWEuY29tLGVtb2ZpZC5jb20seWVrdGFuZXQuY29tLHpoYWtldC5jb20scnRsLXRoZW1lLmNvbSx0Z2p1Lm9yZyxpcmFuZWNhci5jb20sdGFzbmltbmV3cy5jb20sbmV0YWZyYXouY29tLGJsb2dmYS5jb20sZmFyYWRhcnMub3JnLHBhcnNwYWNrLmNvbSxtZWhybmV3cy5jb20saXJhbnNlcnZlci5jb20sYWdhaC5jb20sbWl6YmFuZmEubmV0LG1paGFud2ViaG9zdC5jb20sc2hhaHJla2hhYmFyL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ix6YW1pbi5iYWxvbmV0LHppbGxvdyx6aWxsb3dtYXAsemlyZWgsem9vZGZvb2Qsem9vZHJvb20iCiAgICAgICAgXSwKICAgICAgICAiZXh0IiA6IHsKICAgICAgICAgICJuYW1lIiA6ICJJUi1Eb21haW4iCiAgICAgICAgfSwKICAgICAgICAiaXAiIDogWwogICAgICAgICAgImdlb2lwOmlyIiwKICAgICAgICAgICJnZW9pcDpwcml2YXRlIgogICAgICAgIF0sCiAgICAgICAgIm5ldHdvcmsiIDogInRjcCx1ZHAiLAogICAgICAgICJvdXRib3VuZFRhZyIgOiAiZGlyZWN0IiwKICAgICAgICAicHJvdG9jb2wiIDogWwogICAgICAgICAgImh0dHAiLAogICAgICAgICAgInRscyIKICAgICAgICBdLAogICAgICAgICJzb3VyY2UiIDogWwogICAgICAgICAgImdlb2lwOnByaXZhdGUiCiAgICAgICAgXSwKICAgICAgICAidHlwZSIgOiAiZmllbGQiCiAgICAgIH0sCiAgICAgIHsKICAgICAgICAiZG9tYWluIiA6IFsKICAgICAgICAgICJnZW9zaXRlOmNhdGVnb3J5LWFkcy1hbGwiLAogICAgICAgICAgImdlb3NpdGU6Y2F0ZWdvcnktYWRzIiwKICAgICAgICAgICJnZW9zaXRlOmdvb2dsZS1hZHMiLAogICAgICAgICAgImdlb3NpdGU6eWFob28tYWRzIiwKICAgICAgICAgICJnZW9zaXRlOmFkb2JlLWFkcyIsCiAgICAgICAgICAiZ2Vvc2l0ZTpzcG90aWZ5LWFkcyIsCiAgICAgICAgICAiZ2Vvc2l0ZTphcHBsZS1hZHMiLAogICAgICAgICAgImdlb3NpdGU6YW1hem9uLWFkcyIKICAgICAgICBdLAogICAgICAgICJleHQiIDogewogICAgICAgICAgIm5hbWUiIDogIkFkcy1CbG9jayIKICAgICAgICB9LAogICAgICAgICJuZXR3b3JrIiA6ICJ0Y3AsdWRwIiwKICAgICAgICAib3V0Ym91bmRUYWciIDogInJlamVjdCIsCiAgICAgICAgInByb3RvY29sIiA6IFsKICAgICAgICAgICJodHRwIiwKICAgICAgICAgICJ0bHMiLAogICAgICAgICAgImJpdHRvcnJlbnQiCiAgICAgICAgXSwKICAgICAgICAidHlwZSIgOiAiZmllbGQiCiAgICAgIH0sCiAgICAgIHsKICAgICAgICAiZG9tYWluIiA6IFsKICAgICAgICAgICJyZWdleHA6Xi4rXFwuaXIkIiwKICAgICAgICAgICJyZWdleHA6LipcXFxcLmlyJCIsCiAgICAgICAgICAiZ2Vvc2l0ZTpjYXRlZ29yeS1pciIKICAgICAgICBdLAogICAgICAgICJleHQiIDogewogICAgICAgICAgIm5hbWUiIDogIklSLVJlZ2V4cCIKICAgICAgICB9LAogICAgICAgICJuZXR3b3JrIiA6ICJ0Y3AsdWRwIiwKICAgICAgICAib3V0Ym91bmRUYWciIDogImRpcmVjdCIsCiAgICAgICAgInByb3RvY29sIiA6IFsKICAgICAgICAgICJodHRwIiwKICAgICAgICAgICJ0bHMiCiAgICAgICAgXSwKICAgICAgICAidHlwZSIgOiAiZmllbGQiCiAgICAgIH0KICAgIF0KICB9Cn0=

⚠️⚠️⚠️

به علت مشکلات متعدد و باگ‌های زیادی که این اپلیکیشن بعد از هر آپدیت یا تغییری دارد و دولوپر و سازندگان این اپلیکیشن در رفع این مشکلات سیار ضعیف عمل می‌کنند برای اطمینان فایل Json برای شما در اینجا قرار داده‌ایم که اگر در هنگام وارد کردن وتین به اروری برخوردید می‌توانید دستی این قوانین را در اپلیکیشن جایگزین کنید و از آنها استفاده کنید


🇮🇷IRAN-Routing-Ruleset-Json Format.txt

🇮🇷IRAN-Routing-Ruleset-Json Format - 🔗 ▶️ Click for Show
{
  "dns" : {
    "disableCache" : true,
    "disableFallback" : false,
    "disableFallbackIfMatch" : false,
    "queryStrategy" : "UseIP",
    "servers" : [
      {
        "address" : "1.0.0.1",
        "domains" : [
          "geosite:GREATFIRE"
        ],
        "skipFallback" : false
      },
      {
        "address" : "1.1.1.1",
        "domains" : [
          "regexp:.*\\.ir$",
          "regexp:^.+\\.ir$",
          "geosite:category-ir",
          "geosite:category-gov-ir",
          "geosite:category-news-ir",
          "geosite:category-media-ir",
          "geosite:category-social-media-ir",
          "geosite:category-bank-ir",
          "geosite:category-payment-ir",
          "geosite:category-insurance-ir",
          "geosite:category-education-ir",
          "geosite:category-tech-ir",
          "geosite:category-travel-ir",
          "geosite:category-shopping-ir",
          "geosite:category-scholar-ir",
          "geosite:category-bourse-ir",
          "geosite:category-forums-ir"
        ],
        "expectIPs" : [
          "geoip:private",
          "geoip:ir"
        ],
        "skipFallback" : false
      }
    ]
  },
  "routing" : {
    "domainStrategy" : "IpIfNonMatch",
    "rules" : [
      {
        "domain" : [
          "geosite:category-ir",
          "geosite:category-gov-ir",
          "geosite:category-news-ir",
          "geosite:category-media-ir",
          "geosite:category-social-media-ir",
          "geosite:category-bank-ir",
          "geosite:category-payment-ir",
          "geosite:category-insurance-ir",
          "geosite:category-education-ir",
          "geosite:category-tech-ir",
          "geosite:category-travel-ir",
          "geosite:category-shopping-ir",
          "geosite:category-scholar-ir",
          "geosite:category-bourse-ir",
          "geosite:category-forums-ir"
        ],
        "ext" : {
          "name" : "IR-Domain-Category"
        },
        "ip" : [
          "geoip:ir",
          "geoip:private"
        ],
        "network" : "tcp,udp",
        "outboundTag" : "direct",
        "protocol" : [
          "http",
          "tls"
        ],
        "type" : "field"
      },
      {
        "domain" : [
          "regexp:.*\\\\.ir$",
          "regexp:^.+\\\\.ir$",
          "regexp:^https?://([a-zA-Z0-9-]+\\\\.)*\\\\.ir(/|$)",
          "regexp:^https?://(www|mail|shop|news|info|blog)\\\\.[a-zA-Z0-9-]+\\\\.ir(/|$)",
          "regexp:^https?://([a-zA-Z0-9-]+\\\\.)*(gov|ac|co|edu|melli|pars|tejarat|pasargad|keshavarzi|rahbar|bonyad|ayandeh)\\\\.ir(/|$)",
          "regexp:^https?://([a-zA-Z0-9-]+\\\\.)*(iran|persia|tehran|khorasan|parliament|melli|marz|azadi|irib)[a-zA-Z0-9-]*\\\\.ir(/|$)",
          "regexp:^https?://(.*(123tel|a4f3clien|abankefarda|abank|afaco\\\\.formool|ako|alachiigh|alibaba|alibaba\\\\.ir|amirza|anardoni|anonycoders|app\\\\.appaagah|app\\\\.char|app\\\\.fori|app7030|aparatspor|aparattv|app\\\\.gapkids|app\\\\.hamrah|app\\\\.hamyan|app\\\\.igap|app\\\\.leido|app\\\\.mamana|app\\\\.mydars|app\\\\.padars|app\\\\.pinno|appchar|artemis|asantelegram|asanbar|asanapps\\\\.ariyagraph|asparproject\\\\.app|aspardproject|ava|baham|bajet|bajit|bale|balemessenger|balonet|bankino|behkhaan|behkhan|bente|bento|bki|blu|bonakchi|bonakchi\\\\.app|bpm|bsinew|buyko|carenboo|cafe\\\\.telegraph|calculationreal|can\\\\.sel|can\\\\.sell|cartoonflix|chabokpassenge|cheebachee|cheebachee\\\\.app|cicika|com\\\\.bize\\\\.irr|combize|cyklet|cyklet\\\\.app|daybank|digikala|digikala\\\\.firebol|digikala\\\\.jet|digilam|digilam\\\\.app|divar|doozbin|dorsabarza|eghamat24|efarda|efar\\\\.da|eitaa|ela\\\\.mlaak|eligasht|enove\\\\.lingojoo|esam|esam\\\\.app|esasy\\\\.live\\\\.memberbegirrubika|etc|express\\\\.snapp|ezpay|fadiaapp|fam|faraketab|farakav\\\\.anten|factorsabz|fanoos|fanoospfm|fidibo|filmnet|filmischool|flytoday|football360|footballi|formool|gardeshgari|gardeshpay|gahvare|gapfilm\\\\.app|gapkids|gajino|gajmarket|gapfilm|gapkid|hamrah_mechanic|hamrahbank|hamrahcard|hamrahelm|hamrahnovin|hoorsa|homsa|homsa\\\\.snapptrip|hyperchi|icup|imino|imino\\\\.pc\\\\.child|iranapp|iranmodernbusinesses\\\\.netbarg|itoll|itoll\\\\.mycarapp|jadeh|jadeh\\\\.driver|jadeh\\\\.loadowner|jajiga|jajiga\\\\.app|jama\\\\.ba|jan\\\\.ebi|karafs|kalabis\\\\.hassan|karnameh|keshavarzi|kilid|kilid\\\\.portal|kimiabiz|learnit|lenz|lenz\\\\.tv|likotv|luna|lunaapp|mamana|masterkala|masterkala\\\\.shop|melal|melkana|mehr\\\\.iran|mehriran|melkplus|mibini|mihmansho|mobilemancard|mobillet|mydars|mydigipay|myiran|myirancell|myirancellcorp|myrightel|myshatel|namava|namava\\\\.mobile|nasim|navaco|netbarg|neshan|neshan\\\\.traffic|nichijou\\\\.app|niazmandiha|nobitex|noonqeshm|novinappsaz|novinsimorgh|partsoftware|pasaj|pasazh|patogh|patoghe_ketab|payamakdoon|paypod|peccharge|persiandesigners|persiancalendar|pikaap|pinno|pinno\\\\.app|pindopin|pindo|pindo\\\\.fletcher|pindopin|pinket|pinket\\\\.app|pishkhan24|quran|qurankriampishgaman|rayanmehr|rezagem|rizhav|ronaksoftware|roomack\\\\.amlaak|rubika|rubika\\\\.a|sad24|sad24\\\\.app|sadadpsp|safarmarket|saramed|sarmaye|sarmayeh|sekeh|sepehr360|set|setareyek|sesoot|shahab_zarrin\\\\.quiz|shahab_zarrin\\\\.tikup|shahbaz|shahbaz\\\\.zarrin|shahbaz\\\\.zarrin\\\\.quiz|shahbaz\\\\.zarrin\\\\.tikup|shafa\\\\.doc|shatel|shatelland|shatelland\\\\.namava\\\\.mobile|shatelland\\\\.namava\\\\.tv|shmapp|shipnow|sinamobilebank|snapp|snapp_box|snapp\\\\.driver|snapp\\\\.passenger|snappfood|snappfood\\\\.vms|snappfoodvms|soroush|soroushmessenger|stts\\\\.etc|stts|sunsetcar|taaghche|tabastaz\\\\.ir|takhfifan|takhfifhot|takhfifhot\\\\.app|taaghche|tapsi|taxi\\\\.tap30|taxi\\\\.tap30\\\\.passenger|tap30|tap30\\\\.passenger|tapsi|tejarapp|tejaratmobilebank|tgbs|tgbs\\\\.app|tgbsgame|tosansoha|toranj|torob|toujib|toujib\\\\.app|wepod|wepod\\\\.app|yaramobile\\\\.pishvaz|yma|yootopin|yotopin|zabanshenas|zabe|amooz|zamin\\\\.balonet|zillow|zillowmap|zireh|zoodfood|zoodroom)).*(\\\\.ir|\\\\.com|\\\\.app|\\\\.tv)(/|$)"
        ],
        "ext" : {
          "name" : "IR-Regexp"
        },
        "network" : "tcp,udp",
        "outboundTag" : "direct",
        "type" : "field"
      },
      {
        "domain" : [
          "example.com",
          "aparat.com"
        ],
        "ext" : {
          "name" : "Direct-Other-Domains"
        },
        "network" : "tcp,udp",
        "outboundTag" : "direct",
        "protocol" : [
          "http",
          "tls"
        ],
        "type" : "field"
      },
      {
        "domain" : [
          "geosite:GREATFIRE"
        ],
        "ext" : {
          "name" : "IR-Proxy"
        },
        "network" : "tcp,udp",
        "outboundTag" : "proxy",
        "protocol" : [
          "http",
          "tls",
          "bittorrent"
        ],
        "type" : "field"
      },
      {
        "domain" : [
          "geosite:category-ads-all",
          "geosite:google-ads",
          "geosite:yahoo-ads",
          "geosite:adobe-ads",
          "geosite:spotify-ads",
          "geosite:apple-ads",
          "geosite:amazon-ads"
        ],
        "ext" : {
          "name" : "Ads-Block"
        },
        "network" : "tcp,udp",
        "outboundTag" : "reject",
        "protocol" : [
          "http",
          "tls",
          "bittorrent"
        ],
        "type" : "field"
      },
      {
        "ext" : {
          "name" : "Block-UDP-443"
        },
        "network" : "udp",
        "outboundTag" : "reject",
        "port" : "443",
        "type" : "field"
      }
    ]
  }
}

در این مرحله دستورات و مراحل آموزشی را همانطور که در عکس توضیح داده شده دنبال و اجرا کنید.

FoXray-Routing   DNS Config for IRAN


@Phoenix-999 Phoenix-999 changed the title (ISO & macOS) - FoXray برنامه Routing آموزش نصب و تنظیمات (IOS & macOS) - FoXray برنامه Routing آموزش نصب و تنظیمات Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant