Hi there, in the typical Hosting configuration of "1 only public IP", I know how to make a second "NAT" network using a second virtual bridge (typically vmbr1) in the Proxmox host and routing the outcoming traffic through the first bridge with public ip (typically vmbr0). That's a "working good" static configuration.
However when you want to deal with incoming traffic and port forwarding, I don't like to deal with the host to change its iptables (to port-forward traffic) every time I add a new LXC or VM in proxmox, so my question is:
Does somebody know how to make a kind of "router" LXC (or VM if it's not possible with LXC) so that it acts as the real bridge between the public network and the private containers and all the porf-forwarding configurations are done in this particular container?
I have done this in VirtualBox creating a "public NAT" network, and creating a router VM with an interface connected to public bridge adapter em1 and another one attached to the NAT network.
After that, the VMs are connected/attached to the NAT network. And all configurations are done in the "router" VM. thanks
However when you want to deal with incoming traffic and port forwarding, I don't like to deal with the host to change its iptables (to port-forward traffic) every time I add a new LXC or VM in proxmox, so my question is:
Does somebody know how to make a kind of "router" LXC (or VM if it's not possible with LXC) so that it acts as the real bridge between the public network and the private containers and all the porf-forwarding configurations are done in this particular container?
I have done this in VirtualBox creating a "public NAT" network, and creating a router VM with an interface connected to public bridge adapter em1 and another one attached to the NAT network.
After that, the VMs are connected/attached to the NAT network. And all configurations are done in the "router" VM. thanks