In this video tutorial , I take you step-by-step from acquiring a Hetzner VPS, installing Proxmox on it, and then configuring it including building your own NAT based network, so the Virtual Machines it hosts are naturally protected from internet based attacks.
=========================================================================
Following the success of this channel, i have created a New Channel called "Virt Tech"
that specialises in the related field of Virtualization Technology Videos,
specifically Virtualbox initially. It can be found here :
Please try it out if the topic interests you.
=========================================================================
==========================================================
If you are looking for a particular video try,
1) Channel :
2) then :
======================================================
DISK PARTITION :
PART swap swap 32G
PART /boot ext3 512M
PART / ext4 all
DESKTOP BUILD COMMANDS :
apt-get update && apt-get upgrade -y
apt-get install xfce4 htop xrdp gedit firefox-esr terminator
NAT NETWORK - APPEND TO FILE: /ETC/NETWORK/INTERFACES.
auto vmbr99
sub network
iface vmbr99 inet static
address 10.10.10.1
netmask 255.255.255.0
bridge-ports none
bridge-stp off
bridge-fd 0
post-up echo 1 [GREATER THAN SHMBOL] /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '10.10.10.0/24' -o enp2s0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o enp2s0 -j MASQUERADE
post-up iptables -t raw -I PREROUTING -i fwbr+ -j CT --zone 1
post-down iptables -t raw -D PREROUTING -i fwbr+ -j CT --zone 1
--------------------------------------------------------------------------------------------
PORT FORWARDING RULES :
iptables -t nat -A PREROUTING -p tcp -d 144.76.154.55 --dport 53389 -i enp2s0 -j DNAT --to-destination 10.10.10.10:3389
iptables -t nat -A PREROUTING -p tcp -d 144.76.154.55 --dport 80 -i enp2s0 -j DNAT --to-destination 10.10.10.10:80
iptables -t nat -L --line-numbers
apt-get install iptables-persistent (not used in video, but may be make rules persist between reboots)
iptables-save = /etc/iptables/rules.
TRANSCRIPT OF INTRODUCTION
===========================
Over the years I have tried a number of PC based virtual machine solutions, and created a number of VMs, which I still use. As a result, I now find I have virtual machines in too many places. Locally i have VMs in Virtualbox and VMware on my windows PC and QEMU on Linux. In the cloud I have multiple demonstration instances on Amazon web services because I currently have a work client who uses them, and my own web server running on the VULTR cloud provider, as I found they offer the best value for money.
So I was looking to fix all that by hosting all these local and cloud based virtual machines on a single server using a single technology, but how.
After a bit of research and thinking, I came up with the following plan, I would need a single server to put all my existing VMs on, I would use ProxMox , a free industrial strength virtual machine manager, and to prevent me having to punch holes in my routers firewall by opening up ports by for example running my web server locally, I would host it in the cloud instead.
So I needed a server which did not need to be brand new only reliable and stable. It would need to be a dedicated server, as although a few providers allow you to install a virtualization solution on their public cloud instances, which are already virtual machines themselves, this type of nested virtualization solution is normally very slow. As it would need to run a number of virtual machines simultaneously, at least 2 of which would use the memory hungry windows operating system, with the rest running some flavor of linux, I would need a server with a decent CPU, a minimum of 16 GB of memory, 500 GB of Usable disk space , but most of all it had to be cheap , so a maximum of about 35 or 40 dollars a month as i would be saving by not needing any AWS or vulture instances.
=========
I will now demonstrate step by step what was involved.
So covering the server ordering process., The installation of Proxmox without a graphical user interface, briefly changing the root password from the one that we were given and switching on the firewall. I will then install a lightweight desktop with web browser, so i can use the web browser on the server to get any ISO files or VM hard disks off drop box, google drive or one drive without using my intermittent, slow , internet connection, by downloading anything to my local downloads folder first.
Смотрите видео Creating a Proxmox Cloud Server with NAT on a Hetzner virtual DEDICATED VPS server - tutorial онлайн без регистрации, длительностью 31 минут 17 секунд в хорошем hd качестве. Это видео добавил пользователь Cloud Tech 18 Май 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 37 тысяч раз и оно понравилось 564 людям.