Skip to content

How to use Routing Rules

IRCF edited this page May 12, 2025 · 14 revisions

نحوه استفاده از قوانین مسیریابی

مراحل زیر را دنبال کنید :

  • به منوی برنامه و بخش تنظیمات شبکه رجوع نمایید
  • در لیست، بر روی گزینه لیست سیاه کلیک کنید
  • بر روی نمونه کلیک کرده و مقادیر آن‌را متناسب با نیازتان ویرایش کنید
  • فرم را ذخیره کرده و مجدداً بر روی اتصال بزنید

راهنما:

اگر قصد افزودن یک دامین‌را دارید، کد زیر را درج کنید:

domain:yoursite.com,

اگر قصد افزودن ساب‌دامنه‌های یک دامین‌را دارید، کد زیر را درج کنید:

domain:*.yoursite.com,

اگر قصد افزودن یک پسوند دامنه‌را دارید، کدی مشابه کد زیر را درج کنید:

domain:*.ir,

اگر قصد افزودن یک آی‌پی را دارید، کد زیر را درج کنید :

ip:192.168.1.5,

اگر قصد افزودن یک رنج آی‌پی را دارید، کد زیر را درج کنید :

range:192.168.1.*,

اگر قصد افزودن یک برنامه (مثلا فیگما) را دارید، کد زیر را درج کنید:

app:Figma,

نکته ۱: هر کد در یک خط قرار گرفته و با کاما خاتمه می‌یابد

نکته ۲: دستور مسدودسازی برنامه‌ها تنها در حالت اتصال تانل کار می‌کنند

نکته ۳: برای بدست‌آوردن نام برنامه‌ها به تسک‌منیجر و سربرگ Details بروید

استثناء کردن یک دامین از بین پسوند دامین‌های لیست سیاه

در نسخه ۲.۶۸ به بعد از Oblivion Desktop این امکان فراهم شده که اگر به‌عنوان مثال تمامی دامنه‌هایی که پسوند ir دارند را در لیست سیاه قرار داده‌اید تا از پروکسی عبور نکنند، یک دامنه خاص مثل test.ir را همچنان از پروکسی عبور دهید.

برای این منظور باید چنین دستوری را تایپ نمایید:

domain:!test.ir

domain:*.ir

این تنظیمات در حالت tun کاربرد دارد، اما باید قبل از نام دامنه‌ی موردنظر کاراکتر ! را قرار داده و این‌رول قبل از رول domain:*.ir قرار گیرد.


Follow these steps:

  • Go to the software menu and the Network Settings section
  • Click on the Blacklist option in the list
  • Click on the sample and edit its values according to your needs
  • Save the form and reconnect

Guidelines:

If you want to add a domain, enter the following code:

domain:yoursite.com,

If you want to add subdomains of a domain, enter the following code:

domain:*.yoursite.com,

If you want to add a domain extension, enter a code similar to the following:

domain:*.cn,

If you want to add an IP, enter the following code:

ip:192.168.1.5,

If you want to add an IP range, enter the following code:

range:192.168.1.*,

If you want to add a program (for example, Figma), enter the following code:

app:Figma,

Note 1: Each code should be placed on a separate line and end with a comma.

Note 2: The program blocking command only works in tunnel connection mode.

Note 3: To find the program names, go to Task Manager and navigate to the Details tab.

Excluding a Domain from the Blacklist of Domain Extensions

In version 2.68 and later of Oblivion Desktop, it is now possible to exclude a specific domain from being blocked by the proxy even if you have added all domains with the .ir extension to the blacklist. For example, you can allow the domain test.ir to bypass the proxy, while still blocking all other .ir domains.

To do this, you need to type the following command:

domain:!test.ir

domain:*.ir

These settings apply in TUN mode. However, make sure to place the ! character before the domain name you want to exclude, and ensure that this rule appears before the domain:*.ir rule.

Clone this wiki locally