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

    Problema pfSense + Captive Portal: Redirecionamento

    Scheduled Pinned Locked Moved Portuguese
    3 Posts 2 Posters 1.3k 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.
    • V Offline
      vithort
      last edited by

      Boa tarde pessoal,

      Configurei um pfSense para fazer alguns testes por aqui e somente ativei o Captive Portal na minha LAN.

      Fiz a definicao de um site para ser redirecionado depois do login:
        After authentication Redirection URL: www.site.com.br
        If you provide a URL here, clients will be redirected to that URL instead of the one they initially tried to access after they've authenticated.

      Marquei a opcao de autenticacao por Vouchers
        Authentication:  (X) Local User Manager / Vouchers

      Subi um arquivo basico HTML para a autenticacao:

      Fiz o SAVE.

      Fui na aba de Vouchers e gerei os vouchers corretamente para fazer os testes.

      Quando tento fazer a autenticacao na pagina gerada, ela retorna para a pagina de autenticacao com a URL indicada: http://192.168.1.1:8000/www.site.com.br
      Nao esta redirecionando, alguem sabe me indicar o motivo?

      Se eu faco a navegacao funciona, mas seria melhor se fizesse o redirecionamento para a pagina definida.

      Alguem me ajuda?

      Obrigado

      1 Reply Last reply Reply Quote 0
      • N Offline
        nofault
        last edited by

        tem que colocar o http://

        la no endereço de redirecionamento

        1 Reply Last reply Reply Quote 0
        • V Offline
          vithort
          last edited by

          Opa, funcionou, obrigado.

          Mas é estranho que mesmo quando nao tem nenhum site ele da problema.

          Obrigado outra vez!!!

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