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

    Block p2p with squid

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 4 Posters 6.8k 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.
    • J
      jonnytabpni
      last edited by

      If I install Squid on my pfsense box, and block all outgoing ports, and force people to change their browser settings to use the proxy, would this block p2p things like BitTorrent and Limewire?

      Thanks

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

        Assuming they aren't proxy capable, yes.

        Don't forget you'll need to allow DNS and DHCP to the pfSense server

        1 Reply Last reply Reply Quote 0
        • K
          Koti
          last edited by

          Block the ports with fw rules, allowing only the required ports like 53/UDP 110, 25 etc and then two words added in blacklist like "announce and tracker" will possibly block p2p apps.

          1 Reply Last reply Reply Quote 0
          • T
            tommyboy180
            last edited by

            uTorrent will get out on a single open port including DNS. I have been unsuccessful in being able to completely block p2p. More and more p2p torrent applications will tunnel their way through anything.
            Even if you block every single tracker out there DHT will still work.

            If this is for a work environment or a place where there are professional consequences then the only way to handle p2p traffic completely is to have your users sign an agreement and hold them accountable when that agreement is broken.

            -Tom Schaefer
            SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

            Please support pfBlocker | File Browser | Strikeback

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.