ip saving setups

EuroDomenii

Renowned Member
Sep 30, 2016
145
35
68
Slatina
www.domenii.eu
Due to the ipv4 shortage, especially in my case the new https://docs.hetzner.com/general/others/ipv4-pricing/, needs to find saving setups.

Let’s say I got ip1 and ip2 statically routed to proxmox node. I would need to separate services like this ( instead of using 6 different ips):

Ip1:443 to LXC1-web, ip1:25 to LXC1-mail, ip1:53 to LXC1-dns

Ip2:443 to LXC2-web, ip2:25 to LXC2-mail, ip2:53 to LXC2-dns

At first glance, using NAT on the proxmox node, would end up with conflicts.

The solution I came up with was to setup KVM1 with classic bridged ip1 and KVM2 with ip2 and inside those VMs setup containers LXD with NAT

Inside KVM1: LXD1-web, LXD1-mail, LXD1-dns
Inside KVM2: LXD2-web, LXD2-mail, LXD2-dns

Any other thoughts? Thx!
 
Last edited: