Listen to multiple ports on a single server?
Thomas MARCHESSEAU
tm at sitadelle.com
Tue Jul 19 11:23:55 CEST 2005
Hi Erling,
you can do something like that :
--- radiusd.conf ---
# SERVER CONFIGURATION
listen {
ipaddr = *
port = 1812
type = auth
}
listen {
ipaddr = *
port = 1813
type = acct
}
listen {
ipaddr = *
port = 1645
type = auth
}
listen {
ipaddr = *
port = 1646
type = acct
}
listen {
ipaddr = *
port = 2045
type = auth
}
listen {
ipaddr = *
port = 2046
type = acct
}
--- end ---
Regards,
Thomas MARCHESSEAU
Erling Paulsen wrote:
>On Mon, Jul 18, 2005 at 11:36:05AM -0400,Kevin Bonner, The Induhvidual, scrabbled:
>
>
>>On Monday 18 July 2005 10:10, Marcin Jessa wrote:
>>
>>
>>>On Mon, 18 Jul 2005 15:12:00 +0200 Erling Paulsen <erling.paulsen at cc.uit.no>
>>>
>>>
>>wrote:
>>
>>
>>>>Hello.
>>>>
>>>>Right now I'm running multiple servers for listening to multiple ports,
>>>>for having the option of accomadating both NAS'es that use the old 1645
>>>>port and the ones using the newer 1812 port for requests.
>>>>
>>>>Is there a possibillity to have one radiusd listen to more ports, or do I
>>>>have to reconfigure/tell all the old external participants to use the new
>>>>1812 port?
>>>>
>>>>>From what I can read from the docs, I guess it's not possible!
>>>>
>>>>Running v.1.0.4
>>>>
>>>>- Erling Paulsen
>>>>
>>>>
>>>May I ask why do you want to do such a thing?
>>>
>>>
>>You can have freeradius running on both the old and new ports, then cutover
>>your equipment and external radius clients as you please.
>>
>>The listen directive in raddb.conf can do what you want.
>>
>>Kevin Bonner
>>
>>
>
>Thanks for the help.
>
>That did the trick!
>
>I think that perhaps I asked this question a little fast. Haven't seen the
>'listen' section in the .conf before - as I was upgrading multiple servers
>from v.0.93.
>
>Excellent feature :)
>
>- Erling
>
>
>
More information about the Freeradius-Users
mailing list