Link to home
Start Free TrialLog in
Avatar of hankknight
hankknightFlag for Canada

asked on

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
Avatar of Papertrip
Papertrip
Flag of United States of America image

Is your VPS provider using OpenVZ?  If so they will need to enable the module for your container.
Avatar of hankknight

ASKER

Is there a way from my command line to tell if they are using OpenVZ?
ASKER CERTIFIED SOLUTION
Avatar of Papertrip
Papertrip
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial