hankknight
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.028s tab070.5: No such file or directory
FATAL: Could not open /lib/modules/2.6.18-194.8. 1.el5.028s tab070.5/m odules.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.028stab 070.5
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.
FATAL: Could not open /lib/modules/2.6.18-194.8.
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.028stab
Is your VPS provider using OpenVZ? If so they will need to enable the module for your container.
ASKER
Is there a way from my command line to tell if they are using OpenVZ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.