To Manually Turn on the TUN/TAP, you can login to the Solus VM Control Panel with the logins recieved in the Login Details Mail and you can enable it through SSH as follows:
OpenVZ supports VPN inside a container via kernel TUN/TAP module and device.
Step 1: Login to SSH with root password
Step 2: Run the following command to enable TUN/TAP module via SSH
- Check tun module has already loaded on the Node.
# lsmod | grep tun
Then to load the tun module
# modprobe tun
- Run the following command in node
# vzctl set CID –devnodes net/tun:rw –save
# vzctl set CID –devices c:10:200:rw –save
# vzctl stop CID
# vzctl set CID –capability net_admin:on –save
# vzctl start CID
# vzctl exec CID mkdir -p /dev/net
# vzctl exec CID chmod 600 /dev/net/tun
Note: you have to replace the CID with your VPS ID or container ID
- To check TUN/TAP is enabled or not on VPS(CID)
# cat /dev/net/tun
If the output is “File descriptor in bad state” it means that TUN/TAP is enabled.
If the output is “No such device” it means TUN/TAP is not enabled.
If you need any assistance from our support person, you can contact us at email@example.com and firstname.lastname@example.org , we would be happy to help you.
- 2 Users Found This Useful
The php.ini file is the default configuration file for running applications that require PHP. It...
Setup Basic POP3/IMAP Mail Server in Centos/RHELSetting up a mail server can be quite...
Remote Desktop Protocol (RDP) is a proprietary protocol developed by Microsoft, which provides a...
OpenVZ will reflect the host server’s time by default, You can configure your VPS with custom...
By default Windows machines are remotely accessible via Remote Desktop on TCP port 3389. In...