1

I need to accept all incoming connections to the FreeRadius server be it ipv6 or ipv4. I know that we can allow all ipv4 clients with:

client 0.0.0.0/0 {
  secret = abcde
  shortname = xxxx
}

How to accept all ipv6 addresses as well on the same server?

RoshP
  • 21
  • 1
  • 4

3 Answers3

1

What worked for me:

Add the following if not present to radiusd.conf

listen {

    type = auth
    ipaddr = *
    port = 0
}

listen {
    ipaddr = *
    port = 0
    type = acct
}

listen {
    ipv6addr = ::
    port = 0
    type = auth
}

listen {
    ipv6addr = ::
    port = 0
    type = acct
}

And add the following to clients.conf

client 0.0.0.0/0 {
    shortname = allv4client
    secret = testing123
}

client ::/0 {
    shortname = allv6client
    secret = testing123
}
RoshP
  • 21
  • 1
  • 4
0

Shouldn't that be

client whatever {
ipaddr = 0.0.0.0/0
secret = abcde
shortname = xxxx
}

then

client whateverv6 {
ipv6addr = ::
secret = abcde
shortname = xxxx
}

NickW
  • 10,183
  • 1
  • 18
  • 26
-1

You need freeradius version 2.0 and above. Try looking at clients.conf

  • I have already looked at clients.conf . Have never confronted with ipv6 addresses. Any help would be great. – RoshP Nov 26 '14 at 11:12