• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Resolved TUN/TAP-device für Plesk Obsidian

Jürgen_T

Regular Pleskian
Server operating system version
Ubuntu 20.04.5 LTS
Plesk version and microupdate number
Plesk Obsidian v18.0.49
After an upgrade from my old to a new VPS my dev/tun device including its module disappeared.
:~# modprobe tun
modprobe: FATAL: Module tun not found in directory /lib/modules/5.4.0

So my OpenVPN does not work any longer.

Question: Is it possible to install the necessary TUN module using Plesk Obsidian?
 
In Plesk Obsidian support for the VPN extension was dropped due to consistently low installation numbers and significant resources needed to update it for compatibility with Plesk Obsidian. However, you can still use a system that has Plesk on it for OpenVPN as that can be installed and maintained on the Linux shell.
 
Ok, that explains it. Thank you. I now have asked my VPS-host to provide an ubuntu kernel with the necessary TUN/TAP-module. Hopefully it will work. However, if they are not willing to do this your OpenVPN hint will be Plan B as it is only free of charge for two connections.
 
So, I finally made it. After failing with setting up a Wireguard-VPN I went back to OpenVPN and found the following solution:
I simply installed:
  1. mkdir -p /dev/net
  2. mknod /dev/net/tun c 10 200
  3. chmod 600 /dev/net/tun
Then I could install OpenVPN using a skript.
The only problem of this approach is that it does not persist after a reboot of my VPS. So I installed in addition a cronjob @Reboot performing these steps.
Works perfect with a large number of clients.
 
So, I finally made it. After failing with setting up a Wireguard-VPN I went back to OpenVPN and found the following solution:
I simply installed:
  1. mkdir -p /dev/net
  2. mknod /dev/net/tun c 10 200
  3. chmod 600 /dev/net/tun
Then I could install OpenVPN using a skript.
The only problem of this approach is that it does not persist after a reboot of my VPS. So I installed in addition a cronjob @Reboot performing these steps.
Works perfect with a large number of clients.

Thank you for the solution.
Tried to run Netbird and got the error
Code:
Failed; /dev/net/tun does not exist
.
With your steps i was able to get the Netbird client running.
 
Are you running Plesk in a container? If so, you will need to enable the TUN/TAP capability for the container from the hypervisor level.
 
Are you running Plesk in a container? If so, you will need to enable the TUN/TAP capability for the container from the hypervisor level.
It's a VPS from Dogado. So it might be some kind of container. Not sure if it's possible that they allowing TUN/TAP capability.
 
Back
Top