Created
January 17, 2026 08:29
-
-
Save gromov-io/6b7e1c8ef4c6304fb555bbc7a379d7bb to your computer and use it in GitHub Desktop.
routes/domains-ru.rsc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Удаляем старые правила перед импортом | |
| /ip dns static remove [find where comment~"VIA-RU"] | |
| # Добавляем новые правила | |
| # Каждый домен автоматически резолвится и IP попадает в address-list=via-ru | |
| # address-list=via-ru → маршрут через WG-RU (mangle rule 0) | |
| /ip dns static | |
| add type=FWD forward-to=8.8.8.8 regexp=".*youtube\\.com" address-list=via-ru comment="VIA-RU" | |
| add type=FWD forward-to=8.8.8.8 regexp=".*googlevideo\\.com" address-list=via-ru comment="VIA-RU" | |
| add type=FWD forward-to=8.8.8.8 regexp=".*instagram\\.com" address-list=via-ru comment="VIA-RU" | |
| add type=FWD forward-to=8.8.8.8 regexp=".*twitter\\.com" address-list=via-ru comment="VIA-RU" | |
| add type=FWD forward-to=8.8.8.8 regexp=".*spotify\\.com" address-list=via-ru comment="VIA-RU" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment