Virtual Ethernet devices of the OpenVZ VM’s inside ProxMox is connected to a bridge. After installing ProxMox and creating virtual nodes, I found that public ips allocated inside VM’s were not reachable to world.
A quick fix for this issue is to ensure that Proxy ARP and IP Forwarding is configured fine.
Check these lines:
# ifconfig vzbr0 0
# echo 1 > /proc/sys/net/ipv4/conf/vzbr0/forwarding
# echo 1 > /proc/sys/net/ipv4/conf/vzbr0/proxy_arp
You can read more information about OpenVZ Virtual Ethernet devices in bridge mode configuration check this link.