Background: The objective was to serve VM’s default route via private network Public IP with no default route More control over firewalling policy over the VM (which is not covered in this post) Automation via DHCP on VM provisioning (This too no covered in this post) D-NAT to the VM…
Tag: Proxmox
How to Modify/Change console/SSH login banner for Proxmox Virtual Environment (Proxmox VE / PVE)
The final banner text is stored in /etc/issue, but we should not change this file, instead we should change the script which produces the content for this file “/usr/bin/pvebanner“ 1 To modify the /usr/bin/pvebanner file we can use the following command to back it up first then edit it # Backup the file…
Fixing Proxmox “WARN: missing ‘source /etc/network/interfaces.d/sdn’ directive for SDN support!”
When trying to use SDN feature in Proxmox VE (PVE), we get this error SRV networking – Reload WARN: missing ‘source /etc/network/interfaces.d/sdn’ directive for SDN support! Created symlink /etc/systemd/system/multi-user.target.wants/dnsmasq@testzone.service -> /lib/systemd/system/dnsmasq@.service. TASK WARNINGS: 1 Edit /etc/network/interfaces file to add source /etc/network/interfaces.d/* at the bottom of the file 1 Login to…
Customizations to Proxmox VE 6.0 Persistent
This document worked for VE 7.X edition too. Preparation First, we’ll create a directory where we’ll store our customizations (you can call it whatever you want, as long as you are consistent across the commands): $ sudo mkdir /usr/share/custom Next, create the script which will apply the customizations and make…
Preparing Cloud-Init Templates
The first step is to prepare your VM. Basically you can use any VM. Simply install the Cloud-Init packages inside the VM that you want to prepare. On Debian/Ubuntu based systems this is as simple as: apt-get install cloud-init This command is not intended to be executed on the Proxmox…
Proxmox Firewall Service Disable using Command
Chrooting and then doing: systemctl disable pve-firewall systemctl mask pve-firewall should do the trick. then after rebooting and fixing your config, systemctl unmask pve-firewall systemctl enable pve-firewall systemctl start pve-firewall Should return to the defaults again. Ports used by Proxmox VE Web interface: 8006 (TCP, HTTP/1.1 over TLS) VNC Web…
Migrating Windows 2022 from proxmox to Oracle Cloud Infrastructure (OCI)
I was doing a requirement work where a customized windows 2022 needs to be ported to OCI. In order to achieve this, following steps were considered- Creating a KVM virtual guest on my Proxmox 7 Infra and install windows 2022 with virtio drivers. Stopping the VM and copying the qcow2…
Proxmox create VXLAN using its native SDN
Prerequisite: You need to have an Installed Proxmox and Configure a Clustered setup. The first step in any installation is to make sure your hosts are updated. By default, Proxmox hosts will reach out to the enterprise repository, so I need to configure the pve-no-subscription repository. To enable that, I…
Importing Legacy Windows XP or Windows 2003 from Virtualbox to Proxmox
Problem Statement: I have an old Windows 2003 32 bit server running in Virtualbox. Since Virtualbox is under decommissioned, it is intended to be migrated to Proxmox VE Before Migration or export of VM from Virtualbox, following .reg file is required to be installed on Windows 2003 server to avoid…