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.


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


Originally published at on September 26, 2018.

Written by

Technology Blogger writing about emerging technologies ( and marketing/lifestyle (

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