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

Failed to initialize tunnel #350

Open
HOIMASAMI opened this issue Jun 29, 2023 · 1 comment
Open

Failed to initialize tunnel #350

HOIMASAMI opened this issue Jun 29, 2023 · 1 comment

Comments

@HOIMASAMI
Copy link

HOIMASAMI commented Jun 29, 2023

I'm using 1stRentalServer's VPS to install boringtun,
but when I'm going to run it, it got errors.

like this:
root@host:~# sudo boringtun-cli -f -l ~/logs/boringtun.log wg0
2023-06-29T01:04:31.852309Z ERROR boringtun_cli: Failed to initialize tunnel, error: Socket("Operation not permitted")
at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/boringtun-cli-0.5.2/src/main.rs:160

How can I fix it? Or should I let 1stRentalServer to open some functions?
(This VPS seems to be OpenVZ)
(I've let 1st to open "my" VPS's TAP/TUN function)

@alanesmizi
Copy link

From the main page of this repo "You will need to give the executable the CAP_NET_ADMIN capability using: sudo setcap cap_net_admin+epi boringtun. sudo is not needed."

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

2 participants