0

This question already has an answer here:

I'm desperately looking for a way to enable TUN/TAP on a VPS in order to use an OpenVPN client. The VPS is based on Parallels Virtuozzo. I've been reading a ton of tutorials and forum topics, and here is the output I'm getting with the commands I often see :

lsmod | grep tun
(no output)

modprobe tun
FATAL: Module tun not found. 

When I try to run the client, here is what I get at some point :

ERROR: Cannot open TUN/TAP dev /dev/net/tun: Operation not permitted (errno=1)

The server is running CentOS 6.7. Let me know if there is anything other piece of information I need to provide.

UPDATE : I found out that only the host should be able to help me by enabling TUN/TAP on the container. However, they don't "offer this feature" for some reason. I found a similar case here : http://forums.whirlpool.net.au/archive/1470090 Do you have any suggestions?

Thanks

marked as duplicate by Michael Hampton Jan 15 '16 at 2:11

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Why did you tag this virtuozzo if it is not? If it is, then you need to follow the directions in the linked answer. – Michael Hampton Jan 15 '16 at 2:24
  • Then what kind of virtualisation instead? Check with sudo virt-what and update your question please. – HBruijn Jan 15 '16 at 8:34
  • @HBruijn Sorry, my bad it is an OpenVZ installation indeed, but the host provider can't enable TUN/TAP for some reason. I found a similar case here : forums.whirlpool.net.au/archive/1470090 Do you have any suggestions? – user1319182 Jan 15 '16 at 18:47
  • @MichaelHampton You are right, I'm updating my post. – user1319182 Jan 15 '16 at 18:47
  • In that case your only option is to move to another provider. – Michael Hampton Jan 15 '16 at 18:53