Home > UTM Firewall > Pfsense > En > Blocking Https Facebook and Twitter on PFSense

Blocking Https Facebook and Twitter on PFSense

Hello Fellas in this section we will ;

  • • Learn to block https sites which are using transparency Proxy on PfSense.
  • • As an example ; We’ll block both Twitter and Facebook
  • • Create Aliases and Rules on PfSense.



1-) Click on firewall –>Aliases .

pfsense_face_twit_block01

2-)Create an Aliases allow us to block publisher server and its Ip adress’. To find a publisher on cmd screen

“nslookup www.sitesname.com”

pfsense_face_twit_block002

However there are lots of Facebook and twitter publisher sites so i’ve found their ip Now , to create an aliases click + sign on right site “Add a new alias”.
pfsense_face_twit_block02

3-) Edit screen like this.

pfsense_face_twit_block03
Facebook IP list that we need to block’em.
173.252.0.0
31.13.0.0
68.68.0.0
66.171.0.0
69.171.0.0
74.119.0.0
To save changings click on “Apply Changings”.pfsense_face_twit_block04

4-) To create a rule for our aliase click on Firewall–>Rules-LAN Section

pfsense_face_twit_block06

5-)

pfsense_face_twit_block07

6-) Now Twitter Let’s create a blocking rule for Twitter ; Firewall>Aliases and fill it as below.

pfsense_face_twit_block08

Twitter IP list that we need to block’em.
199.16.156.0
199.59.150.0
199.59.149.0
199.59.148.0

7-) Alias page should be like this.

pfsense_face_twit_block09

😎 Same settings for blocking facebook in this.
Rule page should be like this which is below.In this screen to disable a rule click on red cross mark left corner on the screen by this way related facebook rule set as disable.

pfsense_face_twit_block11

9-) Our Facebbok rule is online and as you can see we can’t open Facebook and this screen will appear.pfsense_face_twit_block12

Hope this will help

Created By

Serdar Bayram.

Hakkinda Serdar Bayram

Bu yazı blog üzerinde Serdar Bayram tarafından hazırlanıp paylaşılmıştır. 2009 yılında açılan blogum kısa zaman içerisinde paylasımları ile dikkat cekip büyük bir izleyici kitlesine sahip olmuştur.

ilginizi Cekebilir

Pfsense Captive portal MSRadius AD Authentication

Hi friends MS Radius server with our present-day issues on the portal Captive pfSense acted …

Pfsense Postfix Forwarder installation and Configuration

Hello friends on this subject in our day What is Postfix? Package installation on pfSense …

Bir cevap yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

*