I am a new RB2011 router user and I learn it now. I would like to do a Layour7 protocol. This protocol is going but I have problem. If I filtered a long name of sites for example “11111.aaaaa.bbbbb.akamaitechnologias.com” or “11111.aaaaa.bbbbb.akamaitechnologias.net” and I give regexp → “akamaitechnologies” my lyout7 function do not work well and not enable to load that sites.
Please help me what is the correct regexp rule. I tryed more for exapmles:
regexp = “^(.*)(akamaitechnologies)(.&)$”
or
regexp = “^(.akamaitechnologies)$”
or
regexp = “^(akamaitechnologies)”
or
regexp = “akamaitechnologies”
First, thank you for your kindness to answer to my question.
Unfortunatelly the regexp formula does not work. I do not know why and after I put it in the regexp the browser openes everything. So I would like to ask that I have to write to the regexp exactly as you wrote → “(^|.\.)akamaitechnologies\..”
Second please help me that how to write to the regexp the “akamaihd” key world (the domain is “akamaihd.net”?
add the following lines and then open a new incognito tab and try to reach http://www.akamai.com/ (it should fail and you will see packets increasing for that rule on /ip firewall filter print stats )
I appreciate your effort and help to me. Thank you…
But when I read your latest advise I perhaps realize what is the problem. You wrote "In this case you’re blocking every **.akamai. domain. " but what I want that is opposite.
So I would like to block everyting except akamaihd and akamaitechnilogies domains.
Please write to me how can I give the rule in this case?
I am using your layer7 rules and it is going well. But I have a little problem. I can not resolve 94.21.255.209 ip address with nslookup in console. I do not understand why.
If you had some ideas please write them down to help me.