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

Captive portal not redirecting on https requests. problem on every browser

Scheduled Pinned Locked Moved Captive Portal
32 Posts 3 Posters 10.7k 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.
  • F
    fahad77678 @free4
    last edited by Jan 8, 2019, 7:15 AM

    @free4
    yeah i have checked your picture but its only works in firefox not on another browsers. how would it be possible on google chrome?

    F 1 Reply Last reply Jan 8, 2019, 7:23 AM Reply Quote 0
    • F
      free4 Rebel Alliance @fahad77678
      last edited by Jan 8, 2019, 7:23 AM

      @fahad77678 chrome also implement captive portal tests

      alt text

      Android and apple devices also implement this feature

      F 2 Replies Last reply Jan 8, 2019, 7:37 AM Reply Quote 0
      • F
        fahad77678 @free4
        last edited by Jan 8, 2019, 7:37 AM

        @free4
        But in my case chrome not doing like this.
        can you come on teamviwer ?

        1 Reply Last reply Reply Quote 0
        • F
          fahad77678 @free4
          last edited by Jan 8, 2019, 7:55 AM

          @free4
          Did you enable https login enable in captive portal or not?
          in my case if i disable https login then it cant reach the login page. chrome says site cant be reach if i search some sites.
          same case in firefox. firefox only promt for login netwrok but not redirecting to catptive page.

          1 Reply Last reply Reply Quote 0
          • G
            Gertjan
            last edited by Jan 8, 2019, 11:29 AM

            The browser indicates that a user action is needed.
            It's probably not directing you right away some where else, which seems rather logic to me: the user wants to browse site a.b.c. - the browser won't take him to d.e.f (our captive portal login page) but suggests the a user action is needed.

            These are my observations :
            Use http (default) and the https portal login. Things will go very smooth.
            Chrome might be "portal aware" these days. I'm using the captive portal in a hotel - do not explain clients how to connect - and they connect (mostly not being IT experts, they all manage to connect using whatever device).

            As said here - and in the doc : https you should obtain a certificate signed by an authority.
            This implies that you should use an existing domain name on your portal LAN, like
            portal.your-domaine.tld
            You can buy such a corticate - or use the acme package.
            True : the acme package works for you if you know what to do and how to do it

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

            F 2 Replies Last reply Jan 9, 2019, 5:55 AM Reply Quote 0
            • F
              fahad77678 @Gertjan
              last edited by Jan 9, 2019, 5:55 AM

              @gertjan
              Use http (default) and the https portal login. Things will go very smooth.
              what do you mean by this how can i do this in pfsense. actually i m new in pfsesne

              1 Reply Last reply Reply Quote 0
              • F
                fahad77678 @Gertjan
                last edited by Jan 9, 2019, 9:00 AM

                @gertjan
                can you give me the step step configuration of captive portal with dns resolver?

                G 1 Reply Last reply Jan 9, 2019, 1:44 PM Reply Quote 0
                • G
                  Gertjan @fahad77678
                  last edited by Jan 9, 2019, 1:44 PM

                  @fahad77678 said in Captive portal not redirecting on https requests. problem on every browser:

                  @gertjan
                  can you give me the step step configuration of captive portal with dns resolver?

                  https://www.youtube.com/watch?v=qb5TDpihnq4&t=111s
                  https://www.netgate.com/docs/pfsense/captiveportal/index.html

                  The Resolver : nothing to do. The default settings - as set on installation, are just perfect.

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

                  F 1 Reply Last reply Jan 11, 2019, 6:13 AM Reply Quote 0
                  • F
                    fahad77678 @Gertjan
                    last edited by Jan 11, 2019, 6:13 AM

                    @gertjan
                    is it necessary to add captive portal ports add in firewall's wan and lan rules ?
                    it it is? the which ports should i add to the rules ?

                    G 1 Reply Last reply Jan 11, 2019, 10:18 AM Reply Quote 0
                    • G
                      Gertjan @fahad77678
                      last edited by Gertjan Jan 11, 2019, 10:18 AM Jan 11, 2019, 10:18 AM

                      @fahad77678 said in Captive portal not redirecting on https requests. problem on every browser:

                      @gertjan
                      is it necessary to add captive portal ports add in firewall's wan and lan rules ?
                      it it is? the which ports should i add to the rules ?

                      Two cases :
                      If you activate the portal on the LAN you have nothing to do : the default firewall rule is a pass-all, the portal will work right away.
                      If you activate the captive portal on an extra interface (the best choice !), like OPT1, you have to, initially, add one firewall rule : the same one as you can find on the LAN interface.
                      Like this :

                      0_1547200712194_bf62f6c6-807f-413d-8f57-a02fd9357a26-image.png

                      Never ever add firewall rules to the WAN interface. Rules for that interface belong to the experts.

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

                      1 Reply Last reply Reply Quote 0
                      32 out of 32
                      • First post
                        32/32
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        This community forum collects and processes your personal information.
                        consent.not_received