
# Copyright (c) 2000-2020 Synology Inc. All rights reserved.

[RadiusServer]
rad_clients	=	"<h2>Clients</h2>
    
    <p>The <b>Clients</b> page contains a list of clients—such as wireless routers or VPN servers—that are allowed to make requests of RADIUS Server for authentication, authorization, and accounting. For each client, you must enter a client IP address along with a secret key, which is a text string used as a password between RADIUS clients and RADIUS Server. Secret keys should be configured on both clients and RADIUS Server. </p>
<p>Two methods are available for adding clients: 1) single IP address and 2) IP address range.</p>
    <h3>Single IP address</h3>
    <p>With this procedure, you must add clients by entering specific IP addresses, which provides better security than the IP address range procedure does.</p>
    <h4>To set up clients by single IP address:</h4>
<p>Click <strong>Add</strong>, choose <strong>Single host</strong> and enter the following information:</p>
    <ul>
        <li><b>Name</b>: Enter a display name for the client, which makes it easier to identify.</li>
        <li><b>IP address</b>: Enter the IP address of the RADIUS client.</li>
        <li><b>Secret key</b>: Enter a text string used as a password between the client and RADIUS Server.</li>
    </ul>


    <h3>IP address range</h3>
    <p>This procedure allows you to add a large number of RADIUS clients at a time, rather than adding each RADIUS client individually. You can add a group of clients that are all configured with IP addresses from the same subnet. All of the RADIUS clients in the range must use the same configuration and secret key.</p>

<div class="section">
<h4>Before You Start</h4>
<p>The following guidelines are here to help you specify an IP address range:</p>
<ul>
<li>Overlapping subnets are allowed. RADIUS Server will only verify clients on the smallest subnet. In the example below, RADIUS Server will verify the clients' credentials using the secret key in the first row.</li>
	<TABLE border=1>
	<TR>
	<TH>IP address</TH>
	<TH>Subnet mask</TH>
	<TH>Secret key</TH>
	</TR>
	<TR>
	<TD>192.168.1.1</TD>
	<TD>255.255.255.0</TD>
	<TD>12345678</TD>
	</TR>
	<TR>
	<TD>192.168.1.1</TD>
	<TD>255.255.0.0</TD>
	<TD>87654321</TD>
	</TR>
	</TABLE>

<li>Identical subnets are not allowed. In the example below, with the presence of the first row, entering another IP address range with an identical subnet mask, as shown in the second row, is not allowed.</li>
	<TABLE border=1>
	<TR>
	<TH>IP address</TH>
	<TH>Subnet mask</TH>
	<TH>Secret key</TH>
	</TR>
	<TR>
	<TD>192.168.1.1</TD>
	<TD>255.255.255.0</TD>
	<TD>12345678</TD>
	</TR>
	<TR>
	<TD>192.168.1.2</TD>
	<TD>255.255.255.0</TD>
	<TD>87654321</TD>
	</TR>
	</TABLE>

</ul>
</div>    
    
    <h4>To set up clients by IP address range:</h4>
<p>Click <strong>Add</strong>, choose <strong>Subnet</strong> and enter the following information:</p>
    <ul>
        <li><b>Name</b>: Enter a display name for the collection of clients, which makes it easier to identify.</li>
        <li><b>IP address</b>: Enter one of the IP addresses of the RADIUS clients.</li>
        <li><b>Subnet mask</b>: Enter a subnet mask, for example, <b>255.255.255.0</b>. For more information about subnet masks, please see <a href="http://en.wikipedia.org/wiki/Subnetwork" target="_blank">here</a>.</li>
        <li><b>Secret key</b>: Enter a text string used as a password between the clients and RADIUS Server.</li>
    </ul>


<div class="section">
<h4>More Information</h4>
<p>
Client name must be of 1 to 32 Unicode characters and must not contain the following characters:<br />
<span class="letterSpace5">! " # $ % & ' ( ) * + - , / : ; <= > ? @ [ ] \ ^ ` { } | ~ </span>
</p>
</div>"
rad_desc	=	"<h1>RADIUS Server</h1>
        <p>Remote Authentication Dial-In User Service (RADIUS) is a network protocol that provides centralized authentication, authorization, and accounting for wired or wireless network access. Synology NAS local system, Active Directory and LDAP server can all be the source for Synology RADIUS Server.
        <br />If your network switch or wireless router supports RADIUS for authentication, you can set up RADIUS Server and use Synology NAS local system accounts, AD domain accounts or LDAP service accounts to access your home wireless network.</p>
        
        
            <p>For more information about RADIUS, please see <a href="http://en.wikipedia.org/wiki/RADIUS" target="_blank">here</a>.</p>

        <h4><a href="rad_settings.html">Settings</a></h4>
        <p>Apply common settings for RADIUS Server</p>

        <h4><a href="rad_clients.html">Clients</a></h4>
        <p>Create and manage clients for RADIUS Server</p>

        <h4><a href="rad_privileges.html">Block List</a></h4>
        <p>Create a Block List to block specific users or groups</p>

        <h4><a href="rad_log.html">Log</a></h4>
        <p>View and manage log records of RADIUS Server</p>


<h2>Back up and Restore</h2>
<p>You can back up RADIUS Server and restore it to a previous version via <strong>Hyper Backup</strong>.</p>

<h4>To back up RADIUS Server:</h4>
<ol>
<li>Go to <strong>Hyper Backup</strong> > <strong>Create</strong> > <strong>Data backup task</strong> to create a backup task.</li>
<li>Follow the Backup Wizard instructions, and choose RADIUS Server when you are prompted to select applications to back up.</li>
<li>After the backup task is complete, the configuration files of settings, clients, and block lists of RADIUS Server will be backed up.</li>
</ol>


<h4>To restore RADIUS Server:</h4>
<ol>
<li>Go to <strong>Hyper Backup</strong> > <strong>Restore</strong> > <strong>Data</strong> to restore the desired backup task.</li>
<li>After the restore task is complete, the current settings, clients, and block lists of RADIUS Server will be overwritten.</li>
</ol>

<div class="section">
<p><b>Note:</b></p>
<p>The backup and restore functions support DSM 5.1 (or later).</p>


</div>"
rad_log	=	"<h2>Log</h2>
    <p>On the <b>Log</b> page, you can view the event records of RADIUS Server.</p>

    <h4>To refresh logs:</h4>
    <p>Click <strong>Refresh</strong> to get the latest log records.</p>

    <h4>To clear logs:</h4>
    <p>Click <strong>Clear</strong> to delete all RADIUS Server logs.</p>
    <div class="section">
	<h4>Note:</h4>
	<p>You cannot recover deleted logs.</p>
	</div>

    <h4>To save logs:</h4>

    <p>Click <strong>Save</strong> to download logs in HTML format to a local disk.</p>"
rad_privileges	=	"<h2>Block List</h2>
    <p>You can create a <b>Block List</b> to prevent certain users and groups from logging in.</p>
    <p>To add a user or user group to the list, click <strong>Add</strong> and select a user or group. However, it is suggested to add groups to the list instead of adding users individually.</p>

<h4>To add a user to Block List:</h4>
	<ol>
    <li>Go to the <b>Block List</b> page of RADIUS Server and click <b>Username</b>.</li>
	<li>Click <b>Add</b> and select a user.</li>
	<li>Click the <b>Add</b> button.</li>
    </ol>
    
<h4>To add a group to Block List:</h4>
        <ol>
        <li>Create a group and name it, for example, "Blocked," in <b>Main Menu</b> > <b>Control Panel</b> > <b>Group</b>.</li>
        <li>Select this group and click <b>Edit Members</b>.</li>
        <li>Add users to the group.</li>
        <li>Go to the <b>Block List</b> page of RADIUS Server and click <b>User group</b>.</li>
        <li>Click <b>Add</b> and select the group "Blocked."</li>
        <li>Click the <b>Add</b> button.</li>
    </ol>

<div class="section">
<h4>Note:</h4>
<ul>
<li>In the list, use separators, i.e. the at sign (@) and backslash (\), to differentiate between account sources.</li>
<ul>
<li>An account with the @ separator associates with LDAP service, and so does the group the account belongs to. For example, <strong>tonywu@ldap.domain</strong>, <strong>users@ldap.domain</strong>. </li>
<li>An account with the \ separator associates with AD domain, and so does the group the account belongs to. For example, <strong>AD\tonywu</strong>, <strong>AD\users</strong>. </li>
<li>An account without any separators will be your local system account. For example, <strong>tonywu</strong>, <strong>users</strong>.</li></ul>
    <li>If you have configured RADIUS Server to authenticate either AD domain accounts or LDAP service accounts, regardless of whether you have included separators, RADIUS Server will always translate account names into new ones with separators before looking for matches from the list. </li>
</ul>
</div>"
rad_settings	=	"<h2>Settings</h2>
    <p>Apply general settings under <b>Common Settings</b> to configure RADIUS Server.</p>
<h4>The general options include the following:</h4>
    <ul>
      <li><strong>Authentication port:</strong> RADIUS Server's port number for interface protocols. The default value is 1812 for authentication.</li>

      <li><strong>Select the source against which RADIUS Server authenticates users:</strong> Choose any of the authentication sources for RADIUS Server. Refer to the <a href="#source">Authentication sources</a> section for detailed instructions.
  </li>
    <li><strong>Download Root Certificate:</strong> When using RADIUS authentication to access wireless network, you might need to download and install Root Certificate, or disable the "Validate server certificate" option.</li>
    </ul>

<h4>Authentication methods supported by RADIUS Server:</h4>
<p>PAP, MS-CHAP, PEAP, EAP-MSCHAPv2, EAP-TTLS</p>


<div class="section">
<h4>Note:</h4>
<ul>
<li>Please go to <strong>Main Menu</strong> > <strong>Control Panel</strong> > <strong>Domain/LDAP</strong> to set up an AD domain or LDAP environment before selecting AD domain accounts or LDAP service accounts.</li>
<li>If a user from the authentication source has been disabled in <b>Control Panel</b> > <strong>User</strong>, the user will not get authenticated by RADIUS Server.</li>
</ul>
</div>

<div class="section">
<h4><a name="source"></a>Authentication sources</h4>
<p>Choose one of the following account sources to be authenticated by RADIUS Server: </p> 
<ul>
<li>Local system accounts</li>
<li>LDAP service accounts</li>
<li>AD domain accounts</li>
</ul>

<h4>Account name formats</h4>
        <p>Refer to the examples below for the accepted account name formats. Note that the account you log in with is case-insensitive.</p>
<ul>
<li><strong>Local system accounts</strong><br />
tonywu</li>
<li><strong>LDAP service accounts</strong><br />
tonywu<br />
tonywu@ldap.domain</li>
<li><strong>AD domain accounts</strong><br />
tonywu<br />
AD\tonywu</li>
</ul>
        <p>If your account source is LDAP service, the account name you enter, for example "tonywu", will be translated to "tonywu@YOUR.JOINED.LDAP.DOMAIN". <br />
        If your account source is AD domain and it has a trust relationship with another domain, the account name you enter, for example "tonywu", will be translated to "THE.DOMAIN.YOU.JOINED\tonywu".</p>
</div>"

