Knowledgebase
Enable tun/tap in a VPS
Posted by Nikita Zubarev on 28 April 2018 12:57:25

Start your container, enter it's shell and do:

Code:
mkdir /dev/net
mknod /dev/net/tun c 10 200
ip tuntap add mode tap

ip link


2: tap0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 500
link/ether 0e:f1:e3:b3:bf:ed brd ff:ff:ff:ff:ff:ff

For CentOS 7 / RedHat 7 where the command tunctl is missing please refer to the following guide.
(3 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments: