Friday, June 13, 2014

pfSense


pfSense : super firewall + router



Let me share to you how to INSTALL and CONFIGURE some basics in pfSense.
[blocking https sites like Facebook , squid and squid guard for web filtering , captive portal and more...]
my pfSense guide will cover :

How to Install pfSense
I'm installing the 2.1.3 version of pfSense

# How to block HTTP and HTTPS websites (e.g. Facebook)
I'll block Facebook website as example... http and https.

# How to filter web browsing with squid+squidguard
Blocking bad sites (e.g. PornSites) using BlackList, restrict downloads, torrents, etc...

# How to set up a captive portal
Authenticate (username and password required) a user before giving access to the Internet.

# How to block Youtube
Block Youtube using pfSense and OpenDNS


# How to setup Web Proxy Report 
Set up Lightsquid to generate network usage reports

Video versions of tutorials here.


About pfSense:
"The pfSense® project is a free, open source customized distribution of FreeBSD specifically tailored for use as a firewall and router that is entirely managed via web interface. In addition to being a powerful, flexible firewalling and routing platform, it includes a long list of related features and a package system allowing further expandability without adding bloat and potential security vulnerabilities to the base distribution. The pfSense project has become a fairly popular project with more than 1 million downloads since its inception, and proven in countless installations ranging from small home networks protecting a single computer to large corporations, universities and other organizations protecting thousands of network devices." [source: https://www.pfsense.org/about-pfsense]


Details about my actual setup:

-- My pfSense box as router and firewall

-- I have Windows Server 2008R2 serving more than 200PC with hundreds of users. I'm using
 the Active Directory feature for my Captive portal setup.

-- I also have a WiFi router and some switches. 



My pfSense specs:

                CPU - Pentium4 3.0Ghz
                Board - Old Gigabyte socket775
                RAM - 4Gig DDR2 (2x2G)
                HDD - Seagate 160G SATA
                NIC - 2 Intel Pro/100+


Minimum Hardware Requirements:
          • CPU - Pentium II processor
          • RAM - 256 MB
          • 1 GB hard drive
Yes, you can use your old working PC. :D


For more details about pfSense like list of features, hardware requirements, support and other services...
please visit the official website