---
title: Setup Authentication
slug: setup-authentication
docTags: 
createdAt: 2024-05-21T14:44:04.768Z
---

## Overview

Nile supports RADIUS for authentication. RADIUS (Remote Authentication Dial-In User Service) is a client-server protocol that enables remote access servers to communicate with a central server to authenticate dial-in users and authorize their access to the requested systems or services.

## Prerequisites

- Ensure that you have defined the Service Areas.
- Ensure that you have the IP addresses of all RADIUS servers you plan to use in your enterprise.
- Ensure that there is a route between the RADIUS server and your core router/firewall that connects to the Nile Service Gateway.
- Identify the shared secret to be configured in the Nile Portal.

## Configuring Authentication

1. Log in to the Nile Portal. In the left navigation, select **Network Setup > Authentication**.
2. Click the '**+**' sign under Authentication to add a RADIUS server. Configure the fields:
   - **Name**: Enter a name for the RADIUS server.
   - **Port**: Specify the port used by the RADIUS server.
   - **Geo Scope**: Select the locations that will use this RADIUS server to authenticate clients.
   - **Host**: Enter the IP address of the primary RADIUS server in Host 1. Use **Host 2&#x20;**&#x61;nd later for secondary servers (failover).
   - **Shared Secret**: Enter the shared secret.
   - **Wired MAC Auth (optional):** Select if the RADIUS server will authenticate wired devices using MAC Authentication Bypass (MAB).&#x20;
   - **Guest Portal URL (optional)**: Enter a static URL for the RADIUS server’s guest portal. If left blank, Nile uses the dynamic URL returned by the RADIUS server.
3. Click **Save** to complete configuration.

:::CtaButton{label="Next: Setup Segments" externalHref="https://docs.nilesecure.com/setup-segments" openInNewTab="true"}

:::

:::CtaButton{label="Optional Next: Setup Guest Auth" externalHref="https://docs.nilesecure.com/setup-guest-portal" openInNewTab="true"}

:::

