Relay Server Overview
Dinesh
Last Update 1 個月前
Overview
You install the Relay Server inside that network. It acts as a bridge between the Central Server and the assets.
Note: In this document, Central Server refers to either the SecOps SaaS Platform or the SecOps On-Prem Central Server
SecOps Solution offers two types of Relay Server:
| Jump Host | Distribution Server | |
|---|---|---|
| Connects the Central Server to assets | Yes | Yes |
| Keeps a local copy of patches | No | Yes |
| Use it when | You only need to reach assets in a restricted network. | You also want patches to be downloaded once and shared locally, for example in a branch office or on a slow WAN link. |
How the Connection Works
| Asset type | Asset → Relay Server | Relay Server → Asset |
|---|---|---|
| Agent-based (SecOps Agent installed) | 5679 / 5680 (HTTP / HTTPS) 5683 / 5684 (WebSocket) | None |
| Agentless Windows | 5679 / 5680 (HTTP / HTTPS) | 5985 / 5986 (WinRM) |
| Agentless Linux/Mac | 5679 / 5680 (HTTP / HTTPS) | 22 (SSH) |
The agent opens the WebSocket (5683 / 5684) and keeps it open. The Relay Server uses this open connection to send tasks back to the agent, so it never needs to connect into an agent-based asset.
The Relay Server connects out to the Central Server over HTTPS and also opens a WebSocket to it. The Central Server sends tasks to the Relay Server on this open WebSocket, so it never connects into your network.

Hardware Requirements
Size the Relay Server by the number of assets it manages.
| Assets per Relay Server | Jump Host | Distribution Server |
|---|---|---|
| 1 - 500 | 2 cores, 4 GB RAM, 10 GB SSD | 2 cores, 4 GB RAM, 50 GB SSD |
| 501 - 1,000 | 2 cores, 4 GB RAM, 10 GB SSD | 2 cores, 4 GB RAM, 75 GB SSD |
| 1,001 - 3,000 | 4 cores, 8 GB RAM, 15 GB SSD | 4 cores, 8 GB RAM, 150 GB SSD |
| 3,001 - 5,000 | 6 cores, 12 GB RAM, 20 GB SSD | 6 cores, 12 GB RAM, 250 GB SSD |
A Distribution Server needs more disk because it stores patches. Actual usage depends on how many patches you distribute. SSD storage is recommended.
Firewall Requirements
- Destination machine: allow the port inbound. This is always required.
- Network firewall between the two machines (if any): allow traffic from the Source to the Destination on that port.
- Source machine: allow the port outbound only if that machine or its network blocks outgoing traffic. Most operating systems allow all outgoing traffic by default, so usually nothing is needed here.
You do not need a rule for the reply traffic. Firewalls allow replies on an existing connection automatically.
Example: The row Agent-based Asset → Relay Server : 5679 means open 5679 inbound on the Relay Server. Open 5679 outbound on the asset only if the asset blocks outgoing connections. Nothing needs to be opened inbound on the asset.
The Relay Server uses HTTPS and a WebSocket to the Central Server. The WebSocket stays open, and the Central Server sends tasks back on it.
SaaS
| Source | Destination | Port | Protocol |
|---|---|---|---|
| Relay Server | api.app.secopsolution.com | 443 | HTTPS |
| Relay Server | socket.app.secopsolution.com | 443 | Secure WebSocket (WSS) |
On-prem
| Source | Desitnation | Port | Protocol |
|---|---|---|---|
| Relay Server | On-Prem Central Server | 58443 | HTTPS and Secure WebSocket (WSS) |
| Relay Server | On-Prem Central Server | 58080 | HTTP |
2. Assets → Relay Server
Both agent-based and agentless assets connect to the Relay Server on 5679 / 5680. Agent-based assets also open a WebSocket on 5683 / 5684.
| Source | Destination | Port | Protocol |
|---|---|---|---|
| All assets (agent-based and agentless) | Relay Server | 5679 | HTTP |
| All assets (agent-based and agentless) | Relay Server | 5680 | HTTPS |
| Agent-based Asset | Relay Server | 5683 | WebSocket (WS) |
| Agent-based Asset | Relay Server | 5684 | Secure WebSocket (WSS) |
3. Relay Server → Agentless Assets
The Relay Server starts these connections, so the port must be open inbound on the asset.
| Source | Destination | Port | Protocol |
|---|---|---|---|
| Relay Server | Windows Asset | 5985 | WinRM over HTTP |
| Relay Server | Windows Asset | 5986 | WinRM over HTTPS |
| Relay Server | Linux/Mac Asset | 22* | SSH |
Agentless assets also connect back to the Relay Server on 5679 / 5680, as listed in section 2.
* If SSH runs on a custom port, open that port instead and enter it when you onboard the asset.
Summary
- A Relay Server lets the Central Server manage assets in a network it cannot reach directly.
- Use a Jump Host for connectivity only. Use a Distribution Server if you also want a local patch store.
- The Relay Server connects out to the Central Server over HTTPS and a WebSocket on 443 (SaaS) or 58443 / 58080 (On-Prem).
- Agent-based assets connect to the Relay Server on 5679 / 5680 (HTTP / HTTPS) and open a WebSocket on 5683 / 5684. Open these inbound on the Relay Server.
- For agentless assets, the Relay Server connects to the asset on 5985 / 5986 (Windows) or 22 (Linux/Mac). Open these inbound on the asset. The asset also connects back to the Relay Server on 5679 / 5680.
