Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
hidayet
New Contributor

Url site block

Hi, extension com.tr how close the sites do not?
http://www.hidayetaltun.com
http://www.hidayetaltun.com
7 REPLIES 7
hidayet
New Contributor

FortiOs 4.0 uses
http://www.hidayetaltun.com
http://www.hidayetaltun.com
rwpatterson
Valued Contributor III

I don' t understand...

Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com

Bob - self proclaimed posting junkie!See my Fortigate related scripts at: http://fortigate.camerabob.com
hidayet
New Contributor

How can I block clients to access any web sites which don' t have " com.tr" extension. I' m using FortiOS 4.0
http://www.hidayetaltun.com
http://www.hidayetaltun.com
abelio
Valued Contributor

if you prefer to use regexp to be stricter, try play with URL= /\bcom\.tr\b/i Type=Regexp Action Block If you prefer to use ' Simple' as Type, using " com.tr" as URL could help, but with this setting, an URL as polycom.tr could trigger also the score.

regards




/ Abel

regards / Abel
hidayet
New Contributor

I think there' s a misunderstanding. I want to block all websites except the ones with " .com.tr" ... for example, my clients would be able to open www.google.com.tr but they won' t be able to open www.google.com
http://www.hidayetaltun.com
http://www.hidayetaltun.com
abelio
Valued Contributor

ah ok, that' s is really another very different thing.. to block all websites use this regexp: ^.*$ (action Block obviously..) put above /\bcom\.tr\b/i (action Allow)

regards




/ Abel

regards / Abel
hidayet
New Contributor

Thanks for information. We have solved the problem with creating 2 rules. First one allows to access .com.tr -> .*\.com\.tr And second one blocks all sites -> .* Thanks anyway.
http://www.hidayetaltun.com
http://www.hidayetaltun.com
Labels
Top Kudoed Authors