Navigation

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

    How to block porn site

    Firewalling
    4
    4
    5130
    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

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

      1 Reply Last reply Reply Quote 0
      • johnpoz
        johnpoz LAYER 8 Global Moderator last edited by

        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
        2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.01

        1 Reply Last reply Reply Quote 0
        • Cry Havok
          Cry Havok last edited by

          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

            @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
            • First post
              Last post