Univention Bugzilla – Bug 42729
Unable to configure ports of freeradius
Last modified: 2017-06-15 17:57:59 CEST
Currently the radius config of univention-radius uses the default radius port. A customer has to use a different set of ports and want's to configure the ports via UCR variables.
Advisory: univention-radius.yaml freeradius/conf/port: The port the server listens on, e.g. 1812. If 0 the port is read from /etc/services (Default: 0)
OK: code OK: manual test OK: advisory (wording r79460) Would be VERIFIED, but have to REOPEN for a question: @Sönke: does the customer also need to reconfigure the port for Radius Accounting? It is currently hard coded to the default 1813.
(In reply to Daniel Tröder from comment #2) > @Sönke: does the customer also need to reconfigure the port for Radius > Accounting? It is currently hard coded to the default 1813. The intention of this change is to be able to start 2 freeradius instances. So all relevant ports should be configurable.
@Janek: please make the Radius Accounting port configurable (default 1813).
(In reply to Daniel Tröder from comment #4) > @Janek: please make the Radius Accounting port configurable (default 1813). Updated
OK: advisory (r80183: wording) OK: all ports can be reconfigured: root@single130:~# lsof -Pni | grep free freeradiu 22465 freerad 7u IPv4 96267 0t0 UDP *:1812 freeradiu 22465 freerad 8u IPv4 96268 0t0 UDP *:1813 freeradiu 22465 freerad 9u IPv4 96269 0t0 UDP *:1814 freeradiu 22465 freerad 10u IPv4 96270 0t0 UDP *:36480 root@single130:~# ucr set freeradius/conf/port=11812 freeradius/conf/accountingport=11813 Create freeradius/conf/port Create freeradius/conf/accountingport File: /etc/freeradius/radiusd.conf root@single130:~# systemctl restart freeradius.service root@single130:~# lsof -Pni | grep free freeradiu 22929 freerad 7u IPv4 99325 0t0 UDP *:11812 freeradiu 22929 freerad 8u IPv4 99326 0t0 UDP *:11813 freeradiu 22929 freerad 9u IPv4 99327 0t0 UDP *:11814 freeradiu 22929 freerad 10u IPv4 99328 0t0 UDP *:37407
<http://errata.software-univention.de/ucs/4.2/37.html>