Proxmox Setup with 1 Public IP
A guide on how to setup proxmox with 1 Public IP and the guest VM will get or use Private IP from DHCP
Last updated
Was this helpful?
A guide on how to setup proxmox with 1 Public IP and the guest VM will get or use Private IP from DHCP
Last updated
Was this helpful?
A dedicated server (you can get it from Fiberstate), some others may work but may need additional tweaks to hardware identifiers
A SSH Client (we used MobaXterm but you can use PuTTY or OpenSSH or the built in SSH client)
We recommend to get this server spec (R9 7950X)
Input your desired Hostname and Password, and for the Operating System choose Proxmox (latest)
They have double drive promo on going, drop your invoice number to their forum thread here
Go to your web browser and access your proxmox web console by accessing this URL https://<SERVER_IP>:8006 and use root as username and the password you set previously
Additionally, you can run this script for post installation setup for basic proxmox tweak
Login to your server via SSH and run this command
Make sure you have this line in your /etc/network/interfaces file
type the following command to check
If source /etc/network/interfaces.d/* is present, proceed; if not, add it to the file by using this command
Go to your Proxmox web console and go to Datacenter > SDN > Zones > Add > Simple
Tick the Advanced option, put ID with any name you like (in this case we use cnid) and tick the automatic DHCP
Go to SDN > VNets and Create
Input the any name (in this case vnet1) and select the zone that you created previously (in this case cnid)
Click on the newly created vnet and on the right side, click create
Input your own Subnet and Gateway, you can customize it or just follow, and then go to DHCP Ranges
Click Add and input your desired IP range (in this case 10.100.0.100 - 10.100.0.200 ; more than enough) then Create
After this setup, go to SDN and click Apply
After that go to IPAM and you can manage your DHCP reservation (this image taken from my running server)
Go to local storage > ISO Images > Download from URL
We will download ubuntu 24.04 iso for later VM setup
Input this https://releases.ubuntu.com/24.04.2/ubuntu-24.04.2-live-server-amd64.iso
to URL field and click on Query URL
you can rename the file if you wish and click Download
Now you've done the server preparation, we will continue to VM Setup
Simply click on Create VM button on top right of your interface
Tick on Advanced box > tick on Start at boot > put the server name > Next
Select local storage > choose the ISO Image that you downloaded in previous step > Next
Just next, nothing to change there
Select local-lvm in the Storage section > put 100 for Disk size > Next
Set Sockets and Cores depends to your need and Type to host for the best performance > Next
Set the Memory depends on your need > Next
Select the bridge that you created previously > Next
In the confirmation page, you will see the summary of the VM. Optionally, you can tick Start after created so it will start immediately > Finish
After VM Creation, go to Datacenter > your server name > Console
Continue the installation as prompted
In this part, remember to allocate all your disk space
Select ubuntu-lv > Edit
Set maximum Size and then Save > Done > Continue
After that, go to Hardware menu > select the ISO Image drive > Remove > Reboot once again
Now you have created a VM and it's ready to use
Repeat the process for more VM, or can use Clone VM option