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

    ISP Redirect to Payment Notification

    General pfSense Questions
    6
    18
    1.5k
    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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      They may cut off subscribers for reasons other than payment of course which would be useful to know about.

      It's hard to see what could have changed between 2.4.3 and 2.4.4 that prevents this with the clients using the ISPs DNS servers directly.

      Try to test what's actually happening. Try to resolve something. Try to traceroute to something.

      And, yes, what actual error does the browser show when it fails to be redirected.

      Steve

      1 Reply Last reply Reply Quote 0
      • S
        Sensiva
        last edited by

        @Gertjan
        I don't know if it is a captive portal or something else. In my first post I mentioned that I was able to be redirected to the ISP notification by using the configration illustrated in the link which was discussing an ISP using a captive portal.

        When I mentioned DNS supplied by ISP I meant that I used DNS servers appearing in the PPPoE interface status in pfSense. Therefore in my test I just changed my computer network interface configuration to use ISP DNS IP instead of pfSense IP (DNS Resolver)

        Btw my ADSL connection is a dynamic PPPoE made through a bridged ADSL router

        @Gertjan & @Derelict
        I am sorry, It seems that I didn't elaborate my point well enough. I understand that in order to go online again I must pay. That's totally out of question lol.
        Some ISPs use this lousy mechanism to deliver various announcments, not only payment. Add for this online payment isn't possible when unable to get access to the redirected page.

        Anyway my point is to find out why v2.4.3 is able to show these URL redirects/announcements while 2.4.4 can't do the same, given that both are configured exactly the same.

        So I am deliberatily not paying to keep the issue active so we can go troubleshoot as much as I can (staying offline is an annoying thing, and using cell modems is painful with pfSense and costy too)
        That's why I am mentioning I am not going to pay :D

        Now the technical part:
        v2.4.3 machine console:
        - DNS resolves any domain correctly. However No ping replies
        - Traceroute fails
        - Gateway status is offline

        Client behind v2.4.3 firewall:
        - DNS resolves any domain correctly. However No ping replies (using cmd)
        - Traceroute fails
        - Opening any URL redirects to the ISP notification
        
        v2.4.4 machine console:
        - DNS resolves any domain correctly. However No ping replies
        - Traceroute fails
        - Gateway status is offline
        
        Client behind v2.4.4 firewall:
        - DNS resolves any domain correctly. However No ping replies (using cmd)
        - Traceroute fails
        - Opening any URL yields to error "Server timed out" or "Server took too long to respond"
        

        Please, note:
        - When changing DNS I flush DNS cache before doing the next test
        - When checking redirected page in the browser, I use incognito mode and terminal browser lynx to avoid caching/cookies issues
        - I am testing using pfSense 2.4.4 upgraded from 2.4.3 and a clean install of 2.4.4 which behaves the same way

        I will not pay for the sake of doing further tests :D

        GertjanG 1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan @Sensiva
          last edited by Gertjan

          @sensiva said in ISP Redirect to Payment Notification:

          v2.4.4 machine console:

          • DNS resolves any domain correctly. However No ping replies
          • Traceroute fails => Normal ...
          • Gateway status is offline

          Gateway down is your problem.
          This is tested by sending a ping to an IP, somewhere up stream, that is considered your gateway - and could be any IP on the Internet.

          When the ping doesn't work, your WAN will be considered down by pfSense.
          Try changing the Gateway IP to an IP that is still reachable even when you didn't pay the bill, or disable Gateway Monitoring altogether.

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          S 1 Reply Last reply Reply Quote 0
          • S
            Sensiva @Gertjan
            last edited by Sensiva

            @gertjan This gateway is automatically assigned by the PPPoE connection.

            Note that although the gateway shows offline in v2.4.3 machine, the browser is redirected to the ISP notification page

            johnpozJ 1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator @Sensiva
              last edited by johnpoz

              @sensiva said in ISP Redirect to Payment Notification:

              Note that although the gateway shows offline in v2.4.3 machine, the browser is redirected to the ISP notification page

              Sorry not possible - unless in you 2.4.3 settings you have it set always consider gateway up on loss of monitor... How would it be possible for you to access anything if the gateway is DOWN...

              Pfsense out of the box if can not ping its gateway, marks it down and won't send traffic out it. Unless you tell it to not count monitor as being down..

              Also not possible for them to redirect if resolving correctly unless they using a transparent proxy on you.. A normal redirection would be done via dns and vis say resolving www.domain.tld to 1.2.3.4 they resolve it to 5.6.7.8 which they run and host up a default page that gives you some info.

              If they are not intercepting your dns and changing it - then they are intercepting your traffic and redirecting.. Same sort of thing you can do with pfsense and "transparent" proxy.

              What are your settings?
              Gateway Monitoring
              Disable Gateway Monitoring This will consider this gateway as always being up.
              Gateway Action
              Disable Gateway Monitoring Action No action will be taken on gateway events. The gateway is always considered up.

              what about
              State Killing on Gateway Failure
              Flush all states when a gateway goes down The monitoring process will flush all states when a gateway goes down if this box is checked.

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.7.2, 24.11

              S 1 Reply Last reply Reply Quote 0
              • S
                Sensiva @johnpoz
                last edited by

                @johnpoz I understand that it seems illogical, but this is what is really happening. both v2.4.3 and v2.4.4 showing offline gateway, however v2.4.3 redirects to ISP and v2.4.4 does not redirect.
                Both of them resolving domains correctly.
                Regarding gateways settings, both are the same and default (not altered). Except that v2.4.3 showing an option to set the selected gateway as default, while this option is not available/listed in v2.4.4
                I double checked and I am sure that both machines have "disable monitoring" and "disable monitoring action" unchecked.
                I would like to remind you that there are three pfSense machines
                1- v2.4.3
                2- v2.4.4 which is a clone of machine 1 and upgraded
                3- v2.4.4 which is a clean install
                machines 2 & 3 are behaving the same way.

                Also I guess that It doesn't have to be a v2.4.4 release bug, the ISP might be doing something wrong (I have seen horrible stuff they do)
                Either way I guess pfSense should handle both cases because pfSense deals with whatever (no?)

                regarding killing state settings , I can't find it in the web interface.

                Thanks

                1 Reply Last reply Reply Quote 0
                • DerelictD
                  Derelict LAYER 8 Netgate
                  last edited by

                  I suppose it could have something to do with the new default gateway scheme. What's that set to in System > Routing.

                  Chattanooga, Tennessee, USA
                  A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                  DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                  Do Not Chat For Help! NO_WAN_EGRESS(TM)

                  S 2 Replies Last reply Reply Quote 0
                  • S
                    Sensiva @Derelict
                    last edited by

                    @derelict set to Automatic for both IPv4 and IPv6

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sensiva @Derelict
                      last edited by

                      @derelict said in ISP Redirect to Payment Notification:

                      I suppose it could have something to do with the new default gateway scheme. What's that set to in System > Routing.

                      I found it!
                      there is a second gateway which is the link between pfSense machine and the bridged ADSL router.
                      In v2.4.3 machine that gateway wasn't the default, but after upgrading to v2.4.4 default selection is automatically set.
                      After the PPPoE gateway (which is the logical default for automatic selection) gone offline, the new selected default is now the gateway to the bridged ADSL router which has no internet connectivity, hence blocking the URL redirect.

                      that's why when I checked what @derelict asked about, I found that the selected default gateway was the second gateway.
                      After setting the default gateway to the PPPoE connection instead of Automatic, I was able to see the redirected pages.

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Ah, yup that will do it! There have been a number changes gone in for 2.4.5 to address that sort of incorrect gateway selection.

                        Usually if you only have one gateway is will continue to be used whether or not it's marked off-line. It's only if you have gateway groups or failover that it has any effect.

                        Steve

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