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

    Korrekte IP-Zuordnung: Captive Portal und Freeradius2

    Scheduled Pinned Locked Moved Deutsch
    1 Posts 1 Posters 536 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.
    • H
      hsrtreml
      last edited by

      Hallo, irgendwie macht jeder die IP-Zuordnung zwischen Captive Portal (CP) und FreeRadius2 (FR) nach belieben?
      Ausgangssituation und Fragen:

      LAN-IP: 100.1, 100.0/24  (Privat)

      CP1-IP: 11.0/24 (Gast1)
      CP2-IP: 12.0/24 (Gast2)
      auf beiden CP soll FR verwendet werden

      FR Interface-IP auth 1812, Welche IP: LAN IF-IP, irgendeine LAN-IP? (FR-IF-IP-1812)
      FR Interface-IP aucc 1813, Welche IP: LAN IF-IP, irgendeine LAN-IP? (FR-IF-IP-1813)

      FR NAS Client: Welche IP: LAN IF-IP, irgendeine LAN-IP? oder je eine CPx-IP zu Authentifizierung? (FR-NAS-IP)

      CP2 als Beispiel: Primäry FR: FR-IF-IP-1812
      CP2 als Beispiel: Accounting: Send radius to Primäry FR

      CP2: Radius NAS IP Attribute: FR-NAS-IP

      Relativ einfach, oder?

      Lösung:
      –-------
      im FR ist FR-IF-IP-1812: ?
      im FR ist FR-IF-IP-1813: ?
      im FR ist FR-NAS-IP: ?
      im CP1 ist Primary FR: ?
      im CP1 ist Radius NAS IP: ?

      zurzeit habe ich:
      im FR ist FR-IF-IP-1812: *
      im FR ist FR-IF-IP-1813: *
      im FR-NAS-IP: LAN-IP
      im CP1 ist Primary FR: LAN-IP
      im CP1 ist Radius NAS IP: LAN-IP

      weitere Varianten:
      im FR ist FR-IF-IP-1812: C1-IP
      im FR ist FR-IF-IP-1813: C1-IP
      im FR ist FR-NAS-IP: C1-IP
      im CP1 ist Primary FR: C1-IP
      im CP1 ist Radius NAS IP: C1-IP

      und gleichzeitig

      im FR ist FR-IF-IP-1812: C2-IP
      im FR ist FR-IF-IP-1813: C2-IP
      im FR ist FR-NAS-IP: C2-IP
      im CP2 ist Primary FR: C2-IP
      im CP2 ist Radius NAS IP: C2-IP

      …
      es geht so, aber ist dies sicher und korrekt und "wie" kann verhindert werden, dass CP1-FR-User sich nicht am CP2 anmelden können?

      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