• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

How to block porn site

Scheduled Pinned Locked Moved Firewalling
4 Posts 4 Posters 5.4k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    ruslyislam
    last edited by Sep 4, 2012, 3:41 AM

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

    1 Reply Last reply Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator
      last edited by Sep 4, 2012, 4:49 PM

      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.

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.7.2, 24.11

      1 Reply Last reply Reply Quote 0
      • C
        Cry Havok
        last edited by Sep 4, 2012, 7:24 PM

        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.

        1 Reply Last reply Reply Quote 0
        • L
          LinuxTracker
          last edited by Sep 5, 2012, 3:19 AM

          @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.

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received