Prerequisites: running Proxmox ve
Navigate here then choose latest folder and download rootfs.tar.xz
.
Then upload it to Proxmox storage as CT Template.
Give it suuficient resources. Do not forget to untick "Unprivileged"! Do not start it just yet.
In Proxmox CLI, look for the config file by container No. in /etc/pve/lxc
and edit it.
Append the following to the file:
lxc.cgroup.devices.allow: c 10:200 rwm
lxc.hook.autodev: sh -c "modprobe tun; cd ${LXC_ROOTFS_MOUNT}/dev; mkdir net; mknod net/tun c 10 200; chmod 0666 net/tun"
This will allow you to create a tunnel interface and run OpenVPN.
Start the CT; update packages and install basic stuff:
apt update
apt full-upgrade
apt install kali-linux-headless seclists kali-tools-windows-resources
To be continued...