Reals Based Upon Port

Brian Carpio bcarpio at broadhop.com
Wed Aug 18 21:20:49 CEST 2010


Hi,

Currently I am using freeradius2-2.1.8-2 to load balance radius traffic between two hosts, I have a single realm DEFAULT setup which proxies the radius traffic between the two servers and that works great, however now I have an unusual need to proxy auth/acct radius traffic to non standard ports and I'm unsure how (or even it's even possible) to setup a new realm which is based on destination port for instance.

Default Server 1
- Auth/Acct
- Port 1812,1813

Default Server 2
- Auth/Acct
- Port 1812,1813

Pool Default
- Default Server 1
- Default Server 2

Realm Default
- Pool Default
- NOTE: Traffic coming into freeradius on the standard 1812/1813 ports will be sent to this default realm (which I have working perfectly now)

---- Up to this point I have it all working ----

Alt Server 1
- Auth/Acct
- Port 1815/1816

Alt Server 2
- Auth/Acct
- Port 1815/1816

Pool Alt
- Alt Server 1
- Alt Server 2

Realm Alt
- Pool Alt
- NOTE: Traffic coming into freeradius on 1815/1816 will be sent to this Alt realm... 

I am just wondering if this is possible. Or if I would need to setup another instance of freeradius with its own configuration to do this alternative ports setup. 

Thanks a lot!



           

Brian Carpio 
Senior Systems Engineer

Office: +1.303.962.7242
Mobile: +1.720.319.8617
Email: bcarpio at broadhop.com





More information about the Freeradius-Users mailing list