[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 937
  • Last Modified:

Linux: TUN/TAP Support on a VPS Server

I am trying to install openvpn on a VPS server but I am having trouble because tun module is not available.

I get the following error message when trying to start openvpn

Note: Cannot open TUN/TAP dev /dev/net/tun: Permission denied (errno=13)

This indicates that tun module is not loaded

When I try to run depmod, I get the following error:

WARNING: Couldn't open directory /lib/modules/2.6.18-194.8.1.el5.028stab070.5: No such file or directory
FATAL: Could not open /lib/modules/2.6.18-194.8.1.el5.028stab070.5/modules.dep.temp for writing: No such file or directory

I have root access to this server, but it is a VPS server, not a dedicated server.

Is there a way for me to get TUN/TAP working?


uname returns:
2.6.18-194.8.1.el5.028stab070.5
0
hankknight
Asked:
hankknight
  • 2
2 Solutions
 
PapertripCommented:
Is your VPS provider using OpenVZ?  If so they will need to enable the module for your container.
0
 
hankknightAuthor Commented:
Is there a way from my command line to tell if they are using OpenVZ?
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now