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

Cannot connect to Pure VPN TUNSETIFF tun: Operation not permitted #171

Open
dmudgeau opened this issue Oct 16, 2024 · 1 comment
Open

Cannot connect to Pure VPN TUNSETIFF tun: Operation not permitted #171

dmudgeau opened this issue Oct 16, 2024 · 1 comment

Comments

@dmudgeau
Copy link

Setup my container and placed the .ovpn file in the /config/openvpn directory
first error I got was:
ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)

Found a possible solution to run this in the start.sh script and the error went away:
mkdir -p /dev/net
mknod /dev/net/tun c 10 200
chmod 600 /dev/net/tun
/etc/init.d/openvpn restart

Now I get this error and I don't know how to fix it suggestions are a permissions issue

ERROR: Cannot ioctl TUNSETIFF tun: Operation not permitted (errno=1)

I have tried with multiple .ovpn profiles from purevpn TCP and UDP and different servers.

I would really love to get this working! Thanks

@dmudgeau dmudgeau changed the title Cannot connect to Pure VPN Cannot connect to Pure VPN TUNSETIFF tun: Operation not permitted Oct 16, 2024
@dmudgeau
Copy link
Author

I solved this I was using an older docker image dyonr/qbittorrentvpn/

Didn't realise there was this newer one which worked out of the box!

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