Discord DNS FWD

  1. Добавляем домены Discord

/ip dns static
add address-list=DNS_FWD_VPN disabled=no forward-to=CloudFlare match-subdomain=\
    yes name=discord.gg ttl=1d type=FWD comment="Discord"
add address-list=DNS_FWD_VPN disabled=no forward-to=CloudFlare match-subdomain=\
    yes name=discord.com ttl=1d type=FWD comment="Discord"
add address-list=DNS_FWD_VPN disabled=no forward-to=CloudFlare match-subdomain=\
    yes name=discord.co ttl=1d type=FWD comment="Discord"
add address-list=DNS_FWD_VPN disabled=no forward-to=CloudFlare match-subdomain=\
    yes name=dis.gd ttl=1d type=FWD comment="Discord"
add address-list=DNS_FWD_VPN disabled=no forward-to=CloudFlare match-subdomain=\
    yes name=discordstatus.com ttl=1d type=FWD comment="Discord"
add address-list=DNS_FWD_VPN disabled=no forward-to=CloudFlare match-subdomain=\
    yes name=discord.gift ttl=1d type=FWD comment="Discord"
add address-list=DNS_FWD_VPN disabled=no forward-to=CloudFlare match-subdomain=\
    yes name=discord.new ttl=1d type=FWD comment="Discord"
add address-list=DNS_FWD_VPN disabled=no forward-to=CloudFlare match-subdomain=\
    yes name=discord.dev ttl=1d type=FWD comment="Discord"
add address-list=DNS_FWD_VPN disabled=no forward-to=CloudFlare match-subdomain=\
    yes name=discordcdn.com ttl=1d type=FWD comment="Discord"
add address-list=DNS_FWD_VPN disabled=no forward-to=CloudFlare match-subdomain=\
    yes name=discord.media ttl=1d type=FWD comment="Discord"
add address-list=DNS_FWD_VPN disabled=no forward-to=CloudFlare match-subdomain=\
    yes name=discord.app ttl=1d type=FWD comment="Discord"
add address-list=DNS_FWD_VPN disabled=no forward-to=CloudFlare match-subdomain=\
    yes name=discordapp.net ttl=1d type=FWD comment="Discord"
add address-list=DNS_FWD_VPN disabled=no forward-to=CloudFlare match-subdomain=\
    yes name=discordapp.com ttl=1d type=FWD comment="Discord"
  1. Добавляем маркировку соединения по маркеру 34 от ПК

/ip firewall mangle add action=mark-connection chain=prerouting comment="Discord 34" connection-mark=no-mark dscp=34 in-interface-list=LAN new-connection-mark=to_dpi
  1. Закрываем на всех ПК Discord

  2. В CMD на ПК вводим

ipconfig /flushdns
  1. Открываем на всех ПК PowerShell от имены админа

  2. Вставляем команду, которая будет ставить маркер 34 на трафик приложения Discord

New-NetQosPolicy -name "discord" -NetworkProfile All -DSCPAction 34 -AppPathName discord.exe -IPProtocol Both

Last updated