Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation  Back up to About Overview 
[+] Expand All
[-] Collapse All

Directed Realm Configuration Files

This section discusses how to set up the directed realm configuration files.

Sample proxy.ini File

The following proxy.ini file registers the proxy realm called and registers a directed authentication and accounting realm called It defines several directed accounting methods, including those we plan to reference from the realm configuration file.



CustBAcctSQL = /opt/JNPRsbr/radius/CustomerB/theirsql.acc
CustCAcctAttributes = /opt/JNPRsbr/radius/CustomerC/account.ini
CustCAcctSQLConfig = /opt/JNPRsbr/radius/sqlacct.acc
CustDAcctSQLConfig3 = /opt/JNPRsbr/radius/CustomerD/mysql.acc

Note: For syntax details, see proxy.ini File.

Note: The user directories must be manually created before restarting or issuing a SIGHUP (1) signal to SBR Carrier.

The following proxy.ini file specifies that and are both mapped to the directed realm.

[Directed] = *

The following proxy.ini file specifies that and are both mapped to the directed realm and that is mapped to the directed realm.

[Directed] = *

Sample Directed Realm (.dir) File

The following configuration file must be called for it to work with the proxy.ini file (described on Sample proxy.ini File).

Enable = 1
StripRealm = 1
UseMasterDictionary = yes

Enable = 1
RecordLocally = 1
UseMasterDictionary = yes

Native User



Note: For syntax details, see Directed Realm Configuration (.dir) File.

This sample file configures both directed authentication and directed accounting. It also strips realm routing information from the User-Name before authentication.

The [Acct Methods] section of this file lists the two accounting methods for the realm. These are CustCAcctAttributes, which specifies how to log attributes to a .act accounting log file on the local server, and CustCAcctSQLConfig, which configures accounting to an external SQL database. Both methods are configured in the [DirectedAcctMethods] section of our sample proxy.ini file, above.

Modified: 2018-01-11