Awesome Home Networking

Websites and Resources

Theme Site

forum

Associated Organizations

YouTuber, Bilibili UP Master

Books, Tutorials

hardware equipment

Equipment type

Wireless Router

Our most common wireless router (SOHO wireless router) actually not only includes the function of a router, but integrates multiple functions such as a router, a firewall, a switch, and a wireless AP. The operation and setting are relatively simple and can meet the needs of most families.

Wireless mesh system/distributed routing

When a single wireless router cannot meet the coverage area, multiple devices can be networked to expand the wireless area. Multiple nodes of the wireless mesh system can communicate with each other to form a mesh network, and automatically select the best path during communication. At present, a large number of manufacturers have launched wireless mesh systems for home use.

Wireless AP

Wireless APs generally only provide Wi-Fi access functions, and need to cooperate with switches and routers to build a complete wireless network. Compared with the home wireless mesh system, the networking of multiple wireless APs has advantages in terms of stability, speed, and coverage area. The disadvantage is that the installation is complicated, and it is mainly used in enterprises. When it is used in the home, it generally needs to be considered in the initial stage of decoration.

switch

Switches work at the data link layer and can connect multiple devices within the same network. For example, there are multiple computers, game consoles and other devices at home, but the number of network ports on the ordinary wireless router is insufficient, you can use a switch to expand the network ports to connect multiple devices.

Wired Router

Routers work at the network layer and are used to connect two or more networks and forward data between multiple networks. For home scenarios, routers are generally used to connect operator networks and home networks, and are responsible for allowing devices at home to access the Internet.

When ordinary wireless routers cannot meet the needs, you can use more powerful wired routers, combined with switches and wireless APs, to build a home network.

Soft Routing

Soft routers generally use general-purpose hardware platforms, such as routers built on x86 servers. Compared with ordinary routers, special hardware is rarely used to accelerate functions such as message forwarding, but it is processed in the form of pure software.

Since the soft router uses general-purpose hardware, has a large memory, and mostly runs an operating system based on Linux or FreeBSD, it can expand more functions through software and has greater flexibility. In terms of performance, soft routers have more powerful CPUs, but ordinary routers can implement routing forwarding, QoS, NAT and other functions through specialized hardware, so simple comparisons cannot be made.

light cat

Optical cats are used to convert optical signals into electrical signals. At present, most household optical modems also have the functions of routing and Wi-Fi.

Optical modems are generally provided by operators and rented when broadband is installed. Some users who are pursuing the Internet will also choose to purchase by themselves, but different regions have different requirements for optical modems, and the setting methods are not necessarily the same, so you need to understand relevant information before purchasing.

In addition, there are hardware such as PON Stick, which integrates optical modems into SFP+ modules, and can be directly used with routers or switches that support SFP+ interfaces, reducing the volume occupation.

Development Board

At present, there are many development boards on the market, with single or multiple network ports, running standard Linux or OpenWrt, and some even support Wi-Fi, which can realize the following functions:

  • The performance of most development boards of self-made wireless routers may not be sufficient, or there is only one network port, and not many people do this
  • Using some home wireless routers as DNS server, proxy server, HomeBridge/HomeAssistant server, etc. can also realize these functions by installing software. However, considering performance and stability, it is a better choice to run related services through an independent development board
  • Connect sensors, display screens, relays, etc. to realize IoT and smart home related functions Most development boards have rich IO port resources and can connect more modules to realize IoT related functions

Common development boards with network functions are as follows:

  • Raspberry Pi and other popular single-board computers, you can find a lot of resources on the Internet
    • RouterPi: Gigabit router made with Raspberry Pi CM4
  • wrtnode development board running OpenWrt
  • Widora development board running OpenWrt
  • Arduino Yún runs the development board of OpenWrt, and is internally connected with an AVR microcontroller to expand IO port resources and integrate Arduino at the same time And OpenWrt two ecology. More suitable for making DIY works related to the Internet of Things
  • BPI-R1 development board with five network ports, SATA, USB
  • Marvell ESPRESSObin development board with three network ports, SATA interface, and hardware forwarding chip
  • NanoPi R2S is a development board with two Ethernet ports, capable of running Linux, and compact in size.

And the following soft routing solutions based on common development boards:

Enterprise Class Devices

For network enthusiasts, you can also consider enterprise-level network equipment, such as Aruba, Ruckus, CISCO, or equipment from domestic manufacturers such as Huawei, H3C, and Ruijie.

Since this List mainly focuses on home networks, it will not organize too much knowledge about enterprise-level devices.

other

In addition to routers, switches and other devices, there are many auxiliary devices on the market to enhance the functions of the home network.

  • Wi-Fi Extender/Signal Amplifier
  • Intranet penetration tools such as Peanut Stick
  • Fingbox: Stand-alone hardware that integrates functions such as LAN scanning, parental control, and bandwidth monitoring
  • Circle: standalone hardware with parental controls

Purchase Guide

Equipment manufacturers and brands

TP-LINK is the most well-known wireless router brand in China. The price is relatively low. If you just want to quickly build a simple and stable home network, TP-LINK is a good choice. Of course, TP-LINK also has many models that support OpenWrt.

In addition, TP-LINK has many differences in product layout and marketing strategies at home and abroad, and even the logos at home and abroad are different. On platforms such as Taobao and Xianyu, you can buy some foreign versions of hardware.

Recently, TP-LINK has also launched some hardware products with excellent industrial design, as well as some innovative software functions, such as “paper routing” products, and extended functions through Docker:

ASUS ASUS

ASUS wireless routers have a relatively rich product line, ranging from entry-level 100-yuan models to high-end models above 4,000 yuan, and there are also special models such as ROG player country.

AiMesh is a signature function of ASUS routers, which can perform mesh networking among different types of devices to reduce costs.

ASUS’s ASUSWRT operating system is feature-rich, and the asuswrt-merlin modified version system can also be easily installed. For a detailed introduction to ASUSWRT, please refer to the “Operating System” section below.

NETGEAR

Netgear is a manufacturer of network equipment. Its home equipment also covers different models from low-end to high-end, and some models support special functions such as Plex Media Server.

Compared with ASUSWRT, etc., the built-in firmware has some shortcomings in terms of function and ease of use. However, many models of NETGEAR are friendly to OpenWrt, and can easily flash OpenWrt and other third-party systems.

Among them, the NETGEAR R6300v2, although it has been a product for many years, is loved by many users because of its performance and ability to flash asuswrt-merlin.

Linksys Linksys

Linksys was founded in 1988 and was later acquired by CISCO. But in 2013 CISCO sold Linysys to Belkin.

Among them, Linksys’ WRT54G is a home wireless router that used Linux earlier in history, so its firmware needs to be open source according to the GPL agreement. Many enthusiasts have modified and added functions based on the open source firmware of WRT54G. The well-known open source router operating systems OpenWrt, DD-Wrt, etc., all have more or less certain origins with WRT54G.

At present, Linksys still has many competitive products, such as the mesho system Velop.

Phicom

It is well known by everyone because of the “0 yuan purchase” model. Common models are K2P, K3C and K3. At present, it can be bought at a lower price on some second-hand trading platforms.

The overall configuration and workmanship of Phicomm routers are good, and many people have adapted open source firmware for it. However, you need to pay attention to the difference between different versions of hardware when purchasing, such as version A and version B of K2P; models such as K3 may need to modify the hardware by yourself to avoid problems such as “oil leakage”. If you like to toss, you can buy it when the second-hand price is relatively low.

new route newifi

From Lenovo, it was once popular due to its mining function and good performance, and supports flashing open source firmware. It is currently out of production and can be bought on second-hand trading platforms at very low prices.

Tenda

Domestic wireless router brand, the price is relatively low, and some models can flash OpenWrt.

Millet

Xiaomi routers are developed using the “Internet model”. The official firmware provides a wealth of functions (such as launching remote downloads in cooperation with Thunder), and the UI is relatively more modern and beautiful. But at the same time, there are also problems such as hijacking “404 page hijacking”.

However, most models of Xiaomi routers without hard drives can better support OpenWrt, Padavan and other systems; they have certain advantages in industrial design, hardware configuration, and cost performance. Consider using third-party systems after purchase.

Xiaomi’s recently launched Wi-Fi 6 series routers have improved in software and gained a better reputation. At the same time, the latest version of the firmware starts to support running third-party software through Docker:

Huawei, Honor

Huawei’s original business mainly focused on operator networks, and it launched home wireless routers late.

The main features include support for the HiLink smart home platform, and some models use self-developed chips. However, the use of self-developed new products also brings certain difficulties to support systems such as OpenWrt.

Since there are many models of Huawei and Honor home routers, the differences between different models are large, and the specific functions, performance, stability, etc., it is recommended to search online to understand and judge by yourself before purchasing.

H3C H3C

H3C’s original business mainly focused on enterprise networks, and launched home wireless routers later.

According to official promotional materials, H3C home routers use the MINIWARE operating system (the same name as the operating system used by some of H3C’s commercial wireless APs), and support security functions such as IPS. The system mainly focuses on basic network functions, the interface is relatively simple, and the functions are not as rich as the home routers of Internet manufacturers. But it also theoretically guarantees a certain degree of stability. The industrial design of the Magic B1 and other models on the hardware is quite unique.

In addition to wireless routers and mesh systems, its product line also includes household AC+AP sets, etc. No third-party systems such as OpenWrt have been found so far.

The newly launched NX15000 router achieves large-area coverage with a single router through three sets of directional antennas. It is a more distinctive product recently:

Network equipment brand, providing routers, switches, wireless network cards and other equipment.

360

Home routers developed in the “Internet mode” are sold with “security” features. However, its marketing concepts such as “pregnant woman mode” have been disgusted by many people.

Synology

NAS manufacturers entered the field of wireless routers late. At present, three products are launched: RT1900ac, RT2600ac, and mesh router MR2200ac. It features its own Synology Router Manager (SRM) operating system.

SRM is based on Synology’s NAS operating system DSM, which has a friendly user interface and has certain NAS functions after connecting an external hard disk. And supports File Station, [Download Station](https://www.synology.com /zh-cn/knowledgebase/DSM/help/DownloadStation/DownloadStation_desc), Media Server three software.

SRM is more active in the application of new technologies, such as WPA3, DNS over HTTPS, etc. The parental control/access control features on SRM, as well as the Suricata-based IPS feature, are among the best in its class.

In addition, SRM has the function of installing third-party software to a certain extent. Some DSM software has been modified to run on the SRM. It is also possible to install optware/entware on the SRM, and install more software through the opkg command.

However, as a new manufacturer of home routers, Synology has insufficient experience in software development and release processes. I have encountered a situation where multiple versions were released on the same day to completely solve a problem, and the new version caused the previously set scheduled tasks to be invalid and needed to be reset (refer to [this link](https://www.synology.com /en-uk/releaseNote/RT2600ac), as described in version 1.2.3-8017-4). In addition, in the process of personal use, I have also encountered the problem that the network is unstable and can only be recovered after restarting the router.

Ubiquiti

A network equipment manufacturer whose founder is a hardware engineer for the Apple AirPort series. Its UniFi series provides commercial Wi-Fi systems with low prices (compared to CISCO, Aruba, and Ruckus), and is also favored by some personal/home users because of its industrial design and ease of use. Subsequent Ubiquiti Labs also launched the AmpliFi series of home products.

In addition, Ubiquiti’s products are excellent in the user interface and user experience of the software (web interface and mobile app), and can also support Dark Mode in the first place.

  • Ubiquiti Official Website
  • UniFi Series: Mainly commercial wireless AP, with supporting switches, routers, cameras, NVR and other hardware, which can be managed uniformly through UniFi Controller
  • EdgeMax Series: Mainly focus on enterprise-level network equipment, including routers and switches, with rich configurations, and some management functions can be realized through free UNMS
  • AmpliFi Series: Focusing on home mesh systems, the concept of “home mesh routers” was proposed earlier. Excellent industrial design

Aruba Networks

HPE completed its acquisition in May 2015 so Aruba became a subsidiary of HPE

Since the Aruba AP 1xx product line will end support on August 1, 2020, the second-hand price is extremely cheap, and it is quite a bargain to experience Aruba AP products

see [https://www.arubanetworks.com/en-hans/support-services/end-of-life/](https://www.arubanetworks.com/en-hans/support-services/end-of-life life/)

Apple AirPort

Apple’s wireless router, featured features include: Apple’s industrial design, tight integration with macOS and iOS, support for Time Machine wireless backup, support for connecting speakers for AirPlay music playback, support for wireless printing, etc.

In addition, AirPort Extreme also earlier supported networking and roaming between multiple routers, although Apple did not publicly promote it with the “mesh” selling point.

At present, the AirPort series has been discontinued, and the Apple Online Store in some countries and regions is still sold, and it can be purchased on second-hand trading websites in China.

MikroTik

MikroTik is the developer of RouterOS, a well-known soft routing operating system, and also launched its own brand of hardware. Its hardware products officially support RouterOS and come with a RouterOS software license.

Competition cloud

Originally sold at a high price under the name of “Blockchain Router”, it can now be purchased at a lower second-hand price and installed with a third-party system.

Love Fast iKuai

Aikuai is the developer of iKuai OS, a soft routing operating system, and has also launched its own brand of hardware, including wireless routers, enterprise routers, switches, wireless APs, etc.

Leike

For network equipment manufacturers, the QoS function of their routers is quite distinctive. I have cooperated with 360, Tencent and other manufacturers to launch customized wireless routers.

eero

Home wireless router manufacturer, has been acquired by Amazon. The appearance is small and compact, the main function is mesh, and there is a paid subscription eero Secure service.

Google Nest Wi-Fi

A wireless router from Google with the main mesh function. Its mesh node integrates microphones and speakers, supports Google Assistant, and can be used as a smart speaker at the same time.

Nokia Nokia

The mesh Wi-Fi system from Nokia.

FiberHome FiberHome

A central enterprise originating from the Wuhan Academy of Posts and Telecommunications, it specializes in the field of optical communications. There are a large number of optical modems, set-top boxes and other equipment in the operator’s network.

In recent years, it has started to enter the consumer field with the MIFON brand, focusing on the mesh function.

Chip manufacturers

The SoC in most home wireless routers generally comes from major chip manufacturers such as MediaTek/Ralink, Broadcom, Qualcomm/Atheros, Realtek, Intel, and HiSilicon.

operating system

This section mainly introduces general-purpose network operating systems (supported to run on devices of different brands). For proprietary operating systems such as Synology Router Manager, please refer to [device manufacturer and brand](about:blank#%E8%AE%BE%E5%A4%87%E5%8E%82%E5%95%86%E4%B8 %8E%E5%93%81%E7%89%8C) part.

OpenWrt

OpenWrt is the most well-known open source wireless router operating system. It has supported routers from a large number of manufacturers and brands, and also supports running on x86 computers/servers. In 2016, OpenWrt forked the LEDE project, but in 2018, LEDE was re-merged back into OpenWrt, continuing to use the OpenWrt name after the merger.

OpenWrt currently has a wide range of applications. Many individuals and teams have launched modified firmware based on OpenWrt. Some commercial companies’ wireless routers, wireless APs and other equipment are also developed based on OpenWrt. The OpenWrt community has also made many contributions to the open source community, such as the congestion control algorithm CAKE, which was first used on OpenWrt and later entered the Linux mainline.

OpenWrt uses the opkg package management system, which supports extending functionality by installing software.

ASUSWRT

ASUS router official firmware. Also exists the well-known asuswrt-merlin modified firmware.

padavan/rt-n56u

The router firmware is developed based on the open source code of ASUS RT-N56U and other models of routers, and supports a large number of wireless routers based on MT7620 series chips. It is often called Padavan or Lao Maozi firmware in China.

RouterOS

The wireless router operating system from MikroTik, which can run on general x86 hardware (soft router), as well as MikroTik’s own hardware.

To use RouterOS on an x86 soft router, you need to purchase a software license. However, most of MikroTik’s own hardware comes with a RouterOS license, which can be used for free.

RouterOS is powerful, but it has high barriers to entry and needs special learning to operate proficiently.

pfSence/OPNSense

base Compared with the open source network operating system of FreeBSD, the firewall function is relatively powerful. The built-in package manager can easily install more software and expand functions, such as Suricata IPS, ntopng traffic statistics tool, etc.

Since pfSense/OPNSense is based on FreeBSD, it is also convenient to install FreeBSD packages, such as running UniFi Controller after installing java.

VyOS

An open source router/firewall operating system, based on Vyatta, with powerful functions, but it only supports configuration through CLI and does not support graphical interface.

EdgeOS

A network operating system from Ubiquiti, also based on Vyatta like VyOS, but with a graphical interface and support for centralized management via UNMS.

EdgeOS can only run on Ubiquiti’s own EdgeRouter hardware. In addition, the operating system of UniFi Security Gateway is also based on the old version of EdgeOS.

Love Fast iKuaiOS

Free soft routing operating system with powerful flow control functions.

In some old versions of iKuaiOS, many people reported problems such as traffic hijacking.

Tomato

An easy-to-use open source router operating system.

DD-WRT

Gao Ke

Compatible with K2P, newifi 3 and other wireless routers, featured functions include network management flow control, content protocol identification, client access URL query, etc.

shortcoming:

  1. If you want the network type to be NAT1, you need to pay for an authorization
  2. IPv6 is not yet supported

mesh network, wired backhaul

A mesh network interconnects multiple wireless routers to improve Wi-Fi coverage.

  • [The difference between the definition of Mesh wireless network and WiFi](https://www.mr-wu.cn/mesh-wu-xian-wang-luo-de-ding-yi-yu-wifi-de-qu-bie /)
  • Mesh between different types of equipment Some manufacturers’ different types of equipment can be used for mesh networking, so that old equipment can be fully utilized and costs can be saved. A typical example is AiMesh from ASUS.
  • Mesh between devices from different manufacturers
    • EasyMesh is a standard developed by the Wi-Fi Alliance, which aims to make devices from different manufacturers interoperable , Devices certified by the Wi-Fi Alliance EasyMesh can work together to form a network. As a relatively new technical standard, there are not many supported devices at present. The manufacturers concerned in China mainly include Huawei, ZTE, Fiberhome, and D-Link.
  • Wired backhaul Most manufacturers’ wireless mesh systems support wired backhaul. That is, the communication between mesh nodes is carried out by wire, which further increases bandwidth and stability. Definitely requires re-complicated wiring work.
  • The high-end wireless router models of some tri-band mesh manufacturers have an independent 5GHz frequency band, which is used for communication between mesh nodes and does not occupy the frequency band for communication between wireless routers and terminals. Doing so can also improve bandwidth and stability to a certain extent, and reduce the trouble caused by wiring.

Wired Router + AC + AP

Through the way of wired router + AC + AP, the best speed and stability can be guaranteed. However, such a solution requires more complicated wiring and is generally used in enterprises, hotels, shopping malls and other places. Home use needs to be considered before decoration.

The AC + AP solutions of most manufacturers are not for home use, and the general configuration is more complicated. However, manufacturers such as TP-LINK and H3C have also launched home AP sets, which integrate the router and AC into a single device, which can be directly placed in a weak current box to save space.

In addition, Ubiquiti’s wireless AP solution is also loved by some home users because it does not require an AC, is simple to configure, and has a friendly graphical interface.

In addition to being placed on desktops and cabinets, wireless APs can also be panel-mounted or ceiling-mounted, so as to better integrate into the decoration style and save space.

FTTR

Recently, some domestic operators have started to promote the FTTR solution. FTTR can realize whole-house optical fiber networking, ensuring that every room in the home can have a relatively ideal network speed.

FTTR equipment is generally installed by operators, and users do not need professional network knowledge to use it. But it will also prevent users from “tossing” their own network equipment.

VLAN division

By dividing VLANs, one network cable can be used to transmit the traffic of multiple networks. For example, the same network cable realizes the multiplexing of Internet and IPTV traffic.

One-arm routing

For devices with only one network port (such as ordinary home computers, Intel NUC, Raspberry Pi development boards, etc.), if you want to use it as a router, you can use one-arm routing to achieve it.

One-arm routing is equivalent to creating multiple sub-interfaces on an interface, and different sub-interfaces correspond to different VLANs, so that one interface can be used as multiple interfaces.

Technical concepts

MU-MIMO

MU-MIMO is a feature added in 802.11ac Wave 2, which enables multiple devices to communicate with the wireless router at the same time, improving wireless utilization efficiency and throughput.

However, MU-MIMO requires the support of terminal equipment and has many limitations. Currently, the improvement of network experience is not obvious.

In Wi-Fi 6, MU-MIMO has been enhanced and may become more practical as Wi-Fi 6 becomes more popular.

Wi-Fi 6, Wi-Fi 6E, Wi-Fi 6+

Wi-Fi 6 is the latest generation of Wi-Fi standard, based on IEEE 802.11ax, which improves the stability and throughput under multi-user access through multiple technologies. Many wireless routers launched after 2019 already support Wi-Fi 6.

Wi-Fi 6E extends Wi-Fi 6 to the 6GHz frequency band.

Wi-Fi 6+ is Huawei’s Wi-Fi 6 solution, adding features such as dynamic narrow bandwidth, which can automatically adjust bandwidth, taking into account throughput and coverage. There are not many public documents for specific technical details.

Wi-Fi 6 Release 2 adds more features to Wi-Fi 6, including MU-MIMO for the uplink, improved power management, and more.

Wi-Fi 7

The next-generation Wi-Fi standard may be based on IEEE 802.11be. The relevant standards are currently being revised, and the draft and final standards have not yet been released.

160MHz bandwidth

802.11ac and Wi-Fi 6 support 160MHz bandwidth. Using 160MHz bandwidth can greatly increase Wi-Fi bandwidth. However, due to compatibility and interference issues, the actual effect will be affected by various factors and needs to be tested by yourself.

PA/LNA/Amplifier

When reading router reviews and product introduction pages, you often see concepts such as PA and LNA. Among them, PA is a power amplifier, which is used to enhance the power of the transmitted signal, and LNA is a low noise amplifier, which is used to enhance the received signal.

A wireless router/AP with a PA/LNA for better signal.

Software and hardware functions

UPnP/NAT-PMP/Port Mapping

When the router accesses the Internet through home broadband, the operator will assign it an IP address. However, there will be various devices such as computers and mobile phones in the family, and multiple devices need to access the Internet. At this time, the router assigns an intranet IP to each device, and accesses the Internet through network address translation (NAT).

However, through NAT, devices in the intranet can only actively initiate external connections, but cannot act as servers to receive external connections. In this case, it will become more difficult to access devices such as NAS at home from the outside, and remotely control computers at home. At the same time, the upload and download speeds of P2P sharing tools such as BT and eMule will also be affected, and the connection quality of some voice/video call tools may also be affected.

For this situation, port mapping can be used to map the port of the internal network device to the public network to achieve external access. Most home routers support manual configuration of port mapping, and also support automatic port mapping through UPnP/NAT-PMP.

DDNS

DDNS is also a common function that most home routers will have. Since the public network IP of the home broadband is not fixed, every time the router is restarted, a new IP address may be obtained. Through DDNS, devices in the home network can be accessed from the outside through a fixed domain name.

Traffic shaping and QoS

In household scenarios, some applications require relatively high bandwidth but are not sensitive to delay (such as online video, P2P download, etc.); some applications do not require high bandwidth but are sensitive to delay (such as online games, voice/video calls, etc.) ).

At home, P2P downloads often occupy a large bandwidth, which affects the smoothness of online games, audio and video calls and other applications, and even normal web browsing will slow down. This problem can be solved by QoS.

Most mid-to-high-end home routers provide QoS function, which can manually set the priority of different devices and different applications, such as increasing the priority of a certain game or a game console at home.

In addition, algorithms such as fq_codel and CAKE have gradually been applied on home routers, which can intelligently manage traffic without complex configuration. This feature is called SQM in OpenWrt, and options such as “Smart QoS” and “Smart Queue” in other router firmware generally refer to this feature.

Captive Portal

Captive Portal provides a webpage authentication page, and the password can be entered in the webpage to access the network.

In the home network, Captive Portal is often used in the guest network. Visitors need to enter the password in the web page to connect, preventing the Wi-Fi password from being leaked by software such as “Wi-Fi Master Key”. At the same time, you can also add usage instructions, disclaimers and other content on the Portal page, and the user can only connect after agreeing; if it is used in a store, you can also use the Portal page to place advertisements.

The Captive Portal function is commonly found in commercial and enterprise-level devices, and not many home routers support this function. For open source systems such as OpenWrt, tools such as WiFiDog can be used to implement Captive Portal.

Intranet Penetration

Due to limited IPv4 address resources, some operators will not allocate public network IPv4 addresses to home broadband users. At this time, if you need to access services in the home network, you need the intranet penetration function.

There are two common intranet penetration methods, one is to transfer through the server, but generally you need to purchase a VPS server and set up the environment yourself. Or buy a dedicated business service.

The other is through NAT hole punching. The advantage of this method is that the devices can communicate directly, avoiding the consumption of server traffic, and improving the speed to a certain extent. The disadvantage is that NAT hole punching generally uses the UDP protocol, and the speed may be limited by some ISPs in the case of large traffic.

  • Intranet penetration tool realized through server transfer
  • An intranet penetration tool that supports both NAT hole punching and server transfer
    • ZeroTier: It mainly focuses on NAT hole punching, and the success rate of NAT hole punching is relatively high. After hole punching fails, it falls back to the server for transfer.
    • frp: Intranet penetration tool that supports multiple protocols
    • nps: Intranet penetration tool that supports multiple protocols
    • Peanut Shell: commercial service, including DDNS and intranet penetration, easy to operate
    • Tailscale: Similar to ZeroTier, based on WireGuard®
  • other
    • Synology QuickConnect: External access service in Synology router/NAS through Synology server Transit, only supports access to some applications in routers and NAS
    • UniFi Remote Access: In Ubiquiti UniFi Controller The external access service, through NAT hole punching or Ubiquiti server for transit, only supports access to UniFi Controller

Parental Controls

The parental control function can control the online time of specific devices to prevent children from spending too much time online.

The parental control function of some routers can also restrict devices from accessing inappropriate websites, and at the same time forcibly open Google Search and YouTube’s safe search functions to prevent children from being exposed to inappropriate content.

And Synology Safe Access provides more powerful parental control. In addition to controlling the duration of the Internet and restricting access to content, it also has powerful analysis and statistics functions, which can analyze the Internet habits of different people in the family based on statistical information.

Content filtering

Through the content filtering function, you can filter malicious advertisements, malicious websites, trackers, adult websites and other content according to the rules to protect security and privacy and obtain a better online experience. At the same time, it can be combined with parental control to restrict minors from accessing content that is not suitable for the current age.

  • DNS based filtering tool
    • Pi-hole
    • AdGuard Home
    • The advertising filtering function of most routers is also implemented based on DNS
  • Proxy server-based filtering tools Proxy server-based filtering tools have better filtering effects, but require HTTPS man-in-the-middle attacks to implement more complex filtering rules. In terms of security, you need to understand how it works and choose whether to use it.
  • Legal/moral issues of advertising filtering Some people believe that it is the user’s freedom to choose whether to filter advertising; some people believe that advertising filtering will have an adverse impact on the Internet ecology. Regarding whether advertisement filtering should be performed, please refer to discussions on the Internet.

IPS/IDS

The IPS/IDS function records and blocks packets with security risks by analyzing the contents of the packets to improve the security of the home network. Compared with other domain name/DNS based schemes, IPS/IDS can identify more security threats, but also consumes more CPU and memory resources.

The common open source IPS/IDS software includes Snort and Suricata, and the official firmware of some routers also provides IPS/IDS functions.

Traffic Statistics/DPI

The traffic statistics function can analyze and count the traffic usage of each device in the network. However, due to the need to occupy CPU and storage resources, some low-end routers do not have this function.

Some routers have DPI-based traffic statistics. In addition to counting the traffic usage of each device, it can also count the traffic of each application, thereby providing more detailed traffic statistics.

For open source systems, tools such as ntopng can be used to implement traffic statistics:

Multiple WAN ports, multiple dialing

Some routers have multiple WAN ports, which can be connected to multiple broadband to realize bandwidth superposition. And realize switching to another broadband when one broadband fails.

In addition, there is a router that can connect to an LTE network card through a USB interface, or use the USB network sharing function of Android and iOS to achieve Internet backup using a 4G/LTE link when broadband fails.

For systems such as OpenWrt and RouterOS, multiple PPPoE sessions can also be established on one WAN port to achieve “single-line multi-dial” and increase bandwidth. However, some operators do not support multi-dial. For details, please refer to the agreement signed with the operator when applying for broadband.

Bandwidth Boost

Some routers claim to have the function of “enhancing physical bandwidth”, which is actually achieved through cooperation with operators. Operators can dynamically adjust the bandwidth limit and automatically increase the bandwidth after payment.

“Xunlei Kuaibird” is a relatively well-known network acceleration service. At the same time, a third-party developer has ported it to the router, which can easily open the speed-up service on the router.

Game Acceleration

Game acceleration is also a major selling point of many home wireless routers. Generally, it is achieved by increasing the QoS priority of the game. At the same time, it has built-in services such as “Netease UU Accelerator”, and connects to a higher-quality network through a proxy server provided by a third party to achieve online game acceleration.

Smart Home Integration

Smart home is an emerging field. Different manufacturers have different ideas for integrating smart home related functions in routers.

  • Apple: Automatically sets strict firewall rules for HomeKit devices for increased security. Also supports PPSK authentication to avoid leaking the main Wi-Fi password

    Run third-party applications

    Many router operating systems can run third-party applications in a certain way, expand the functions of the router, and make the router more “smart”.

    • Package management system Like many Linux/UNIX distributions, some Linux/UNIX-based router operating systems also have their own package management systems.
      • OpenWrt’s Opkg Package Manager OpenWrt completely uses Opkg as its package management system, the entire system, including kernel modules and drivers, Both are managed by Opkg.
      • pfSense’s package management system pfSense is based on FreeBSD, in addition to installing pfSense’s own software packages, you can also easily Install the FreeBSD package.
    • Software Center Many router operating systems have a software center with a graphical interface, which can easily add software in a graphical way. However, there are also some routers, such as some models of TP-LINK, whose “software center” is just a series of switches for built-in functions, and it is impossible to install third-party software to expand functions.
      • KoolCenter Software Center comes from the software center of KoolCenter (formerly KoolShare Forum), which mainly supports Asuswrt-Merlin and provides special software suitable for domestic users.
      • Synology SRM Package Center The software center that comes with the Synology Router Manager (SRM) operating system, currently only has a small amount of software from Synology. But some software from Synology DSM, after modification, can also be manually installed in SRM Software Center.
    • Entware/Optware Many router operating systems, such as Asuswrt-Merlin, DD-WRT, Synology Router Manager, etc., do not support the installation of third-party software by default, or have limited support for third-party software, which can be installed through Entware/Optware software.
    • Because docker partially supports the router operating system of Docker, it can also run containers through Docker to run third-party software.

    Virtualization

    Some router operating systems have certain virtualization functions, and can run other containers or operating systems in the router.

    A common application that utilizes the Metarouter function of RouterOS to run OpenWrt, and realize the characteristic functions of using RouterOS and OpenWrt on one device at the same time.

    Mobile App

    Many of the current mainstream home routers support the use of mobile apps for control. But for some of the more popular open source router operating systems, some third-party developers will develop apps for them.

    The quality and security of these third-party apps may not be guaranteed. Before using them, you need to have a preliminary understanding of the app’s functions, authors, and open source status.

    SNMP

    A small number of home router operating systems (such as Synology Router Manager), and most commercial/enterprise-class network devices support SNMP. Through the SNMP protocol, centralized management and monitoring of devices can be realized (for example, using Cacti to collect traffic statistics).

    • [UniFi enables snmp function for network traffic monitoring tools to capture UniFi-AP data- Shenzhen Jielian Communication Technology Co., Ltd.](https://wiki.edcwifi.com/index.php?title=UniFi�� %80%E5%90%AFsnmp%E5%8A%9F%E8%83%BD%E5%8F%AF%E4%BE%9B%E7%BD%91%E7%BB%9C%E6%B5%81 %E9%87%8F%E7%9B%91%E6%B5%8B%E5%B7%A5%E5%85%B7%E6%8A%93%E5%8F%96UniFi-AP%E6%95%B0 %E6%8D%AE)

    Network storage, media center

    There are many routers with USB ports, which can be connected to USB mobile hard disks to realize functions such as network storage.

    In addition, there are also wireless routers with SATA interface and M.2 interface, which can directly install the hard disk into the router, and the appearance is more compact:

    In terms of function, after connecting the hard disk, the wireless router completes the following tasks:

  • Media center Through the media center, the router can be used as a media server, and the video in the hard disk of the router can be played directly on mobile phones, tablets, TVs, game consoles and other devices.

  • Install the third-party software on an external storage device Most wireless routers generally have a small built-in storage space, which can be expanded through an external storage device, and the software can be installed on an external storage device.

Third-party service integration

Some wireless routers can integrate third-party services for more advanced automation.

Bonjour/mDNS

Through the Bonjour function, Apple devices can directly access the router through the .local domain name, without having to remember complex IP addresses.

In addition to Apple devices, there are currently many smart home devices (such as Mijia’s Wi-Fi devices), as well as Chromecast, etc., have also begun to use the Bonjour protocol. If the home network is complex (for example, there are multiple subnets/multiple VLANs), you can use the Bonjour gateway function to realize device discovery through Bonjour between multiple networks.

Campus Network

The campus networks of different schools have different authentication methods, and some schools also use private protocols. For the campus network, it is recommended to find out whether the school’s campus network can be connected and authenticated on devices such as OpenWrt in communities such as school forums.

safety

Open Source Firmware vs Closed Source Firmware

If possible, try to use open source firmware, or use reputable closed source firmware/original firmware.

The following are the “featured functions” that some commercial firmware/closed source firmware may have:

Official Firmware vs Modified Firmware

There are quite a few people and many organizations who will make modifications based on open source systems such as OpenWrt, Padavan, Asuswrt-Merlin, or official firmware from some manufacturers, so that they conform to the usage habits of more people.

Generally speaking, in terms of security, it is the safest to use officially released firmware, or compile it yourself based on open source code. The quality of the modified firmware is uneven, which may solve some security problems in the official firmware, but may introduce new security risks. In terms of security, a simple judgment can be made from the following points: