Страницы

Mikrotik — настройка IPTV (igmp-proxy) | Небольшой Блог Системного Администратора

Mikrotik — настройка IPTV (igmp-proxy) | Небольшой Блог Системного Администратора


Mikrotik — настройка IPTV (igmp-proxy)


Для возможности просмотра IP-TV на столь хорошем роутере Mikrotik, необходимо, чтобы был установлен и включен пакет multicast. Если пакет уже установлен, то в консоли роутера, Winbox и Web-интерфейсе в разделе
Routing, будет доступен пункт
Igmp-Proxy.
Настройка через консоль:
— устанавливаем quick-leave в yes, что позволит ускорить переключение между каналами
— добавляем интерфейсы: bridge — в моем случае локальная сеть, ether1 — интерфейс подключения к провайдеру
routing igmp-proxy set quick-leave=yes
routing igmp-proxy interface add interface=bridge
routing igmp-proxy interface add interface=ether1 alternative-subnets=0.0.0.0/0 upstream=yes
— правила firewall необходимо переместить в верх списка, выше правила drop всех пакетов в цепочках incput и forward
— в правиле цепочки forward, необходимо указывать dst-port номер порта на который провайдер присылает IP-TV трафик. Нужный порт обычно можно подсмотреть в плей-листе провайдера.
ip firewall filter add chain=forward dst-port=1234 protocol=udp
— дополнительные настройки, для работы multicast трафика в WiFi сети, с учетом 0 (нулевого) номера wlan интерфеса
interface wireless set 0 multicast-helper=full
interface wireless set 0 wmm-support=enabled

Computer Networking

Computer Networking


Computer Networking

MikroTik RouterOS - Port Forwarding
Overview This article is written by Server Management Inc. IT systems administrator Timo Puistaja - 19.04.2017, Tartu, Estonia. Need help configuring your device? Contact us info@serman.ee Port...
MikroTik RouterOS - SSTP VPN with certificates
Overview This article is written by Server Management Inc. IT systems administrator Timo Puistaja - 19.04.2017, Tartu, Estonia. Need help configuring your device? Contact us info@serman.ee Usually we need...
MikroTik RouterOS - Best practice firewall
Overview This article is written by Server Management Inc. IT systems administrator Timo Puistaja - 19.04.2017, Tartu, Estonia. Need help configuring your device? Contact us info@serman.ee This is one of...
MikroTik RouterOS - Dual WAN failover routing without scripting (2 methods)
Overview This article is written by Server Management Inc. IT systems administrator Timo Puistaja - 03.03.2017, Tartu, Estonia. Need help configuring your device? Contact us info@serman.ee In many...
MikroTik RouterOS - Basic configuration

View Article

View Article

https://serman.maxdesk.com/user/viewarticle/8289

Logging

This is VERY important - by default MikroTik holds its logs on RAM which means if you reboot the device when you are in trouble - you will lose all the logs. We will setup MikroTik to keep logs on Disk:
  1. System - Logging: switch warning; error, critical and info topics to action TO disk, this mean they will be saved on Disk.
  2. Go to Actions menu and configure Disk to save lots of logs: Lines Per File 50000; File Count 10; Stop on Full = NO!
#8289

(1) Mikrotik NetWatch with Telegram - YouTube

(1) Mikrotik NetWatch with Telegram - YouTube



:local ping
:local maxping 10
:local packet
:local percentage
:local loss
:local min 4
:set ping [/ping 1.1.1.1 count=$maxping interval=0.1];
:if ($ping > 5 ) do={
:log info ("Router replied OK");
} \
else={
($ping < $min )
:set packet ($maxping - $ping);
:set percentage (($ping * 100) / $maxping)
:set loss (($packet * 100) / $maxping)
:log info "Recieved $percentage% of packets"
        /tool fetch url="https://api.telegram.org/bot...............\?chat_id=-..........&text=outer Warning !! Ping to 1.1.1.1 resulted $ping / $maxping   packets recieved $loss% packet loss !"
}

Safe DNS - Phalla CCMT

Safe DNS - Phalla CCMT

Safe DNS

You can use free DNS that does not require public IP. Here is the one I am very happy with (Norton ConnectSafe):
Policy A — Security
This policy blocks all sites hosting malware, phishing sites, and scam sites. To choose Policy A, use the following IP addresses as preferred and alternate DNS server addresses:
199.85.126.10
199.85.127.10


Policy B — Security + Pornography
In addition to blocking unsafe sites, this policy also blocks access to sites that contain sexually explicit material. To choose Policy B, use the following IP addresses as preferred and alternate DNS server addresses:
199.85.126.20
199.85.127.20


Policy C — Security + Pornography + Non-Family Friendly
This policy is ideal for families with young children. In addition to blocking unsafe sites and pornography sites, this policy also blocks access to sites that feature mature content, abortion, alcohol, crime, cults, drugs, gambling, hate, sexual orientation, suicide, tobacco, or violence. To choose Policy C, use the following IP addresses as preferred and alternate DNS server addresses
199.85.126.30
199.85.127.30


Sources:
https://en.wikipedia.org/wiki/Norton_ConnectSafe
https://dns.norton.com/configureRouter.html

четверг, 13 сентября 2018 г.