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

    Captive Portal Radius Replies issues

    Scheduled Pinned Locked Moved Captive Portal
    1 Posts 1 Posters 2.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.
    • D
      Deviant
      last edited by

      Hi all, let me start by saying I have spent hours and hours searching the forums and google for an answer and I have come up with nothing!

      I am hoping this is because im doing something stupid…

      I have RADIUS auth setup and working with accounting (RADIUS server is external) what I would like to do now is use Packet of Disconnection and various attributes using the WISPr vendor atts.

      The problem is the RADIUS server doesnt seem to be getting a reply from the pfsense box/captive portal here are some error msg's;


      From DaloRADIUS


      Executed:
      echo "User-Name='myusername'" | radclient -c '1' -n '3' -r '3' -t '3' -x 'my.ip.add.res:1700' 'disconnect' 'myradsecret' 2>&1

      Results:
      radclient: no response from server for ID 47 socket 10
      Sending Disconnect-Request of id 47 to my.ip.add.res port 1700
      User-Name = "myusername"


      Do I need to setup NAT and Rules to forward the reply packets? if so this is what ive tried already...

      If      Proto  Ext. port range      NAT IP                  Int. port range
      NAT: WAN      UDP  1700              192.168.2.10(ext.: any) 1700

      Proto  Source  Port  Destination  Port  Gateway  Queue
      Rule:  UDP  *          *  192.168.2.10  1700  *         none

      WAN Interface = 192.168.2.10
      LAN Interface = 192.168.3.1

      I have also setup a firewall rule on my modem/router to forward UDP 1700 to 192.168.2.10

      But no luck :( always get no response.

      Can anyone suggest what I could possibly be doing wrong?

      Thanks in advance.

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