Nginx at Proxmox to save IP


Active Member
Apr 13, 2015
A friend of mine have set up a host for webdev purpuses and after my advice used fresh PVE instead of initialluy choosen Hyper-V.

The host is at datacenter, and they provided only one IPv4 address, and renting more is a bit tricky there.

So, my friend installed nginx at Proxmox host itself, which proxy-passing the requests to VMs where data of each of his sites located.

The scheme is quite simple:

1. vmbr0 at PVE host is WAN interface, so public IPv4 is at it.
2. vmbr1 at PVE host is Backend network interaface, with private IP.
3. Each VM has an interface in vmbr1-backed network, and assigned an IP from the same subnet.

It works, but strangely sometimes sites are expirence a bit slow response. Say, one site used to answer within 100ms, but rarely it can wait for maybe 2 seconds - which is quite big response time.

And the problem is, the host itself is mainly free (up to 10% of CPU, up to 30% of RAM are used in high hours only).

So the question is, how to catch where is the problem. Seems like somewhere in network between Nginx (at PVE host) and Apache (at VM), but this can't be, this is virtual network!


Renowned Member
Jul 5, 2020
From where (in the network) did you test? Did you run a traceroute? Usually the problem lies in the network long way before Proxmox.


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 your own in 60 seconds.

Buy now!