SDN with external IPs

Hello everyone,

I am currently working on my SDNs and I am starting to understand the basics.
I have a working SDN for my VMs that allows the VMs to share the IP address with the host. (SInce this is a external IP address)

Now I have 3 additional IPv4 WAN addresses and I would also like to use it with SDN so that proxmox VE can hand them out via DHCP. (Since I now need to put all the info in manually.)
I have reused the zone that I use for the LAN SDN and created an additional VNet called WAN.
Then I created a new subnet for it and used my first WAN IP for the subnet (62.168.x.x) and set the gateway to the gateway I need to use from my hoster.
After that I added a DHCP range that starts at my first IP and stops at my last IP.

Now when I select WAN as bridge, the VM get the correct external IP address and is able to connect to the internet.
But when I try to SSH into the VM, I get an host is not reachable error message.

I suspect that the ports of the VM are not being forwarded by the SDN.
Now I know that with the IP address that shared with the host, I need to configure the ports that needs to be forwarded in the interface file.
But for my WAN IPs I just want all ports forwarded since no VM will share a WAN IP. (And I would prefer to not need to configure every port I need to forward everytime I need a port forwarded.)

Does anyone know how to do this? Or I am completely wrong and is there a different reason for host is not reachable error message?
 

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!