Sunday, March 20, 2016

BLOCK YOUTUBE


/ip firewall mangle
add action=add-dst-to-address-list address-list=youtube-block chain=\
    prerouting content=youtube.com
/ip firewall filter
add action=drop chain=forward comment="Youtube Block By HAMZA KHALIL" \
    src-address-list=youtube-block

7 comments:

  1. Good Work Hamza ,,brother is se youtube mukamal network par band ho gai ha mjhy aik user ko youtube access rokna ha please script bta dain.thank you
    Ali hamza

    ReplyDelete
  2. i want to grant only one web site access to a spacific user how can i do it.(hotspot)

    ReplyDelete
    Replies
    1. for example just allow youtube ..
      /ip firewall filter
      add action=drop chain=forward comment="Youtube allow" dst-address=\
      ##USER-ADDRESS src-address-list=!youtube-ips
      /ip firewall mangle
      add action=add-dst-to-address-list address-list=youtube-ips chain=prerouting \
      content=youtube.com

      Delete
    2. thanks for your reply borther youtube to allow ho gia but baki net access band kesy ho ga user ka,,user k pas abhi google ,and all other webs open ho rahi hain.Thanks

      Delete
  3. how does this script work??? can anybody help me

    ReplyDelete