FreeRadius + FreeBSD + ipv6

Alan DeKok aland at deployingradius.com
Mon Dec 6 14:49:15 CET 2010


Alan Buxey wrote:
> dont shoot me, I'm just the messenger! :-)
...
> 	#  IP address on which to listen.
> 	#  Allowed values are:
> 	#	dotted quad (1.2.3.4)
> 	#       hostname    (radius.example.com)
> 	#       wildcard    (*)
> 	ipaddr = *
> 
> 	#  OR, you can use an IPv6 address, but not both
> 	#  at the same time.
> #	ipv6addr = ::	# any.  ::1 == localhost

  I'll clarify that: A network socket can only listen on one IP/port.

  You can't have one socket listening on two UDP ports, or two TCP
ports, or two IP addresses.

  You *can* have two sockets pointing to the same virtual server.  i.e.
the following config works Just Fine:

listen {
	...
	ipaddr = x
	...
	server = Y
}
listen {
	...
	ipv6addr = a:b::c::d
	server = Y
}

  Alan DeKok.



More information about the Freeradius-Users mailing list