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

    Proxy settings

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 3 Posters 1.1k 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.
    • K
      kingss
      last edited by

      please can anybody tell me how can i use either squid, squidguard or dansgaurdian to block all sites allowing only two sites to be accessible to internet e.g. yahoo and google

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        To block all sites, just insert a . on squid blacklist.

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

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

          pls dont be offende explain beter on how to block all internet access leaving only yahoo mail and google site thanks

          1 Reply Last reply Reply Quote 0
          • KOMK
            KOM
            last edited by

            Using Squid and SquidGuard, go to Services - Proxy filter.  Click the Target categories tab and add a new one.  Give it a name and add your allowed domains to the Domain List.  Click Save.  Go to the Common ACL tab and click the green arrow button to expand the Target Rules List.  Make sure your Target category is listed at the top and its access is set to allow.  Underneath that (because the rules are processed in order from top down) make sure that Default access [all] is set to deny.  Set your Proxy Denied Error, Redirect mode, and Redirect info to whatever you need.  Click Save.  Go to the General settings tab.  Click Save, then click Apply.

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