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

    Help with Radius Authentication

    Scheduled Pinned Locked Moved Captive Portal
    5 Posts 2 Posters 3.4k 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.
    • M
      mikekennedy
      last edited by

      I was wondering if it is possible to have my Radius server on my 'wan' interface? I have a windows server with radius/nps but when I add an allow all rule to the firewall and tried to completely open it, I still could not ping the server(192.168.2.254). Any ideas on how to setup the firewall to allow communication to the server for Radius?

      Lan ip= 192.168.1.1
      Wan ip= dhcp

      Main network is a /24 with the network address of 192.168.2.0
      Gateway to internet is 192.168.2.1

      pfsense is running on a headless virtualbox on the server located at 192.168.2.254.

      Thanks for any help.

      1 Reply Last reply Reply Quote 0
      • N
        Nachtfalke
        last edited by

        Are you doing NAT on pfsense WAN interface ? Then you need to add an port forward on pfsense - only opening the firewall on WAN will not help.

        Further when you have your pfsense WAN interface doing NAT then this will be the IP address the RADIUS server will see as client's/NAS IP address.

        1 Reply Last reply Reply Quote 0
        • M
          mikekennedy
          last edited by

          Thanks for reply, sorry I am new to pfsense.

          I configured the Radius server and added the Firewall NAT port forward which in turn created a firewall rule. the nat rule is for: WAN UDP src=* src ports=*, dest address is WAN address with port 1812(radius) and NAT IP 192.168.2.254 NAT ports 1812(radius)

          but i  get Authentication Failure when i run the test.

          Any ideas?

          1 Reply Last reply Reply Quote 0
          • N
            Nachtfalke
            last edited by

            Could you please explain mor ein detail which server is on which subnet/ip
            and from where to where you want to connect.
            Where is the NAS ? (IP, subnet)
            Where is the RADIUS Server ? (IP, subnet)
            Do you use Windows as RADIUS server or du you use the pfsense package "freeradius2" ?

            1 Reply Last reply Reply Quote 0
            • M
              mikekennedy
              last edited by

              Main Server(2008r2 enterprise w/ Radius via NPS) -192.168.2.254 on subnet 192.168.2.0/24
              Virtualbox PfSense(located on Main Server) LAN 192.168.1.1 and WAN dhcp(reserved at 192.168.2.109)
              Gateway is 192.168.2.1 on /24 subnet

              The radius is on the Main Server supplied by RRAS Radius. Clients are setup with friendly names that point to each device and access is supplied via a unencrypted channel.

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