Proxmox Networking SDWAN (Contabo)

shehuawwal

New Member
Feb 28, 2024
1
0
1
Hi Everyone, I have looked through many threads before writing this, I am using a dedicated a server on Contabo and also purchase 2 additional public IP Address.

I am running on Proxmox 8.1.4

All the additional IPs are all working and I can access the Proxmox Web UI, But I am having this issue.

I cant assign a IP to a vm by adding the vmbr0, or vmbr1 or vmbr2 interface I created, It's not getting any IP. Hence I created an SDWAN Zone With A Private IP address.

Issue 1 - The VMs are getting a private IP address but unable to download some files, but on the proxmox host, the files can be downloaded.
Issue 2- I cant portforward any interface to any VM except I use vmbr0, I have other public IP address on vmbr1 and vmbr2, I want to portforward base on that interface,
That didn't work.

Is there a way I can assign any of the public IP address to a vm directly?

Any Help?


Code:
auto lo
iface lo inet loopback


auto eth0
iface eth0 inet manual


auto eth1
iface eth1 inet manual


auto vmbr0
iface vmbr0 inet static
    address 5.5.5.5/24
    gateway 5.5.5.5.1
    bridge-ports eth0
    bridge-stp off
    bridge-fd 0


auto vmbr1
iface vmbr1 inet static
    address 161.79.115.212/18
    bridge-ports none
    bridge-stp off
    bridge-fd 0






auto vmbr2
iface vmbr2 inet static
    address 161.79.114.212/18
    bridge-ports none
    bridge-stp off
    bridge-fd 0
 
Last edited:
I'm not sure of what you want to do, but if you want a private subnet for your VM, you can make a subnet from SDN section of Datacenter.
then forward port / NAT adding a post-up iptables rule line to /etc/network/interfaces.d/sdn

Code:
auto vnet1
iface vnet1
        ...
        post-up iptables -t nat -A PREROUTING -i vmbr0 -p TCP -m multiport --dports 80,443 -j DNAT --to private.ip.of.internal.vm
 
it sounds to me you are missing something like a gateway/firewall, which forwards the traffic to the desired destination
 

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!