Navigation

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

    Squidguard rewrite/redirect Youtube for schools

    pfSense Packages
    2
    3
    3114
    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.
    • N
      niebla last edited by

      Pfsense 2.0.1 latest build. Everything working great with Squid, squidguard,and Muli-wan.

      Trying to rewrite youtbe.com -> http://youtube.com/?edufilter=zyshXjlHxWvXP-I9x3Wqjg

      Should be easy? Not sure I understand rewrite vs. redirect as the best solution.

      Added target category youtube
      block youtube in ACL
      Have rewrite defined
      click on apply and also restarted squid and squidguard services

      I will keep trying
      At one point using redirect only was getting it to redirect but getting a redirect loop in the client browser.

      Have not found any step by step how to do a simple redirect.

      Any advice is appreciated.

      International school in Chiang Mai Thailand

      1 Reply Last reply Reply Quote 0
      • N
        Nachtfalke last edited by

        Hi,

        I would give you some suggestions which could work:
        On the web there are some blacklists which contain youtube. www.shallalist.de filters adult content on youtube with this URL:
        youtube.com/verify_age
        So if you block this page noone should be able to click on "I am older than 18". This should filter adult content on youtube.

        In my understanding the intention of rewrite is:
        Someone is going to browse to www.google.com then the request will be rewritten to something else - lets say www.bbc.com
        Just like changing the DNS.

        Not sure but redirect seems to have more the intention to redirect someone to a "block" page.

        1 Reply Last reply Reply Quote 0
        • N
          niebla last edited by

          Thanks. I will try rewrite and post when I figure it out.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Products

          • Platform Overview
          • TNSR
          • pfSense
          • Appliances

          Services

          • Training
          • Professional Services

          Support

          • Subscription Plans
          • Contact Support
          • Product Lifecycle
          • Documentation

          News

          • Media Coverage
          • Press
          • Events

          Resources

          • Blog
          • FAQ
          • Find a Partner
          • Resource Library
          • Security Information

          Company

          • About Us
          • Careers
          • Partners
          • Contact Us
          • Legal
          Our Mission

          We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

          Subscribe to our Newsletter

          Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

          © 2021 Rubicon Communications, LLC | Privacy Policy