services File
The services file can be used to assign default UDP ports for RADIUS communications to and from the Steel-Belted Radius Carrier server. Steel-Belted Radius Carrier reads the services file at startup. Among the items of information in the services file are the port assignments for RADIUS authentication and accounting services.
Figure 2 illustrates part of a sample services file.
![]()
The location of the services file is:
/etc/ (may be mapped using NIS or NIS+)
If no entry for radius or radacct is found in the services file, Steel-Belted Radius Carrier uses the default UDP ports (1645 and 1812 for authentication, 1646 and 1813 for accounting).
Steel-Belted Radius Carrier can be configured to use any available UDP ports for authentication and accounting:
- Use a text editor to open the services file.
- To set the port for authentication, set the value of the radius parameter. For example:
radius 1812/udp # RADIUS authentication protocol- To set the port for accounting, set the value of the radacct parameter. For example:
radacct 1813/udp # RADIUS accounting protocol
NOTE: Port number assignments made in the radius.ini file override the assignments made in this file. See [Ports] Section for more information.
You can determine the ports that Steel-Belted Radius Carrier is using at any time by examining the server log file for that time period.