How to Block Access HTTP and HTTPS Facebook with pfSense Firewall Rules

Problem: How to create alias and block Facebook traffic (IP Addresses and HTTP/HTTPS URL of Facebook) using pfSense firewall rules. Following steps are useful with sites such as Facebook that consume large amounts of IP range but are constrained within a few net blocks.

Solution

Step 1: Find Facebook autonomous system OriginAS or ASN number of Facebook IP registration at Facebook Peering Policy.

Peering Information as below: ASN: AS32934 Suggested Prefix Limit: 100

PeeringDB: as32934.peeringdb.com

Originally published at pupuweb.com on September 26, 2018.

Written by

Technology Blogger writing about emerging technologies (pupuweb.com) and marketing/lifestyle (paminy.com)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store