[TUTORIAL] How to not: Proxmox + Rocky Linux with 2 static ips

MarioRozzi

New Member
Apr 20, 2022
3
0
1
Italy
Hi, I just brought an dedicated server to manage my site and gameserver. I installed proxmox and configured the VM.
The problem is now that i need to use thoose two ips to configure a domain. I managed to make it work on the secondary ip
but the ip wich is hosting proxmox doesnt work. I tried following some tutorials on youtube involving firewall and iptables but it still doesnt work.
I need to make those 2 ips to be available on rocky wich has plesk installed. And it cannot be an ip from virtual bridge as DNS need to use the real ones.
Which is the best way to pass thoose two ips and if it possibile. Otherwise I will have to install Rocky directely without proxmox. Thanks
 
Last edited:
Ok an update.
So i have a couple of static ips:
1) 195.55.55.245 -> proxmox
2) 195.55.55.246 -> dedicated to rocky

I assigned them both as Bridge so I have:
vmbr0 as 195.55.55.245
vmbr1 as 195.55.55.246

I assigned both bridges to the VM so it has two network devices:
net0 --> virtio=XX:XX:XX:XX:XX:XX,bridge=vmbr0,firewall=1
net1 --> virtio=XX:XX:XX:XX:XX:XX,bridge=vmbr1,firewall=1

Inside the VM i configured those two interfaces to static to reflect the 2 IPs

Now once the virtual machine is started it will work, and both IPs will lead to it.
But now proxmox is not accesible. Sometimes it will work and most of the times it will give connection error.
How should i proceed? I'm looking into how to maybe block the acces to vm if the port is 8006 but I dunno if it will work.
 
Last edited:
I think i will install CentOs without proxmox this time too...will try again in 3-4 years when it will be simpler maybe. Thanks anyway
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!