From 9b2ae48d8925c6d48cdb1c51c613ed6fbc575be8 Mon Sep 17 00:00:00 2001 From: zodiacg Date: Fri, 29 Jul 2022 00:19:39 +0800 Subject: [PATCH] remove redundant lines from README.md --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8d3e0d5b..b0add8d6 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,8 @@ This image has builtin [boringtun](https://github.com/cloudflare/boringtun) supp [boringtun](https://github.com/cloudflare/boringtun) is a userspace wireguard implementation using Rust. It is similar to [wireguard-go](https://git.zx2c4.com/wireguard-go) with a smaller memory footprint. The TUN device `/dev/net/tun` needs to exist on the host for `boringtun` to work. -To activate `boringtun` in wg-easy, you need to set the `WG_QUICK_USERSPACE_IMPLEMENTATION` environment variable and mount the `/dev/net/tun` device when running the container. +To activate `boringtun` in wg-easy, you need to mount the `/dev/net/tun` device when running the container. +The `wg-quick` will automatically fallback to userspace implementation if the kernel module doesn't exist.
 $ docker run -d \
@@ -93,12 +94,9 @@ $ docker run -d \
   --sysctl="net.ipv4.conf.all.src_valid_mark=1" \
   --sysctl="net.ipv4.ip_forward=1" \
   --restart unless-stopped \
-  -e WG_QUICK_USERSPACE_IMPLEMENTATION=boringtun
   weejewel/wg-easy
 
-Big thanks to leonnicolas for his [boringtun docker image](https://github.com/leonnicolas/boringtun). - ### 3. Sponsor Are you enjoying this project? [Buy me a beer!](https://github.com/sponsors/WeeJeWel) 🍻