Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    SquidGuard Rewrites

    Scheduled Pinned Locked Moved Cache/Proxy
    2 Posts 2 Posters 1.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.
    • G
      gripers
      last edited by

      Hi,

      Just installed squid and squidguard. I have the proxy and filtering working for the most part.

      I've googled and tried various settings for days but still can't get rewrites to work specifically for youtube to restrict.youtube.com

      I'm trying to understand how the rewrite functions works.

      Am I correct in that once you define rewrites you need to specify which list to use in the ACL. Ie common acl.

      Can't get it to redirect.

      I've tried to rewrite one website to another just to see if i can get it working.

      Any info or advice on how the rewrite function specifically works would be appreciated.

      For example if I wanted to redirect

      m.youtube.com to restrict.youtube.com

      how would I go about it?

      1 Reply Last reply
      Reply Quote 0
      • cwagzC
        cwagz
        last edited by

        I think the best way to force YouTube and google into safe mode is to use DNS overrides.  This is what I have on my network.  The rewrites rarely work anymore as everything is HTTPS.

        See my post here:

        https://forum.pfsense.org/index.php?topic=133689.msg738677#msg738677

        Netgate 6100 MAX

        1 Reply Last reply
        Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
        Privacy Policy · Cookie Policy