Navigation

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

    Captive portal not working after disabling it for a few minutes and then enable

    2.1 Snapshot Feedback and Problems - RETIRED
    3
    7
    1490
    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.
    • F
      falbertopl last edited by

      Captive portal not working after disabling it for a few minutes and then enable it. The service is started and the log does not show anything relevant, sometimes only restarting the server works and sometimes I have to delete the zone and create a new one, what can it be?

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

        This is what my testing showed:

        Steps to reproduce:

        Fresh install of July 5's 2.1-RC0

        Standard WAN/LAN NAT/PAT config

        Enable Captive Portal on LAN, no authentication

        CP functions normally.

        Edit CP Instance, Disable CP.

        Traffic passes from LAN normally.

        Edit CP Instance, Enable CP.

        Traffic continues to pass from LAN normally, never redirecting to CP.

        The only way I can get the CP to function again is to restart.

        Tried deleting and recreating CP, no change until restart.

        1 Reply Last reply Reply Quote 0
        • E
          eri-- last edited by

          You are sure there is nothing related to state table needing clearing?

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

            Tried clearing the state table too.  It was my understanding that the CP ipfw fwd to :8000 all happens prior to anything making it to pf.

            I can set up a test box and do it again if you want.

            1 Reply Last reply Reply Quote 0
            • E
              eri-- last edited by

              Should be better on newer snapshots i pushed a fix.

              1 Reply Last reply Reply Quote 0
              • F
                falbertopl last edited by

                Thank's ermal, i tested yesterday and work fine for me, thank's again my friend.

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

                  My initial testing indicates it's working for me too.  Thanks much.  This was a PITA.

                  If I have a gateway I have not updated and run into this, can I just run:

                  /sbin/sysctl net.link.ether.ipfw=1 net.inet.ip.fw.one_pass=1

                  to get the portal working again?

                  Thanks again.

                  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