Compare commits
24 Commits
bde2ed68bf
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| e1c417c11c | |||
| 957f811e0d | |||
| 8892997fb4 | |||
| 87c2835cd3 | |||
| 1053400964 | |||
| 95538590bd | |||
| f6c7e25e0d | |||
| 14bc80c012 | |||
| 04267a88de | |||
| 7b12e7dff5 | |||
| 4c67ba5b26 | |||
| caed54ddd4 | |||
| b6805f7591 | |||
| f648acccc6 | |||
| 72134127e1 | |||
| a23d07ce4f | |||
| bf771ee234 | |||
| 451370fbd3 | |||
| 742bbf0be6 | |||
| d8449e7208 | |||
| 4c6aca8e63 | |||
| 02ddaf1cac | |||
| da24c7d510 | |||
| 039249113c |
8
README.md
Normal file
8
README.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# MikroTik Routes
|
||||||
|
|
||||||
|
Конфигурационные файлы для маршрутизации трафика через туннели на роутере MikroTik.
|
||||||
|
|
||||||
|
## Файлы конфигурации
|
||||||
|
|
||||||
|
- `domains-ru.rsc` — домены через RU (Москва)
|
||||||
|
- `domains-lt.rsc` — домены через LT (Литва)
|
||||||
@@ -1,6 +1,43 @@
|
|||||||
|
# Удаляем старые правила перед импортом
|
||||||
/ip dns static remove [find where comment~"VIA-LT"]
|
/ip dns static remove [find where comment~"VIA-LT"]
|
||||||
|
|
||||||
|
# Удаление конкретного домена из address-list (раскомментировать при необходимости)
|
||||||
|
# /ip firewall address-list remove [find where comment~"proton"]
|
||||||
|
|
||||||
|
# Домены для маршрутизации через VPN-LT
|
||||||
|
# IP автоматически добавляются в address-list=via-lt при DNS-запросе
|
||||||
/ip dns static
|
/ip dns static
|
||||||
add type=FWD forward-to=8.8.8.8 regexp=".*netflix\\.com" address-list=via-lt comment="VIA-LT"
|
add type=FWD forward-to=8.8.8.8 regexp=".*netflix\\.com" address-list=via-lt comment="VIA-LT"
|
||||||
add type=FWD forward-to=8.8.8.8 regexp=".*nflxvideo\\.net" address-list=via-lt comment="VIA-LT"
|
add type=FWD forward-to=8.8.8.8 regexp=".*nflxvideo\\.net" address-list=via-lt comment="VIA-LT"
|
||||||
#add type=FWD forward-to=8.8.8.8 regexp=".*proton\\.me" address-list=via-lt comment="VIA-LT"
|
add type=FWD forward-to=8.8.8.8 regexp=".*proton\\.me" address-list=via-lt comment="VIA-LT"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*pm\\.me" address-list=via-lt comment="VIA-LT"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*seasonvar\\.ru" address-list=via-lt comment="VIA-LT"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*scryde\\.game" address-list=via-lt comment="VIA-LT"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*scryde\\.ws" address-list=via-lt comment="VIA-LT"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*scryde\\.com" address-list=via-lt comment="VIA-LT"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*scryde\\.ru" address-list=via-lt comment="VIA-LT"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*scryde\\.net" address-list=via-lt comment="VIA-LT"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*anthropic\\.com" address-list=via-lt comment="VIA-LT"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*claude\\.ai" address-list=via-lt comment="VIA-LT"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*claude\\.com" address-list=via-lt comment="VIA-LT"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*sentry\\.io" address-list=via-lt comment="VIA-LT"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*chatgpt\\.com" address-list=via-lt comment="VIA-LT"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*openai\\.com" address-list=via-lt comment="VIA-LT"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*featuregates\\.com" address-list=via-lt comment="VIA-LT"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*intercom\\.io" address-list=via-lt comment="VIA-LT"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*intercomcdn\\.com" address-list=via-lt comment="VIA-LT"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*chat\\.com" address-list=via-lt comment="VIA-LT"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*oaistatic\\.com" address-list=via-lt comment="VIA-LT"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*oaiusercontent\\.com" address-list=via-lt comment="VIA-LT"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*firstmail\\.ltd" address-list=via-lt comment="VIA-LT"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*cloudflare\\.com" address-list=via-lt comment="VIA-LT"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*notletters\\.com" address-list=via-lt comment="VIA-LT"
|
||||||
|
|
||||||
|
# Instagram
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*instagram\\.com" address-list=via-lt comment="VIA-LT"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*cdninstagram\\.com" address-list=via-lt comment="VIA-LT"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*facebook\\.com" address-list=via-lt comment="VIA-LT"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*fbcdn\\.net" address-list=via-lt comment="VIA-LT"
|
||||||
|
|
||||||
|
# Parsec
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*parsec\\.app" address-list=via-lt comment="VIA-LT"
|
||||||
@@ -1,15 +1,16 @@
|
|||||||
# Удаляем старые правила перед импортом
|
# Удаляем старые правила перед импортом
|
||||||
/ip dns static remove [find where comment~"VIA-RU"]
|
/ip dns static remove [find where comment~"VIA-RU"]
|
||||||
|
|
||||||
# Добавляем новые правила
|
# Удаление конкретного домена из address-list (раскомментировать при необходимости)
|
||||||
# Каждый домен автоматически резолвится и IP попадает в address-list=via-ru
|
#/ip firewall address-list remove [find where comment~"instagram"]
|
||||||
# address-list=via-ru → маршрут через WG-RU (mangle rule 0)
|
|
||||||
|
# Домены для маршрутизации через VPN-RU
|
||||||
|
# IP автоматически добавляются в address-list=via-ru при DNS-запросе
|
||||||
|
|
||||||
/ip dns static
|
/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=".*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=".*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"
|
|
||||||
add type=FWD forward-to=8.8.8.8 regexp=".*astar\\.bz" address-list=via-ru comment="VIA-RU"
|
add type=FWD forward-to=8.8.8.8 regexp=".*astar\\.bz" address-list=via-ru comment="VIA-RU"
|
||||||
add type=FWD forward-to=8.8.8.8 regexp=".*coinbase\\.com" address-list=via-ru comment="VIA-RU"
|
add type=FWD forward-to=8.8.8.8 regexp=".*coinbase\\.com" address-list=via-ru comment="VIA-RU"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*figma\\.com" address-list=via-ru comment="VIA-RU"
|
||||||
|
add type=FWD forward-to=8.8.8.8 regexp=".*firsthost\\.lv" address-list=via-ru comment="VIA-RU"
|
||||||
Reference in New Issue
Block a user