---
title: "🖥️ Customer Portal Servers"
description: "Distributed edge deployment, SSH firewall synchronization, health probing, and high-availability clustering for Ring2All BSS Customer Self-Care Portal servers."
---
## 📖 Overview & Architecture
The **Customer Portal Servers** module (`Administration → Infrastructure → Customer Portal Servers`) in **Ring2All BSS** manages the fleet of front-end edge nodes serving the **Customer Self-Care Portal (`softswitch-bss-client`)**.
Service providers and multi-brand operators can deploy dedicated Customer Portal nodes in public DMZ zones, bind custom reseller domains (`https://client.example.com`), synchronize kernel firewall policies (`nftables`) over SSH, and monitor node reachability and latency centrally from the BSS Admin Console.
```mermaid
flowchart LR
Customers["Enterprise & Retail Customers
(HTTPS Custom Domains)"]
EdgeNodes["Customer Portal Server Fleet
(softswitch-bss-client DMZ Nodes)"]
BSSCore["Ring2All BSS Core API & OCS
(softswitch-bss-api)"]
Customers <-->|TLS 1.3 Web Session| EdgeNodes
EdgeNodes <-->|BSS_API_UPSTREAM Reverse Proxy| BSSCore
BSSCore -.->|SSH Firewall Sync & Health Probe| EdgeNodes
```
---
## 🎯 User Roles & Key Capabilities
| Role | Primary Use Case | Key Capabilities |
| :--- | :--- | :--- |
| **BSS Infrastructure Administrator** | Registering and monitoring distributed Customer Portal edge nodes | Add Customer Portal servers across **General**, **SSH & Firewall Sync**, and **Clustering & Health** tabs, probe HTTPS reachability, and configure local mononode vs. edge roles. |
| **Brand & Product Manager** | Multi-brand custom domain mapping | Assign canonical public domain URLs (`domainUrl`) and HTTP/HTTPS ports for regional or reseller storefronts. |
| **SecOps Auditor (Read-Only)** | Verifying DMZ isolation and SSH synchronization posture | Inspect portal server connectivity status, SSH authentication modes (`key` vs. `password`), and health check intervals. |
---
## 📋 Field & Configuration Reference
The Customer Portal Server editor is organized across three canonical tabs:
### Tab 1: General (Server Node Profile)
| Field | Key | Type | Description | Default |
| :--- | :--- | :--- | :--- | :--- |
| **Node Name** | `name` | Text | Descriptive name for this customer portal server (e.g., `Public Portal Edge 01`). | *Required* |
| **Server Role** | `serverRole` | Text | Architecture role of this node in the cluster (e.g., `portal_edge`). | `portal_edge` |
| **Host / IP Address** | `host` | Host/IP | Public or internal IPv4 address or FQDN of the edge host. | *Required* |
| **Public Domain URL** | `domainUrl` | URL | Public canonical URL exposed to customers (e.g., `https://portal.example.com`). | `""` |
| **HTTP Port** | `httpPort` | Number | Plain HTTP port used for automatic HTTPS redirection. | `80` |
| **HTTPS Port** | `httpsPort` | Number | Secure TLS HTTPS port serving the Customer Portal Web UI. | `8443` |
| **Description** | `description` | Text | Optional operator or topology notes for this edge node. | `""` |
### Tab 2: SSH & Firewall Sync
| Field | Key | Type | Description | Default |
| :--- | :--- | :--- | :--- | :--- |
| **SSH Port** | `sshPort` | Number | Remote SSH management port on the portal edge host. | `22` |
| **SSH Username** | `sshUsername` | Text | Remote Linux user with `sudo` privileges for `nftables` firewall updates. | `root` |
| **Auth Type** | `sshAuthType` | Select | Authentication mechanism for automated firewall sync: **Public Key Authentication** (`key`, recommended) or **Password Authentication** (`password`). | `key` |
| **SSH Password** | `sshPassword` | Password | SSH user password or private key passphrase (masked with reveal toggle). | `""` |
| **Probe Node Reachability** | *Action* | Button | Executes a live TCP/HTTPS reachability probe (`4000ms` timeout) to `host:httpsPort` and displays round-trip latency in milliseconds. | — |
### Tab 3: Clustering & Health (Node Clustering & Operating Policies)
| Field | Key | Type | Description | Default |
| :--- | :--- | :--- | :--- | :--- |
| **Host Customer Portal** | `hasCustomerPortal` | Toggle | Enables hosting of the Customer Portal Storefront (`softswitch-bss-client`) on this node. | `true` |
| **Local Server (Mononode)** | `isLocal` | Toggle | Indicates whether this portal runs locally on the primary BSS host (protects the built-in local node from accidental deletion). | `false` |
| **Health Monitoring** | `monitoringEnabled` | Toggle | Periodically polls node reachability and response latency. | `true` |
| **Active in Cluster** | `isActive` | Toggle | Enables or drains traffic routing to this Customer Portal node. | `true` |
| **Health Check Interval (s)** | `healthCheckInterval` | Number | Polling interval in seconds between automated health probes. | `60` |
---
## ⚙️ Operational Workflow
1. Deploy `softswitch-bss-client` on the target DMZ host with `BSS_API_UPSTREAM` pointing to your **Ring2All BSS** API cluster.
2. In the **Ring2All BSS Admin Console**, navigate to **Administration → Infrastructure → Customer Portal Servers** and click **+ Add**.
3. On **General**, enter the **Node Name**, **Server Role** (`portal_edge`), **Host / IP Address**, **Public Domain URL**, and **HTTP / HTTPS Ports**.
4. Switch to **SSH & Firewall Sync**, configure SSH access (`key` or `password`), and click **Probe Node Reachability** to verify sub-4000ms connectivity.
5. Switch to **Clustering & Health** to confirm **Host Customer Portal**, **Health Monitoring**, **Active in Cluster**, and **Health Check Interval (s)**, then click **Save**.
---
## 🔐 Security & RBAC Considerations
- **Zero Direct Database Exposure:** Customer Portal edge nodes never connect directly to PostgreSQL; all customer self-care operations proxy cleanly to `softswitch-bss-api` with strict customer-scoped JWT claims (`customer_id`).
- **Local Node Guardrail:** Nodes flagged with `isLocal = true` cannot be deleted from the UI, preventing accidental removal of the primary mononode portal entry.
- **RBAC Protection:** Managing Customer Portal Servers requires `Read` and `Write` permissions on the infrastructure administration module.