From: Kenny MacDermid Date: Wed, 11 May 2022 15:32:40 +0000 (-0300) Subject: Mount TUN device for use by Android VPNs. X-Git-Tag: 1.3.0~34 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/commitdiff_plain/facf2b713da1038bbc960bb7e094bdb80213485e?ds=sidebyside Mount TUN device for use by Android VPNs. Providing access to the hosts `/dev/net/tun` is required by at least some VPN clients, for example F5 Access. --- diff --git a/tools/helpers/lxc.py b/tools/helpers/lxc.py index 958c6d9..d26b184 100644 --- a/tools/helpers/lxc.py +++ b/tools/helpers/lxc.py @@ -74,6 +74,9 @@ def generate_nodes_lxc_config(args): make_entry("none", "dev/pts", "devpts", "defaults,mode=644,ptmxmode=666,create=dir 0 0", False) make_entry("/dev/uhid") + # TUN/TAP device node for VPN + make_entry("/dev/net/tun", "dev/tun") + # Low memory killer sys node make_entry("/sys/module/lowmemorykiller", options="bind,create=dir,optional 0 0")