作者:蓝眼泪
1 确认内核是否有tun模块
modinfo tun
modprobe tun
lsmod | grep tun

2 安装tunctl软件
yum install tunctl -y
vim /etc/yum.repos.d/nux-misc.repo
[nux-misc]
name=Nux Misc
baseurl=http://li.nux.ro/download/nux/misc/el7/x86_64/
enabled=0
gpgcheck=1
gpgkey=http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
yum --enablerepo=nux-misc install tunctl
软件名称:tunctl-1.5-12.el7.