arblant
firefox-vpn-client / docs / readme / README_zh.md
README_zh.md127 lines · 7.7 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
<div align="center">

[🇺🇸 English](../../README.md) &nbsp;/&nbsp; [🇮🇷 فارسی](README_fa.md) &nbsp;/&nbsp; **🇨🇳 简体中文** &nbsp;/&nbsp; [🇷🇺 Русский](README_ru.md)

</div>
<br>

<p align="center"><img src="../images/logo.png" width="128" alt="Firefox VPN"></p>

<h1 align="center">Firefox VPN</h1>

<div align="center">

[![Downloads](https://img.shields.io/github/downloads/armanlife/firefox-vpn-client/total?style=flat-square&logo=github&label=Downloads)](https://github.com/armanlife/firefox-vpn-client/releases)
[![Last Version](https://img.shields.io/github/v/release/armanlife/firefox-vpn-client?style=flat-square&label=Version)](https://github.com/armanlife/firefox-vpn-client/releases/latest)
[![License](https://img.shields.io/github/license/armanlife/firefox-vpn-client?style=flat-square&label=License)](../../LICENSE)

</div>

## Firefox VPN 是什么?

**Firefox VPN** 是一款免费、开源的 VPN,使用 Firefox 账户(Firefox Account)登录。它通过 Mozilla 的服务器,基于 **Fastly** 的基础设施,以安全的 **HTTP/2 和 HTTP/3** 隧道传输你的网络流量。

每个 Firefox 账户每月有 **50 GB 免费流量**,**多账户**功能让流量成倍增加:一个账户用完后,下一个会**自动**接上。

支持 **Android、Windows、macOS 和 Linux**;完全免费,没有广告。

<p align="center"><a href="https://raw.githubusercontent.com/armanlife/firefox-vpn-client/main/docs/screenshots/main.webp" target="_blank"><img src="../screenshots/main.webp" width="720" alt="Firefox VPN"></a></p>

## 🚀 主要功能

✈️ 跨平台:Android、Windows、macOS 和 Linux

⭐ 界面简洁,非常易用

🆓 免费:每个 Firefox 账户每月 50 GB

➕ 多账户:一个账户的流量用完后,下一个自动接替

🌐 Mozilla 官方服务器:通过延迟测试选择国家,或自动选择最佳服务器

⚡ 基于 HTTP/2 和 HTTP/3 的快速、稳定连接

🔀 智能分流:国内网站直连,更快且不消耗流量

🔌 多种连接模式(VPN 和代理)

🔒 加密 DNS(DNS over HTTPS)

🌍 支持 15 种语言,包括英语、波斯语、中文和俄语

🌙 浅色和深色主题

🛡 开源、安全、社区驱动

🔄 自动检查更新

## 📸 截图

<p align="center">
<img src="../screenshots/phone_01.webp" width="240" alt="Home">&nbsp;&nbsp;
<img src="../screenshots/phone_02.webp" width="240" alt="Servers">&nbsp;&nbsp;
<img src="../screenshots/phone_03.webp" width="240" alt="Settings">
</p>

## 📥 下载

<table>
<thead>
<tr><th>系统</th><th>下载</th></tr>
</thead>
<tbody>
<tr><td>Android</td><td><a href="https://github.com/armanlife/firefox-vpn-client/releases/latest/download/Firefox-VPN-Android-universal.apk"><img src="https://img.shields.io/badge/APK-Universal-1a7f37?logo=android&logoColor=white" alt="APK Universal"></a><br><a href="https://github.com/armanlife/firefox-vpn-client/releases/latest/download/Firefox-VPN-Android-arm64-v8a.apk"><img src="https://img.shields.io/badge/APK-ARMv8-2da44e?logo=android&logoColor=white" alt="APK ARMv8"></a><br><a href="https://github.com/armanlife/firefox-vpn-client/releases/latest/download/Firefox-VPN-Android-armeabi-v7a.apk"><img src="https://img.shields.io/badge/APK-ARMv7-4ac26b?logo=android&logoColor=white" alt="APK ARMv7"></a><br><a href="https://github.com/armanlife/firefox-vpn-client/releases/latest/download/Firefox-VPN-Android-x86_64.apk"><img src="https://img.shields.io/badge/APK-x64-6fdd8b?logo=android&logoColor=white" alt="APK x64"></a></td></tr>
<tr><td>Windows</td><td><a href="https://github.com/armanlife/firefox-vpn-client/releases/latest/download/Firefox-VPN-Windows-Setup-x64.exe"><img src="https://img.shields.io/badge/Setup-x64-0550ae?logo=windows&logoColor=white" alt="Setup x64"></a><br><a href="https://github.com/armanlife/firefox-vpn-client/releases/latest/download/Firefox-VPN-Windows-x64.zip"><img src="https://img.shields.io/badge/Portable-x64-0969da" alt="Portable x64"></a></td></tr>
<tr><td>macOS</td><td><a href="https://github.com/armanlife/firefox-vpn-client/releases/latest/download/Firefox-VPN-macOS.dmg"><img src="https://img.shields.io/badge/DMG-Universal-24292f?logo=apple&logoColor=white" alt="DMG Universal"></a></td></tr>
<tr><td rowspan="2">Linux</td><td><a href="https://github.com/armanlife/firefox-vpn-client/releases/latest/download/Firefox-VPN-Linux-amd64.tar.gz"><img src="https://img.shields.io/badge/App-amd64-e36209?logo=linux&logoColor=white" alt="App amd64"></a><br><a href="https://github.com/armanlife/firefox-vpn-client/releases/latest/download/Firefox-VPN-Linux-arm64.tar.gz"><img src="https://img.shields.io/badge/App-ARM64-e36209?logo=linux&logoColor=white" alt="App ARM64"></a></td></tr>
<tr><td><a href="https://github.com/armanlife/firefox-vpn-client/releases/latest/download/firefox-vpn-core-linux-amd64.tar.gz"><img src="https://img.shields.io/badge/Core-amd64-f0883e?logo=linux&logoColor=white" alt="Core amd64"></a><br><a href="https://github.com/armanlife/firefox-vpn-client/releases/latest/download/firefox-vpn-core-linux-arm64.tar.gz"><img src="https://img.shields.io/badge/Core-ARM64-f6a35e?logo=linux&logoColor=white" alt="Core ARM64"></a></td></tr>
</tbody>
</table>

**该下载哪个文件?**

- **Android:** 不确定的话,选 **Universal**,所有手机都能安装。**ARMv8** 适用于大多数现代手机,体积更小。
- **Windows:** **Setup** 是普通安装程序;**Portable** 无需安装,可在任意文件夹运行。
- **Linux:** **App** 用于 Linux 桌面(有图形界面);**Core** 用于服务器(无图形界面,带网页面板)。

## 💻 在 Linux 和 macOS 上安装与更新

> Windows 和 Android 用户无需阅读本节:直接从上方“下载”表格获取安装文件。

```bash
curl -fsSL https://raw.githubusercontent.com/armanlife/firefox-vpn-client/main/install.sh | bash
```

### 🌐 网页面板

在 Linux 服务器上,Firefox VPN 提供一个**网页面板**,可在任何浏览器中打开,拥有应用的全部功能:管理账户和流量、选择服务器并测试延迟、连接测试、实时日志以及所有设置。

<p align="center"><img src="../screenshots/web.webp" width="720" alt="Web panel"></p>

- **面板地址:** `http://SERVER-IP:10820/app/`,需要用户名和密码。安装结束时会显示确切地址。
- **代理:** 端口 `10810` 上的 SOCKS5 和 HTTP,使用单独的用户名和密码。

### ⌨️ 在终端中管理

在服务器上运行 `sudo firefox-vpn`,即可打开管理菜单:

```text
$ sudo firefox-vpn

  Firefox VPN
  ────────────────────────────────────────────────────────────────────────────
   1) Status                                   firefox-vpn status
   2) Start                                    firefox-vpn start
   3) Stop                                     firefox-vpn stop
   4) Restart                                  firefox-vpn restart
   5) Start with the server                    firefox-vpn enable
   6) Do not start with the server             firefox-vpn disable
   7) Show the log                             firefox-vpn logs
   8) Add a Firefox Account                    firefox-vpn add-account
   9) List the accounts and their quota        firefox-vpn list-accounts
  10) Set the panel's username and password    firefox-vpn set-dashboard-login
  11) Update to the newest version             firefox-vpn update
   0) Exit
  ────────────────────────────────────────────────────────────────────────────
  Enter a number [0-11]:
```