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

External login page authentication

Scheduled Pinned Locked Moved Captive Portal
4 Posts 2 Posters 864 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.
  • G
    guntery
    last edited by Apr 11, 2022, 11:30 PM

    The Pre-authentication redirect URL redirects to our radius and login server but we want to use the server for the login page and still use the captive portal as the radius client.

    Any ideas on how to auth with radius via external login page?

    G 1 Reply Last reply Apr 14, 2022, 3:49 PM Reply Quote 0
    • G
      Gertjan @guntery
      last edited by Apr 14, 2022, 3:49 PM

      @guntery said in External login page authentication:

      The Pre-authentication redirect URL redirects to our radius

      Well ....

      89c5eff7-0735-48c9-a2b7-5c8168694437-image.png

      a Radius server is a server process that listens on ports 1812 1813 and 1816.
      Redirecting a web browser to a radius server .... you have a lot of explanation to do here / I don't get it.

      I'm using FreeRadius myself.

      Using Pre-authentication redirect URL is "not easy".
      Click the link, read and only proceed if you are fully aware of what needs to be done.
      I consider the "Pre-authentication redirect" usage very advanced.

      Instead of seeing the small word "Connected", use the "After authentication Redirection URL" to a known page, like your own companies web site, where you explain that the visitor was just granted Internet access.

      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
      • G
        guntery
        last edited by Apr 18, 2022, 9:09 PM

        Yeah the pre auth is the wrong option.

        Our current captive portals all have external login pages for auth which use a form to send auth details back to the CP.

        This way with a remote radius/web server we can better control the login pages and clients.

        Don't know how to remotely run the auth so ended up keeping the login page in pfsense and enabling php-mysql to talk to the remote web server, cheers.

        G 1 Reply Last reply Apr 19, 2022, 8:07 AM Reply Quote 0
        • G
          Gertjan @guntery
          last edited by Apr 19, 2022, 8:07 AM

          @guntery

          Like https://www.youtube.com/watch?v=RS0nMVxPznY ?

          It's not as simple as the classic local auth with the build in captive portal web server.
          I've tried it ones, long time ago, just to see how it works and if I could make it work.

          See also here : https://forum.netgate.com/topic/137979/what-happened-to-pre-authentication/2

          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
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received