How to block porn site



  • hello everybody
    im just starting use pfsense.. how to block porn site with pfsense?


  • Rebel Alliance Global Moderator

    You can block whatever IPs / Networks you want with the firewall - normally these rules would be applied to the lan before the default allow on that interface.

    This would work for a handful of sites you want to block, be it porn or other inappropriate type sites.  But you would prob be better setting up squid/squidguard – proxy packages and using category/url based filtering.  Proxy can bet setup as either implicit or transparent mode.



  • You probably want to try searching the forum, this is the second thread on the subject in the last week…

    A combination of OpenDNS or similar and a proxy server (such as Squid plus SquidGuard) will get you started.



  • @Cry:

    You probably want to try searching the forum, this is the second thread on the subject in the last week…

    A combination of OpenDNS or similar and a proxy server (such as Squid plus SquidGuard) will get you started.

    I second this.  A lot of folks here use Shallalist w/ squidGuard to block all kinds of stuff.

    Note: Your user's computers/browsers have to be told/forced to use the proxy.
    A few options to do this are

    • Transparent Mode (simple - least configurable - captures all traffic)

    • Windows Group Policy

    • DHCP using WPAD option (My favorite - can be difficult - can capture all traffic)

    • Manually configuring each browser (weak - time consuming)

    An easier but less effective option is to use pfSense as everyone's DNS server and forward DNS queries to OpenDNS (who will filter DNS traffic if you set up a free account w/ them).

    Every site is different.  I have used each of the above options, often more than one.

    Dansguardian may be another option for you but I haven't worked with it yet.


Locked