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

    Captive Portal com logout do cliente?

    Scheduled Pinned Locked Moved Portuguese
    14 Posts 2 Posters 3.5k 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.
    • C
      cristianonix
      last edited by

      Quando me autentico no captive portal atraves do voucher, e fecho o navegador, ele continua contando os minutos.
      Alguém sabe como resolver?

      Obrigado

      1 Reply Last reply
      Reply Quote 0
      • G
        gilmarcabral
        last edited by

        Aqui eu tentei utilizar o pop up para o usuario fazer logout porem a maioria dos navegadores vem com este recurso bloqueado e a maioria dos usuários nem da moral para isso.
        Então a única maneira mas não é eficiente foi determinar o tempo de inatividade para expirar a conexão.
        Caso você encontrar alguma solução me avise também.

        1 Reply Last reply
        Reply Quote 0
        • C
          cristianonix
          last edited by

          ja fiz e nada

          1 Reply Last reply
          Reply Quote 0
          • G
            gilmarcabral
            last edited by

            A opção no captive portal de expirar a conexão funciona. Uso a mesma aqui.

            1 Reply Last reply
            Reply Quote 0
            • C
              cristianonix
              last edited by

              Qual opção e qual valor você marcou ?

              1 Reply Last reply
              Reply Quote 0
              • C
                cristianonix
                last edited by

                Você usa o captive portal autenticado no radius ou base local ?

                Att,

                1 Reply Last reply
                Reply Quote 0
                • G
                  gilmarcabral
                  last edited by

                  Tenho as soluções tanto autenticando em servidor radius como vouchers.
                  Tenta defenir um valor no captive portal do campo Idle timeout

                  1 Reply Last reply
                  Reply Quote 0
                  • C
                    cristianonix
                    last edited by

                    Essa parte do active users -> Expires at , nunca expira mesmo o idle timout ativado.

                    1 Reply Last reply
                    Reply Quote 0
                    • G
                      gilmarcabral
                      last edited by

                      Com a integração captive portal + freeradius2 + openldap o idle timout  esta funcionamento corretamente no meu cenário. Acabei de confirmar.
                      Amanha irei confirmar o captive portal com voucher para ver se ira expirar em um outro cenário que tenho

                      1 Reply Last reply
                      Reply Quote 0
                      • G
                        gilmarcabral
                        last edited by

                        Bom dia.
                        Realmente a função idle timout não esta fazendo efeito quando se utiliza o Captive Portal com Vouchers.
                        Bem observado.

                        1 Reply Last reply
                        Reply Quote 0
                        • G
                          gilmarcabral
                          last edited by

                          Boa tarde.
                          Fiz uma mudança aki e funcionou o captive portal com o idle timout ativado com vouchers.
                          Marque o check box MAC filtering e define o Idle timeout para 5.
                          Desta maneira quando o usuário desconectar da rede do captive portal após 5 minutos a conexão dele e expirada porem o tempo de contagem do voucher não parou ainda.
                          Faça o teste ai.
                          Estou vendo se consigo fazer o tempo de contagem expirar tambem.

                          1 Reply Last reply
                          Reply Quote 0
                          • G
                            gilmarcabral
                            last edited by

                            Cristiano pelo meus testes realmente uma vez utilizado o voucher e fazendo logout o mesmo não para de correr o tempo.
                            Vi na abas onde gera os voucher a seguinte mensagem.

                            Create, generate and activate Rolls with Vouchers that allow access through the captive portal for the configured time. Once a voucher is activated, its clock is started and runs uninterrupted until it expires. During that time, the voucher can be re-used from the same or a different computer. If the voucher is used again from another computer, the previous session is stopped.

                            Então pelo que esta escrito o captive portal realmente não expira a conexão quando o usuário efetua logoff antes de vencer a validade do mesmo.
                            Penso que isso será um recurso ainda a ser implementado no captive portal muito interessante.

                            1 Reply Last reply
                            Reply Quote 0
                            • C
                              cristianonix
                              last edited by

                              Obrigado, pela resposta.

                              1 Reply Last reply
                              Reply Quote 0
                              • G
                                gilmarcabral
                                last edited by

                                cristianonix penso que o Marcelloc poderá fazer alteração para o voucher pausar o tempo quando a conexão é expirada.
                                Verifica com ele pois seria um recurso muito bem vindo para o captive portal porem o marcelloc irá precisar também de um patrocínio.
                                Fica ai a dica.

                                1 Reply Last reply
                                Reply Quote 0

                                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                With your input, this post could be even better 💗

                                Register Login
                                • First post
                                  Last post
                                Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                                Privacy Policy · Cookie Policy