Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running addons with --privileged #1588

Closed
GabrielePicco opened this issue Mar 15, 2020 · 3 comments
Closed

Running addons with --privileged #1588

GabrielePicco opened this issue Mar 15, 2020 · 3 comments

Comments

@GabrielePicco
Copy link

GabrielePicco commented Mar 15, 2020

Hi,

I'm trying to create a Wireguard client add-on that require to updated some forwarding rules. Without running the container with --privileged i get the following error: Setting key "net.ipv6.conf.default.forwarding": Read-only file system. Any idea on how to solve it ?

I added in the configuration

"kernel_modules": true,
"full_access": true, 

but it is not equal to running the container with --privileged

Related issue: #201

@frenck
Copy link
Member

frenck commented Mar 16, 2020

You can't solve that.

Als you already found out in the issue linked.

@bigmoby
Copy link

bigmoby commented Dec 12, 2020

Hi,

I'm trying to create a Wireguard client add-on that require to updated some forwarding rules. Without running the container with --privileged i get the following error: Setting key "net.ipv6.conf.default.forwarding": Read-only file system. Any idea on how to solve it ?

I added in the configuration

"kernel_modules": true,
"full_access": true, 

but it is not equal to running the container with --privileged

Related issue: #201

Hi @GabrielePicco if you want I suggest you to try with this add-on: https://github.com/bigmoby/addon-wireguard-client
and, if it will be useful for you, would be appreciated your support.

@frenck
Copy link
Member

frenck commented Dec 12, 2020

That add-on is dangerous, as it messes with the host network routing. I would not recommend that.

Furthermore, this issue has been closed for many many months already. Please don't dig up old issues. Thanks 👍

@home-assistant home-assistant locked as spam and limited conversation to collaborators Dec 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants