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

    How to prevent access to porn site through pfsense server

    Scheduled Pinned Locked Moved pfSense Packages
    25 Posts 8 Posters 17.9k 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 Offline
      jigpe
      last edited by

      thanks sir
      jigp
      Davao City

      1 Reply Last reply Reply Quote 0
      • A Offline
        abd2002390
        last edited by

        i tried using squid guard mant time and dont do any thing and many time i press save and aplly and still stopped

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

          Take a look at the tutorial for squid guard. It shows you how to configure it step by step. Gotta love those Flash tutorials.

          -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
          • A Offline
            abd2002390
            last edited by

            thank u i have run it but i want to redirect to spicific webside when a user try to log to porn side

            1 Reply Last reply Reply Quote 0
            • L Offline
              LedHed
              last edited by

              You could always install the 'SquidGuard' Package, and deny access with the Porn Blacklist.

              1 Reply Last reply Reply Quote 0
              • A Offline
                abd2002390
                last edited by

                ok thank u
                i have do it
                but there was aproblem and he block browsing internet and redirict me to the main page of server web

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

                  If you can get to your router do the following:
                  Go to Services -> Proxy Content -> Default -> and click Destination Ruleset. (See Attachment 1)
                  Now Scroll to the bottom of your Ruleset list and find "Default Access [all]" Change this to access = allow (See Attachment 2)

                  Hope this helps.

                  attachement1.jpg
                  attachement1.jpg_thumb
                  attachement2.jpg
                  attachement2.jpg_thumb

                  -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
                  • A Offline
                    abd2002390
                    last edited by

                    yes i made this before
                    when i open any webside it direct me to th main page of server and ask for use name and pass

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

                      If you disable SquidGuard do you still get the usr and pass prompt?

                      -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
                      • A Offline
                        abd2002390
                        last edited by

                        yes and the problem does not been solved except i have the proxy server turned off

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

                          okay, so it sounds like you have something set wrong in Squid.
                          Are you running squid in transparent mode? If not try that. Also check your Auth settings in Squid.

                          -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
                          • J Offline
                            jigpe
                            last edited by

                            Is there a way to limit the download of x movies if they use ftp or ssh outside? Im assuming that the users cannot download porns like .avi files and .mpeg directly to the ftp outside.. How to get rid of this? Ive tried traffic shaper but no luck.. Still they can download porn x movies. I even blocked %.exe|.mpeg|.mpg|.mov still not working.. They can still download porn x movies..
                            jigp
                            Davao City

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

                              The only way to block transfers over SSH is to block SSH (port 22).  To block FTP you have to ensure you're blocking outbound connections to ports 20 and 21.

                              1 Reply Last reply Reply Quote 0
                              • J Offline
                                jigpe
                                last edited by

                                OT: how to change the proxy host ip and port? i have private proxy:port but i cannot see in the menu of squid even in squidguard there is no ways to change the proxy:port… right now im using my local proxy 192.168.2.1:3128 ... How to change to proxy ip:port? Thanks
                                jigp
                                Davao City

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