> For the complete documentation index, see [llms.txt](https://docs.verge.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verge.io/knowledge-base/zh/networking/accessing-the-user-interface-from-an-internal-network.md).

# 从内部网络访问用户界面

## 概述

{% hint style="info" %}
**要点**

* 从您环境中的虚拟机访问 vergeOS 界面
* 在内部网络上创建路由规则
* 涉及仪表板导航和规则创建的简单流程
  {% endhint %}

本文将指导您完成在 vergeOS 环境中的虚拟机（VM）上设置对 vergeOS 用户界面（UI）访问的过程。此操作通过在您的 VM 所连接的网络上创建一条特定的路由规则来实现，通常是内部网络。

## 前提条件

* 一个正在运行的 vergeOS 环境
* vergeOS 环境中的一台虚拟机（VM）
* 可访问 vergeOS 仪表板
* 对 vergeOS 中网络规则的基本了解

## 步骤

1. 进入网络仪表板
   * 登录您的 vergeOS 环境
   * 前往您的目标 VM 所连接网络的仪表板
2. 创建新规则

   * 找到创建新规则的选项
   * 使用下图所示的设置：

   ![ui-access-rule.png](/files/957a69bfce03e0cb2aad1295d709bd57153dd36d)
3. 提交规则
   * 配置好规则后，提交它
   * 您将被重定向到该网络的规则列表视图
4. 应用新规则
   * 点击“应用规则”以激活新创建的规则
5. 从 VM 访问 UI
   * 在您的 VM 中打开网页浏览器
   * 导航到 Verge UI 的 IP 地址（例如， `https://192.168.4.1`)

{% hint style="success" %}
**专业提示**

始终确保您的 VM 网络设置已正确配置为使用您已设置此规则的内部网络。
{% endhint %}

## 故障排除

{% hint style="warning" %}
**常见问题**

* 问题：创建规则后无法访问 UI
  * 解决方案：
    1. 验证规则是否已正确应用
    2. 检查 VM 的网络接口是否位于正确的网络上
    3. 确保没有防火墙规则阻止连接
       {% endhint %}

## 其他资源

* [网络概览](/run-the-platform/networking/network-overview.md)
* [网络规则](/run-the-platform/networking/network-rules.md)
* [创建内部网络](/run-the-platform/networking/internal-networks.md)

## 反馈

{% hint style="info" %}
**需要帮助吗？**

如果您在设置 UI 访问时遇到任何问题，或对该流程有任何疑问，请随时联系我们的支持团队。
{% endhint %}

***

{% hint style="info" %}
**文档信息**

* 最后更新：2024-08-29
* vergeOS 版本：4.12.6
  {% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.verge.io/knowledge-base/zh/networking/accessing-the-user-interface-from-an-internal-network.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
