Skip to main content
duong
New Member
May 29, 2017
Solved

Block facebook, youtube, skype and amazon

Hi all,

 

I am a Newbie, I using Foretigate 300D, I need block "facebook, youtube, skype, gmail and amazon" and just open some ip as required. Please help me!

 

Thanks!

    hmtay_FTNT
    Staff
    June 1, 2017

    Hello duong,

     

    You can do so with Application Control. Under Security Profiles, select a sensor that you are going to use in your policy. Add the signatures Facebook and all its children (Facebook_xxx), YouTube, Skype and Amazon and all their children into your policy. Set them to Block. 

     

    Make sure that you set your policy to use that sensor and enable at least certificate-inspection. That should block the usage of those applications. 

     

    HoMing

    10 replies

    Sudarsan_Babu
    New Member
    May 29, 2017

    Hi Duong ,

     

    what Firmware version ?

     

     

    hmtay_FTNT
    Staff
    Staff
    June 1, 2017

    Hello duong,

     

    You can do so with Application Control. Under Security Profiles, select a sensor that you are going to use in your policy. Add the signatures Facebook and all its children (Facebook_xxx), YouTube, Skype and Amazon and all their children into your policy. Set them to Block. 

     

    Make sure that you set your policy to use that sensor and enable at least certificate-inspection. That should block the usage of those applications. 

     

    HoMing

    duong
    duongAuthor
    New Member
    June 9, 2017

    Hi all,

     

    I using Foretigate 300D, v5.4. I need your help how to allow specific ip from LAN to access facebook and youtube?. step by step procedure would be really helpful.

     

    Thanks!

    hmtay_FTNT
    Staff
    Staff
    June 9, 2017

    Hello duong,

     

    If you can contact your local support to help you, it will be the best solution since they can help you if some settings arent correct.

     

    Otherwise, here are the rough steps:

     

    1) Go to Policy & Objects-> Addresses. Create a new address group that includes all the IPs that you want to allow YouTube, Facebook, etc.

    2) Create 2 policies in IPv4 Policy. The first one should contain the address group you created in 1) and have the signatures set to Allow. The second policy then has the signatures set to Block.

     

    E.g.

    edit 1         set name "wifi"         set uuid 361c7d7a-2413-51e6-0f0a-340c73277268         set srcintf "wifi"         set dstintf "wan2"         set srcaddr "allowedip"         set dstaddr "all"         set action accept         set schedule "always"         set service "ALL"         set utm-status enable         set logtraffic all         set application-list "default-allow"         set profile-protocol-options "default"         set ssl-ssh-profile "certificate-inspection"         set nat enable     next

    edit 2         set name "wifi"         set uuid 361c7d7a-2413-51e6-0f0a-340c73277268         set srcintf "wifi"         set dstintf "wan2"         set srcaddr "all"         set dstaddr "all"         set action accept         set schedule "always"         set service "ALL"         set utm-status enable         set logtraffic all         set application-list "default-block"         set profile-protocol-options "default"         set ssl-ssh-profile "certificate-inspection"         set nat enable     next

     

    Policy ID 1, since it is above 2, will have priority. And since the address group is "allowedip", it will use the application sensor "default-allow". The rest of the IP in the interface "wifi" will be under policy ID 2 and have the application sensor "default-block".

     

    HoMing

    DingDong
    New Member
    July 7, 2017

    Create a web filter. In the web filter you can whitelist or block single URLs, IP Addresses or wildcard URLs and also block them under Security Profiles -> Web Filter -> Static URL Filter

     

    Hope this helps you

    ThePro
    New Member
    August 29, 2017

    If I do it through Application Control it works, but through WebFiltering it does not work. Its the same Policy I just turned off Application Control on the policy and enabled Web Filter with a custom profile with URL Filter turned on and URL - 8facebook.com, Tye - Wildcard, Action - Block, Status - Enable (everything else on that profile is turned off).

     

    Any pros/cons of doing it through Application Control instead of Web Filtering? When a page is blocked though Application Control is there a way to show the users a message? (Right now it just tries to keep opening the page, but it never loads. Is there a way of displaying a message like it does when WebFiltering works).

     

    I would still like to know why WebFiltering is not working. Any ideas?

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT