Skip to content

使用OpenWrt的原因 ​

People install OpenWrt because they find it to be superior to the stock firmware of their router or embedded device.

人们安装OpenWrt是因为他们发现它优于路由器或嵌入式设备的库存固件。

Performance & stability 性能和稳定性 ​

OpenWrt is designed by network professionals and others who care about the performance of their network. OpenWrt incorporates many algorithms from recent research that perform far better than vendor-supplied firmware.

OpenWrt由网络专业人员和其他关心其网络性能的人设计。OpenWrt结合了最近研究中的许多算法,其性能远远优于供应商提供的固件。

  • OpenWrt is stable, and operates reliably for long periods of time. OpenWrt是稳定的,并且可以长时间可靠地运行。

  • OpenWrt reduces latency/lag and increased network throughput via bufferbloat control algorithms. OpenWrt通过缓冲区膨胀控制算法减少延迟/滞后并提高网络吞吐量。

  • Wi-Fi improvements support higher data rates and airtime fairness between stations. Wi-Fi 改进支持更高的数据速率和电台之间的通话时间公平性。

  • Older devices are still supported by OpenWrt improvements (as long as RAM/Flash of your device can accommodate new releases) long after the manufacturer stops making updates. 在制造商停止更新很久之后,OpenWrt改进仍然支持较旧的设备(只要设备的RAM /闪存可以容纳新版本)。

Security 安全 ​

OpenWrt is an open source software. Many developers from all over the world review the code before it's released.

OpenWrt是一个开源软件。来自世界各地的许多开发人员在代码发布之前对其进行了审查。

  • No hidden backdoors left by hardware vendors. 没有硬件供应商留下的隐藏后门。

  • OpenWrt is resistant to common vulnerabilities thanks to its Linux OS which is unaffected by many common attacks. OpenWrt可以抵抗常见漏洞,这要归功于其Linux操作系统不受许多常见攻击的影响。

  • OpenWrt is actively updated so any vulnerabilities are closed shortly after they are discovered. OpenWrt会主动更新,因此任何漏洞在发现后不久就会关闭。

  • Default OpenWrt configuration is very conservative allowing full internet connectivity without exposing your router or connected devices to attacks. 默认的OpenWrt配置非常保守,允许完全的互联网连接,而不会使您的路由器或连接的设备受到攻击。

  • Many of the older devices are supported by OpenWrt and can enjoy security OpenWrt brings, long after vendors stop releasing firmware updates. 许多较旧的设备都受到OpenWrt的支持,并且可以在供应商停止发布固件更新很久之后享受OpenWrt带来的安全性。

  • OpenWrt prolongs the life of your router. While many vendors only provide updates for your router/device until the newer model is released, OpenWrt supports all compatible models for as long as their RAM/Flash can accommodate new releases. OpenWrt延长了路由器的使用寿命。虽然许多供应商只为您的路由器/设备提供更新,直到发布较新的型号,但OpenWrt支持所有兼容的型号,只要他们的RAM /闪存可以容纳新版本。

Extensibility 扩展 ​

While vendor firmware for a router ships with a fixed set of capabilities, OpenWrt provides more than 27000 packages ready to be installed. Some of the more popular packages allow you to:

虽然路由器的供应商固件附带一组固定的功能,但 OpenWrt 提供了 27000 多个准备安装的软件包。一些更流行的软件包允许您:

  • Utilize native dual-stack connectivity out-of-the-box or provide IPv4/IPv6 transitioning. 利用开箱即用的本机双堆栈连接或提供 IPv4/IPv6 转换。

  • Block ads on your router so you can enjoy clean uncluttered web experience from any connected device. 阻止路由器上的广告,以便您可以从任何连接的设备享受干净整洁的网络体验。

  • Reduce latency/lag (bufferbloat) even during heavy traffic with Smart Queue Management. 通过智能队列管理减少延迟/滞后(缓冲区膨胀),即使在流量繁忙的情况下也是如此。

  • Secure access to your home network when away with OpenVPN or WireGuard server. 使用OpenVPN或WireGuard服务器时安全访问您的家庭网络。

  • Secure your internet access and prevent your ISP from snooping on your internet activity with OpenVPN or WireGuard client. 保护您的互联网访问,并防止您的ISP使用OpenVPN或WireGuard客户端窥探您的互联网活动。

  • Prevent your ISP from spoofing and snooping on your DNS requests with DNS encryption. 防止您的 ISP 使用 DNS 加密欺骗和窥探您的 DNS 请求。

  • Encrypt your internet connection, bypass regional restrictions, access the dark net and Tor hidden services with Tor client. 加密您的互联网连接,绕过区域限制,使用 Tor 客户端访问暗网和 Tor 隐藏服务。

  • Force connected devices with hard-coded DNS servers to use your router's DNS with DNS hijacking. 强制具有硬编码 DNS 服务器的连接设备使用路由器的 DNS 进行 DNS 劫持。

  • Create a guest WLAN allowing access to internet, but not your local devices. 创建允许访问互联网的访客 WLAN,但不允许访问本地设备。

  • Control access using the time limits and parental controls. 使用时间限制和家长控制控制访问。

  • Set quota on download volume or bandwidth. Useful for e.g. 3G/4G connection with limited up/download volume. 设置下载量或带宽配额。适用于例如 3G/4G 连接,上传/下载量有限。

  • Add a webcam for live surveillance or timelapse video creation of landscapes or 3D printers. 添加网络摄像头,用于风景或 3D 打印机的实时监控或延时视频创建。

  • Connect to your weather station with pywws or weewx, record weather statistics and make them accessible via a webserver, garnished with a live webcam image. 使用 pywws 或 weewx 连接到您的气象站,记录天气统计数据并通过网络服务器访问它们,并用实时网络摄像头图像装饰。

  • Interact with 1-wire devices (sensors, actors, ...). 与1-wire设备(传感器、执行器等)交互。

  • Make your router a central for home automation. 让您的路由器成为家庭自动化的中心。

  • Access a wider range of Dynamic DNS (DDNS) providers than vendor firmware via ddns-scripts. 通过 ddns 脚本访问比供应商固件更广泛的动态 DNS (DDNS) 提供商。

Community support 社区支持 ​

The vibrant community of developers, volunteers, and other long-time OpenWrt users are always available to help solve an issue.

充满活力的开发人员,志愿者和其他长期OpenWrt用户社区随时可以帮助解决问题。

See also: Communication within the OpenWrt Project

参见:OpenWrt项目内的通信

Research platform 研究平台 ​

Many teams who are doing cutting-edge research into networking topics use OpenWrt as a stable platform for their work. As their work moves from the experimental realm into practical, production-quality code, it is available in OpenWrt builds first. Some teams using OpenWrt include:

许多对网络主题进行前沿研究的团队使用 OpenWrt 作为他们工作的稳定平台。随着他们的工作从实验领域转移到实用的、生产质量的代码,它首先在OpenWrt构建中可用。一些使用OpenWrt的团队包括:

  • Continuing development of the fq_codel and cake algorithms that decrease bufferbloat. 继续开发减少缓冲膨胀的fq_codel and cake algorithms。

  • The Make Wi-Fi Fast team has been working to decrease queueing and latency in the wi-fi stack, and is testing out their airtime fairness code using OpenWrt. Make Wi-Fi Fast团队一直致力于减少Wi-Fi堆栈中的排队和延迟,并正在使用OpenWrt测试他们的通话时间公平代码。

  • Homenet provides implementation of zeroconf IPv6 (and IPv4) routing, prefix assignment and service discovery for a home network consisting of multiple routers connected to multiple service providers. There's a hnet-full package for OpenWrt. Homenet 为由连接到多个服务提供商的多个路由器组成的家庭网络提供零 IPv6(和 IPv4)路由、前缀分配和服务发现的实施。OpenWrt有一个hnet-full软件包。

Configuration 配置 ​

Because OpenWrt is a true Linux-based system, you have full control over all functions of your router/device. 由于OpenWrt是一个真正的基于Linux的系统,因此您可以完全控制路由器/设备的所有功能。

  • OpenWrt provides both command-line interface (via SSH) and a web-based user interface for configuration. OpenWrt提供命令行界面(通过SSH)和基于Web的用户界面进行配置。

  • Configuration information is stored in plain-text files to ease the editing and/or copying. 配置信息存储在纯文本文件中,以便于编辑和/或复制。

  • OpenWrt Image Generator allows you to create your own firmware images for your device with any customizations (pre-defined password, WiFi, etc). OpenWrt图像生成器 允许您使用任何自定义(预定义密码,WiFi等)为设备创建自己的固件映像。

  • The LuCI WebUI allows you to select themes that suit your needs/tastes In addition, Localization of WebUI is available via packages in over 20 languages. LuCI WebUI允许您选择适合您需求/口味的主题以外,WebUI的本地化 可通过20多种语言的软件包获得。

  • Configure the external LEDs and buttons/switches to suit your needs. 配置外部 LED 和按钮/开关以满足您的需求。

Zero cost 零成本 ​

OpenWrt is provided for free through its GPL license, and thanks to the efforts of many volunteer contributors (both individuals and companies). There are no subscription or licensing fees.

OpenWrt通过其GPL许可证免费提供,并感谢许多志愿者贡献者(个人和公司)的努力。没有订阅或许可费用。

TIP

这里的零成本只是针对软件层面来说是零成本,毕竟软路由也是路由器,也是一台设备。