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

    Prevent all redirects by mobile provider

    Scheduled Pinned Locked Moved Firewalling
    6 Posts 3 Posters 1.3k 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 Offline
      gemmiu
      last edited by

      Hello,

      i would like to prevent all redirects by the mobile data plan provider.

      The reason for this is, that we are using the captive portal with a mobile data plan and if the bought data expire, the mobile provider redirects to a page, where you can buy extra data, without need to login.

      Is it possible to prevent all of these redirects?

      1 Reply Last reply Reply Quote 0
      • M Offline
        markn62
        last edited by

        You should decide what you want to do with the redirects, simply block them, redirect to your own page, what?

        1 Reply Last reply Reply Quote 0
        • G Offline
          gemmiu
          last edited by

          I just want to block them.

          1 Reply Last reply Reply Quote 0
          • G Offline
            gemmiu
            last edited by

            Hi,

            I'm still searching for a solution for this.

            A redirect to a custom page would also be ok.

            Thank you in advance.

            1 Reply Last reply Reply Quote 0
            • M Offline
              markn62
              last edited by

              If you simply block with a rule the client will get a "network error" or "page not found" error.  This is generally undesirable as it usually causes user confusion and complaint calls.  Better to redirect to an HTTP server on your local network to a static webpage explaining the redirect.

              Decide if you want to block or redirect and I'll provide the info.  I'll monitor this thread for your reply.

              1 Reply Last reply Reply Quote 0
              • N Offline
                nothing
                last edited by

                You can not block redirected page if your operator is using destination NAT.
                Only possible way in this case is if you can capture the event of "expiration" and do redirect before the operator.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                Privacy Policy · Cookie Policy