Reals Based Upon Port

Alan DeKok aland at
Thu Dec 16 11:06:51 CET 2010

Brian Carpio wrote:
> I'm pretty clear on how I would add a new home_server_pool called like alt-server-balance with the other two home_servers defined which listen on the 1815,1816 the part I am confused about is how to define the new realm, since I'm using DEFAULT to send all traffic to "server-balance" how do I define a new realm which will accept traffic on 1815,1816 and send it to alt-server-balance. 
> I hope that makes sense.


  You've confused *incoming* connections with *outgoing* connections.
Realms allow you to send packets to outgoing connections.  Realms do
*not* "accept traffic".

  You're stuck on implementing a particular solution.  Instead, focus on
the problem.  It will usually be easier than you think.

  Draw a diagram of how you want packets to flow in/out of the server.
Incoming packets require a "listen" section.  Outgoing packets require a
"home_server" definition.  The glue in between is the realms, and/or the
policies you want to configure.

  Alan DeKok.

More information about the Freeradius-Users mailing list