- https://golb.hplar.ch/2019/01/expose-server-vpn.html
- https://blog.stigok.com/2018/10/08/wireguard-vpn-server-on-centos-7.html
- https://www.wireguard.com/install/
- https://kb.vpsfree.cz/informace/openvz
- https://kb.vpsfree.cz/navody/vps/kvm#kvm_na_centos_7
- http://linux.dell.com/files/whitepapers/KVM_Virtualization_in_RHEL_7_Made_Easy.pdf
yum group install virtualization-host-environment
yum install virt-manager xauth
yum install qemu-kvm qemu-img virt-manager libvirt libvirt-python libvirt-client virt-install virt-viewer bridge-utils
systemctl enable libvirtd
systemctl disable firewalld
reboot
systemctl start libvirtd
> [root@vps ~]# virsh -c qemu:///system list
> Id Name State
> ----------------------------------------------------
lsmod
rmmod kvm
modprobe -a kvm
sudo virt-install --connect qemu:///system -n kvm1 -r 2048 --vcpus=2 \
--disk path=/var/lib/libvirt/images/kvm1-image.img,size=20 \
-c ./CentOS-8-x86_64-1905-dvd1.iso --vnc --noautoconsole --os-type linux \
--accelerate --network=network:default --hvm --vncport=5951
...
curl -Lo /etc/yum.repos.d/wireguard.repo https://copr.fedorainfracloud.org/coprs/jdoss/wireguard/repo/epel-7/jdoss-wireguard-epel-7.repo
yum install epel-release
yum install wireguard-dkms wireguard-tools
modprobe wireguard
mkdir /etc/wireguard && cd /etc/wireguard
bash -c 'umask 077; touch wg0-server.conf'
ip link add dev wg0-server type wireguard