Turris Omnia：一个黑客喜欢的开源路由器
路由器

> 
> 无论你是一个网络工程师还是一个好奇的爱好者，当你在市场上购买网络设备时，都你应该看看开源的 Turris Omnia 路由器。
> 
> 
> 


在 21 世纪初，我对 OpenWrt 很着迷，只想在自己的路由器上运行它。不幸的是，我没有一个能够运行自定义固件的路由器，所以我花了很多周末去旧货地摊，希望能偶然发现一个 “Slug”（黑客们对 NSLU2 路由器的俚语），但这是徒劳的。最近，我买到了 Turris Omnia，除了有一个更酷的名字外，它是一个来自捷克的路由器，使用建立在 OpenWrt 之上的开源固件。它拥有你对运行开源硬件所期望的一切，而且还有很多东西，包括可安装的软件包，因此你可以准确地添加你的家庭或企业网络最需要的东西，而忽略你不会使用的部分。如果你认为路由器是简单的设备，没有定制的余地，甚至除了 DNS 和 DHCP 之外没有其他用途，那么你需要看看 Turris Omnia。它将改变你对路由器是什么的看法，路由器能为你的网络做什么，甚至是你与整个网络的互动方式。


![](/data/attachment/album/202202/16/193826bzmj4ywmgs8y58u8.jpg "The Turris Omnia on my desk")


### 开始使用 Turris Omnia


尽管 Turris Omnia 的功能很强大，但它给人的感觉却很熟悉。开始使用的步骤与任何其他路由器基本相同：


1. 打开电源
2. 加入它提供的网络
3. 在网络浏览器中进入 192.168.1.1 进行配置


如果你过去买过路由器，你以前会执行过这些相同的步骤。如果你不熟悉这个过程，要知道它并不比任何其他路由器复杂，而且里面有足够的文档。


![Configuration](/data/attachment/album/202202/16/193831whheda3ygffcfdae.jpg "Configuration")


### 简单和高级配置


在初始设置之后，当你进入 Turris Omnia 路由器时，你可以选择简单配置环境或高级配置。你必须从简单配置开始。在<ruby> 密码 <rt>  Password </rt></ruby>面板中，你可以为高级界面设置一个密码，这也可以让你对路由器进行 SSH 访问。


简单界面让你配置如何连接到广域网（WAN），并为你的局域网（LAN）设置参数。它还允许你设置一个个人 WiFi 接入点、一个访客网络，以及安装插件并与之互动。


它所声称的高级界面叫做 LuCI。它是为熟悉网络拓扑和设计的网络工程师设计的，它基本上是一个键值对的集合，你可以通过一个简单的网络界面进行编辑。如果你喜欢直接编辑数值，你可以用 SSH 进入路由器。



```
$ ssh root@192.168.1.1
root@192.168.1.1's password:

BusyBox v1.28.4 () built-in shell (ash)

      ______                _         ____  _____
     /_  __/_  ____________(_)____   / __ \/ ___/
      / / / / / / ___/ ___/ / ___/  / / / /\__
     / / / /_/ / /  / /  / (__  )  / /_/ /___/ /
    /_/  \__,_/_/  /_/  /_/____/   \____//____/  
                                             
 -----------------------------------------------------
 TurrisOS 4.0.1, Turris Omnia
 -----------------------------------------------------
root@turris:~#

```

### 插件


除了界面的灵活性之外，Turris Omnia 还有一个包管理器。你可以安装插件，包括网络附加存储（NAS）配置、Nextcloud 服务器、SSH 蜜罐、速度测试、OpenVPN、打印服务器、Tor 节点、运行容器的 LXC 等等。


![Package management for your router](/data/attachment/album/202202/16/193831txy301iig0rg7iyr.jpg "Package management for your router")


只需点击几下，你就可以安装自己的 [Nextcloud](https://opensource.com/tags/nextcloud) 服务器，这样你就可以运行自己的云服务或 OpenVPN，这样你就可以在离家时安全地访问你的网络。


### 开源路由器


这个路由器最好的部分是它是开源的，并且通过开源提供支持。你可以从他们的 [gitlab.nic.cz](https://gitlab.nic.cz/turris) 下载 Turris 操作系统和许多相关的开源工具。你也不必满足于设备上的固件。有了 2GB 的内存和 miniPCIe 插槽，你可以在上面运行 Debian。甚至前面板上的 LED 灯也是可编程的。这是一个黑客的路由器，无论你是一个网络工程师还是一个好奇的业余爱好者，当你在市场上购买网络设备时，你都应该看一看它。


你可以从 [turris.com](https://www.turris.com/en/) 网站上获得 Turris Omnia 和其他几个型号的路由器，然后加入 [forum.turris.cz](http://forum.turris.cz) 的社区。他们是一群友好的爱好者，热衷于分享知识、技巧和很酷的黑客技术，以促进你对开源路由器的使用。




---


via: <https://opensource.com/article/22/1/turris-omnia-open-source-router>


作者：[Seth Kenlon](https://opensource.com/users/seth) 选题：[lujun9972](https://github.com/lujun9972) 译者：[geekpi](https://github.com/geekpi) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
In the early 2000s, I was fascinated by OpenWrt and wanted nothing more than to run it on a router of my own. Unfortunately, I didn't have a router capable of running custom firmware, and so I spent weekends going to garage sales hoping in vain to stumble upon a "Slug" (the slang term hackers were using for the NSLU2 router). Recently, I got hold of the Turris Omnia, which, aside from having a much cooler name, is a router from the Czech Republic using open source firmware built on top of OpenWrt. It has everything you'd expect from hardware running open source, and quite a lot more, including installable packages so you can add exactly what your home or business network needs the most while ignoring the parts you won't use. If you've viewed routers as simple appliances with no room for customization or even utility beyond DNS and DHCP, then you need to look at the Turris Omnia. It'll change your perception of what a router is, what a router can do for your network, and even how you interact with your entire network.

![The Turris Omnia on my desk The Turris Omnia on my desk](https://opensource.com/sites/default/files/uploads/turris-omnia.jpg)

(Seth Kenlon, CC BY-SA 4.0)

## Getting started with Turris Omnia


For all its power, the Turris Omnia feels comfortingly familiar. The steps to get started are essentially the same as with any other router:

- Power it on
- Join the network it provides
- Navigate to 192.168.1.1 in a web browser to configure

If you've bought a router in the past, you'll have performed those same steps before. If you're new to this process, know that it's no more complicated than any other router, and ample documentation comes in the box.

![Configuration Configuration](https://opensource.com/sites/default/files/uploads/turris-omnia-wifi.jpg)

(Seth Kenlon, CC BY-SA 4.0)

## Simple and advanced configuration

After initial setup, when you navigate to the Turris Omnia router, you have a choice between a simple configuration environment or advanced. You have to begin with the simple configuration. In the **Password** panel, you can set a password for the advanced interface, which also grants you SSH access to the router.

The simple interface lets you configure how you connect to the wide-area network (WAN) and set parameters for your local-area network (LAN). It also allows you to set up a personal WiFi access point, a guest network, and install and interact with plugins.

The advanced interface, called LuCI, is exactly what it claims. It's for the network engineer who's familiar with network topography and design, and it's essentially a collection of key and value pairs that you can edit through a simple web interface. If you prefer to edit values directly, you can instead SSH into the router:

```
$ ssh root@192.168.1.1
root@192.168.1.1's password:
BusyBox v1.28.4 () built-in shell (ash)
______ _ ____ _____
/_ __/_ ____________(_)____ / __ \/ ___/
/ / / / / / ___/ ___/ / ___/ / / / /\__
/ / / /_/ / / / / / (__ ) / /_/ /___/ /
/_/ \__,_/_/ /_/ /_/____/ \____//____/
-----------------------------------------------------
TurrisOS 4.0.1, Turris Omnia
-----------------------------------------------------
root@turris:~#
```


## Plugins

In addition to the flexibility of its interface, the Turris Omnia also features a package manager. You can install plugins, including Network Attached Storage (NAS) configuration, a Nextcloud server, an SSH honeypot, speed test, OpenVPN, print server, a Tor node, LXC for running containers, and much more.

![Package management for your router Package management for your router](https://opensource.com/sites/default/files/uploads/turris-omnia-packages.jpg)

(Seth Kenlon, CC BY-SA 4.0)

With just a few clicks, you can install your own [Nextcloud](https://opensource.com/tags/nextcloud) server so you can run your own cloud services or OpenVPN so you can safely access your network when you're away from home.

## Open source router

The best part about this router is that it's open source and supports open source. You can download Turris OS and many related open source tools from their [gitlab.nic.cz](https://gitlab.nic.cz/turris). You don't have to settle for the firmware that ships on the device, either. With 2 GB of RAM and miniPCIe slots, you can run Debian on it. Even the LEDs in the front panel are programmable. This is a hacker's router, and whether you're a network engineer or a curious hobbyist, you ought to take a look at it the next time you're in the market for network gear.

You can get the Turris Omnia and several other router models from the [turris.com](https://www.turris.com/en/) website, and then join the community at [forum.turris.cz](http://forum.turris.cz). They're a friendly bunch of enthusiasts, eager to share knowledge, tips, and cool hacks to further what you can do with your open source router.

## 4 Comments