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

    Redirect and then allow original request squid

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 2 Posters 1.4k 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.
    • B
      bilbo
      last edited by

      I was wondering if it was possible to redirect a url to another page with a message on but then allow the original url by clicking a link on the message page?

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

        Dansguardian may have this ability with some changes on access denied page config options.

        While defining a group access, you can setup Temporary Denied Page Bypass value in seconds.

        This provides a link on the denied page to bypass the ban for a few minutes. To be secure it uses a random hashed secret generated at daemon startup.
        You define the number of seconds the bypass will function for before the deny will appear again.
        To allow the link on the denied page to appear you will need to edit the template.html or dansguardian.pl file for your language.
        300 = enable for 5 minutes

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

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • B
          bilbo
          last edited by

          Thanks Marceelloc I'll have a look at dansguardian later..

          In squid is it possible to setup a temporary redirect so that that the first time a a user/ip tries a url they are redirected but subsequent access of the url are not redirected?

          1 Reply Last reply Reply Quote 0
          • B
            bilbo
            last edited by

            back to basics , In squid how do I actually create a custom redirect to bbc.co.uk went to 192.168.0.5 for example, I can seem to get it working.

            Do I create a new targer category and add it to the common acl?

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