November 26, 2020

Android 12 will support using WireGuard

1 min read

Although as of the WireGuard app already on Google Play, users can use WireGuard. It is a free and open-source software application and communication protocol that implements virtual private network techniques to create secure point-to-point connections in routed or bridged configurations. However, the latest merged code of the Android kernel shows that Google seems to be deliberately providing a form of official support for WireGuard.

Linux Kernel 5.6 WireGuard will merge into the mainline kernel, as a module (the DKMS) provided outside the kernel source tree. Perhaps seeing the upstream adoption and affirmation of WireGuard, Google now seems to be assured of introducing WireGuard into the Android kernel.

WireGuard Linux kernel

The latest merged code of the Android kernel provides support for WireGuard secure network tunnel, which is mainly implemented as a network device driver, which can be accessed through the conventional RTNL method used by the virtual network driver.

In another commit, the CONFIG_WIREGUARD configuration item is enabled to add native kernel support to WireGuard.

Therefore, for the future release of Android 12, it is expected to see its native support for WireGuard, and may not need to be supported based on the app as it is now, which is far superior to solutions such as OpenVPN.

Since being merged into the Linux Kernel mainline, it has also been widely supported by more and more Linux distributions.