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

    Captive Portal com logout do cliente?

    Scheduled Pinned Locked Moved Portuguese
    14 Posts 2 Posters 3.2k 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 Offline
      cristianonix
      last edited by

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

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

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

        Att,

        1 Reply Last reply Reply Quote 0
        • G Offline
          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 Offline
            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 Offline
              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 Offline
                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 Offline
                  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 Offline
                    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 Offline
                      cristianonix
                      last edited by

                      Obrigado, pela resposta.

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        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
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.