# Configuration Guide# How to Block Facebook via A Custom URL
  

RegiBoy Lv4Posted 22 Aug 2022 16:47



# Configuration Guide# How to Block Facebook via A Custom URL
*Product: NGAF
*Version: 8.0.17

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

*1. Introduction
1.1 Scenario
Block FB by WebFiltering in Sangfor NGAF in participation of Sangfor HCI

32478630342e9a7810.png                              
1.2 Requirements
1. The user's network has HCI and NGAFdevices.
2. It is required to ensure the twodevice's network connectivity between them is normal.

*2. Configuration Guide
We will have the 192.168.1.0/24 networksegment for HCI and NGAF as the Internet gateway in this example.

2.1 NGAF Configuration
Step1: Login to NGAF. Go to Objects > Open Content Indentification Database > choose URL Database > Click Add.

4599263034303e1117.png

In Add URL Category window:
Name: Enter name. Ex: BlockFacebook
URL: Enter www.facebook and *.facebook.
URL Keyword: Enter facebook.com
Click OK
673886303431ea3f8c.png


Step 2: Go to Object > Security Policy Template > choose Content Security. Click Add.
295906303433fed74f.png

In New windows:
  • Name: Enter name.
  • Schedule: choose Work time (You can set in Object > Schedule > RecurringSchedule).
  • Click URL Filter and click icon PC.

426606303434dc56cd.png

URL Database: scroll down and choose Category is BlockFacebook, which you have create.
You can use the Search tool or choose the Categories in the URL Databasebelow that match the policy you want.
Click OK.
623226303435e18319.png

After set up all parameter. Click Ok.
6292263034372f2af9.png


Step 3: Go to Policies > Network Security >Policies. Click Add > choose Policy for Internet Access Scenario.
2492630343805b41c.png

In Add IP Group windows:
  • Name: Enter Name
  • Soucre: Choose Zone is LAN / Network Object choose LAN IP Group (You can create Network Object in Object tab > Network Object).
  • Destination: Choose Zone is WAN / Network Object choose All.
  • Click Next.

118536303438ce9772.png

In Protection tab: click choose Content Security and scroll down select BlockFB, which you have create.
Action: set Deny.
Click Next and Ok.
47771630343badf452.png


Step 4: Result
User can’t access to facebook site.
33882630343c557e93.png



*3. Precaution
1. During deployment,the communication between the  SangforHCI and Sangfor NGAF is establish and can the devices under HCI can ping thegateway (Sangfor NGAF)

Like this topic? Like it or reward the author.

Creating a topic earns you 5 coins. A featured or excellent topic earns you more coins. What is Coin?

Enter your mobile phone number and company name for better service. Go

Sangfor Jojo Lv4Posted 22 Aug 2022 17:05
  
Thanks for your sharing.
RegiBoy Lv4Posted 22 Aug 2022 17:11
  
Thank you also. Hoping to share more in the community
Newbie517762 Lv3Posted 22 Aug 2022 18:04
  
Thanks for the helpful advice !
IPS_len Lv2Posted 23 Aug 2022 16:30
  
Nice, another information to study. Thank you
Raja Azkar Lv2Posted 23 Aug 2022 16:45
  
Thanks for sharing
Faisal P Lv8Posted 24 Aug 2022 12:15
  
Thank you for your sharing and helpful article
Pat Lv3Posted 24 Aug 2022 14:32
  
This is a vey nice article. Please do more, RegiBoy
Imran Tahir Lv4Posted 24 Aug 2022 19:50
  
Thanks for sharing
Faisal P Lv8Posted 07 Oct 2022 10:28
  
Thank you very much for the information ...