Skip to main content
dlabacs
New Member
July 31, 2014
Question

Block Facebook and Youtube

  • July 31, 2014
  • 9 replies
  • 80936 views
Hi, Newbie Here. I really had a hard time in configuring our new Fortigate Device to block Facebook and Youtube during work hours. I went to URL filtering but it doesn' t work for me. My fortigate device/version is 200B. Please help. Thanks.

    9 replies

    lightmoon1992
    New Member
    July 31, 2014
    You need to define three profiles actually to tighten it the most: 1- SSL inspection profile enabling the HTTPS scanning 2- webfiltering profile with appropriate setting to bandwidth consuming and personal categories 3- application control controlling the social networking traffic (you can selectively define specific application signatures only) Mohammad
    dlabacs
    dlabacsAuthor
    New Member
    August 5, 2014
    Thanks Sir.. I did the advice and it works:)
    Phillyidol
    New Member
    August 27, 2014
    Just out of curiosity, do the above steps block the https URL with youtube, or just basic http? I started a post under Web Filtering on this because we can' t seem to block the https URL for youtube without blocking ALL other https URL' s.
    Dave_Hall
    New Member
    August 27, 2014
    There are two general methods on the Fortigate to determining which URL is being visited on via HTTPS. One way is to enable deep (packet) inspection (profile) on the fw policy -- this is where the Fortigate will substitute it' s own security certificate so it is able to decrypt the traffic to see what URL is being visited. However, unless you install the Fortigate' s own security cert. on the workstation (in question), the web browser client will report a cert error when connecting (aka " Man-in-middle" attack) to the website. Of course you can always live with that error message (but it sets a bad precedent, IMHO). The other method deployed by the Fortigate is to check the domain name on the security cert of the web site -- this generally works well, providing the domain name listed in the security cert is not a wild-card...such as one deployed by Google (ie. Youtube). You could always try setting up an app sensor for blocking youtube (which I think is listed as google/media.) Considering most of our clients do not managed networks (e.g no AD servers, " open" workstations) installing fgt sec certs on workstations is out of the question, we have resorted to creating blocks of addresses, covering most of the youtube IP address space range, and setting up firewall blocks to them, either on the time-based and/or port base (any or HTTPS). A bit ugly and not perfect.
    Fatih
    New Member
    October 9, 2014
    Hi, You can get help from the link below http://docs.fortinet.com/d/fortigate-configuring-fortios-v5.0-webfiltering-for-https-scanning-without-ssl-deep-scanning/download
    mramon79
    New Member
    October 31, 2014
    Hi, First of all sorry for my english. If you want to block access to facebook and youtube without SSL inspection, create a policy with destination those domains(fqdn) and action--deny. Regards
    Amiko
    New Member
    November 3, 2014

    hi all, how to block only facebook games and apps? 

     

    https://www.facebook.com/games/

     

    https://apps.facebook.com/

     

     

    Centrocito
    New Member
    November 4, 2014

    dlabacs wrote:
    Hi, Newbie Here. I really had a hard time in configuring our new Fortigate Device to block Facebook and Youtube during work hours. I went to URL filtering but it doesn' t work for me. My fortigate device/version is 200B. Please help. Thanks.

    Remember that facebook use HTTPS not HTTP make sure to block the correct one

    Adrian_Buckley_FTNT
    Staff
    Staff
    November 7, 2014

    Blocking Facebook games and apps with WF isn't going to work very well. Use the App control signature Facebook.app

    VenkateshBoddula
    New Member
    September 25, 2016

    Hello,

     I have fortinet 60c device. I would like to configure a policy for Wi-Fi who are using through laptop to block facebook and twitter.

    Please help me in this.

     

     

    suri
    New Member
    November 3, 2016

    sir,

    i have blocked youtube and facebook in our fortigate 80c. facebook blocked and youtube it is working for those who use laptops which is not in domain. how to resolve this issue.