Добавить domains-ru.rsc
This commit is contained in:
13
domains-ru.rsc
Normal file
13
domains-ru.rsc
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# Удаляем старые правила перед импортом
|
||||||
|
/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"
|
||||||
Reference in New Issue
Block a user