How to add Tun/TAP/PPP/Fuse support

NOTE: This is for new Openvz/LXC plans only.

1. You need to login to web panel and click the Active Product you want to enable it on
2. If you see "Add Tun" button, click it (if not, it is already enabled), then continue to #3 below,
3. click Stop VPS button in web panel <----- DO NOT SKIP THIS STEP!!!
4. Click Start VPS
5. SSH to your VPS and type

mkdir /dev/net
mknod /dev/net/tun c 10 200
chmod 0666 /dev/net/tun
ip tuntap add mode tap
--show it
ip link

For PPP:

mknod -m 666 /dev/ppp c 108 0
service pptp restart

To actually use a tun/tap device it must be created inside the container on every boot, so add the following to your /etc/rc.local inside your container:

if ! [ -c /dev/net/tun ]; then
mkdir -p /dev/net
mknod -m 666 /dev/net/tun c 10 200
fi

?האם התשובה שקיבלתם הייתה מועילה

 הדפסת המאמר

קראו גם

How to reinstall your OS

1. Login to client area2. Go to your Active services you want to reinstall -> click View...

How to resize/extend Windows or Linux disk space (LVM)

If you buy a plan with more than 15GB of disk space, the remaining space is empty and need to be...

My Ubuntu template cannot SSH as root

If you have Ubuntu on your OpenVZ/LXC plans and you cannot login as root via SSH, it is because...

How to use Debian 8 OpenVPN

If you selected this New OpenVZ template, you just need to SSH to your assigned IP and login as...

New template network/ssh down

We just made aware that the new LXC plan template and some new openvz plans, the network/sshd may...