File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,15 @@ Thanks to [@Vendetta1985](https://github.com/Vendetta1985), [source comment](htt
6464
6565## `TUN device is not available: open /dev/net/tun: permission denied`
6666
67- This can happen with `podman`, usually due to SELinux. Create a SELinux policy to allow the rootless container to use the `/dev/net/tun` device.
67+ This can happen with `podman`, usually due to SELinux, which prevents rootless container access to the `/dev/net/tun` device by default.
68+
69+ The quick-and-dirty path to do this is to reconfigure `container_use_devices` using:
70+
71+ ```bash
72+ podman machine ssh "sudo setsebool -P container_use_devices=true"
73+ ```
74+
75+ Alternatively, you can create a SELinux policy for finer control:
6876
69771 . Copy the content below to a new file ` gluetun_policy.te `
7078
You can’t perform that action at this time.
0 commit comments