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

Question concerning docker perm flags with Wireguard #412

Open
middleagedman opened this issue Oct 14, 2024 · 0 comments
Open

Question concerning docker perm flags with Wireguard #412

middleagedman opened this issue Oct 14, 2024 · 0 comments

Comments

@middleagedman
Copy link

middleagedman commented Oct 14, 2024

Is there a way you can integrate what linuxserver/wireguard did with not needing "privileged" mode enabled for wireguard? I.e. I can run this commandline and it will fire up a wireguard connection to my provider without issue. I'm trying to secure my docker containers. Thanks!

docker run -d
--name=wg-tunnel
-p 51820:51820
-v /etc/wireguard/config:/config
-v /etc/localtime:/etc/localtime:ro
--cap-add NET_ADMIN
--sysctl="net.ipv4.conf.all.src_valid_mark=1"
linuxserver/wireguard:latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant