# Web Radar Set Up

## 📡 EZRadarMenu – Radar Server Setup Guide (English Translation)

\\

<figure><img src="https://367862104-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdC2T8C1BqGAYE0ELuJZo%2Fuploads%2FuToFbbuo84cA6fJ0R3FX%2Fimage.png?alt=media&#x26;token=09db26e6-e974-48be-a3ab-19587ce1fbbe" alt=""><figcaption></figcaption></figure>

***

### ⚙️ Tab: `Radar Setting`

This section allows you to connect the radar tool to either:

* A **remote Linux server (VPS)** via SSH (recommended for separation/security), or
* Your **local machine (127.0.0.1)**

***

### 🧷 Option 1: Remote Server (SSH Tunnel Mode)

> Use this if your radar is running on a remote VPS or another machine on your network.

#### 🔐 Field-by-Field Explanation (Top Screenshot):

| **Field Name (CN)** | **Translation**       | **Instructions**                                                                                  |
| ------------------- | --------------------- | ------------------------------------------------------------------------------------------------- |
| 服务器地址               | Server IP Address     | Enter the **public IP** of your radar server (e.g. `123.45.67.89`)                                |
| 端口号                 | SSH Port              | Default is **22**, unless your server uses a custom port                                          |
| 用户名                 | Username              | Usually **root** for most VPS providers. Change if needed                                         |
| 密码                  | Password              | Input the **SSH login password** for the server                                                   |
| 本地转发端口              | Local Forward Port    | Set a port between **1000–65534** (e.g. `27136`). This is the port your local app will connect to |
| 开启雷达                | Enable Radar (Toggle) | Toggle **on** after filling in all the fields                                                     |

***

#### ✅ Requirements:

* Your radar server **must be running a radar backend** (either a radar binary or web service).
* Port **22** must be open on the server (or your custom SSH port).
* The server must allow **TCP forwarding** (check `/etc/ssh/sshd_config` for `AllowTcpForwarding yes`).
* You must **know the internal port** that your radar is serving on (the tool handles local port forwarding to it).

***

#### 🧪 Optional Debug Tip:

If the radar does not load, open a terminal on your local PC and test with:

```bash
bashCopyEditcurl http://127.0.0.1:27136
```

If you don’t get a response, either the tunnel isn't set up properly, or the server's radar service isn’t running or listening.

***

### 🖥️ Option 2: Localhost (127.0.0.1 Mode)

> Use this if the radar server is running **on the same machine** as the cheat menu.

#### ⚙️ Field-by-Field Explanation (Bottom Screenshot):

| **Field Name (CN)** | **Translation**     | **Instructions**                                                         |
| ------------------- | ------------------- | ------------------------------------------------------------------------ |
| 服务器地址               | Server IP Address   | Leave as `127.0.0.1` — this points to **your own PC**                    |
| 本地转发端口              | Local Radar Port    | Enter the port where your local radar backend is running (e.g. `17116`)  |
| 用户名/密码              | Username/Password   | Not required for local connections — leave empty                         |
| 启用按钮                | Enable Radar Button | Click the **bottom right button** to apply settings and start connection |

***

#### ✅ Requirements:

* You must already have a radar server running locally and listening on the port you enter.
* No SSH is needed, since it's a direct local connection.
* This is simpler to set up but **less secure** if you're combining cheat + radar on one PC.

***

### 🔄 Summary of Modes

| Mode         | Use Case                 | SSH Required | More Secure? |
| ------------ | ------------------------ | ------------ | ------------ |
| Remote (SSH) | Radar on VPS/server      | ✅ Yes        | ✅ Yes        |
| Localhost    | Radar running on same PC | ❌ No         | ❌ No         |

***

### 🔐 Example Remote Setup

If your radar server is running on a remote VPS:

* IP: `45.77.123.111`
* SSH port: `22`
* Username: `root`
* Password: `your_vps_pass`
* Radar service on server listening at port `5000`
* Local port (tunnel): `27136`

In the cheat tool:

* Server IP: `45.77.123.111`
* SSH Port: `22`
* Username: `root`
* Password: `your_vps_pass`
* Forwarded Port: `27136`

Then visit `http://127.0.0.1:27136` locally — the tool will forward traffic from this local port to the server radar.
