Note:- iptables modules list in IPTABLES and IPTABLES_MODULES parameters in /etc/sysconfig/vz and /etc/sysconfig/iptables-config files should be placed in one single line, no linebreaks is allowed in this parameter.
Restart OpenVZ server # service vz restart
2. Increase ‘numiptent’ parameter for the VE you need to install APF into. This parameter limits the amount of iptables rules available for a VE. Default APF configuration requires ~400 rules. Lets set it to 400 in the example below for VE #101:
# vzctl set 101 --numiptent 400 --save
3. Start APF inside the VE: # /etc/init.d/apf start
Unable to restart VPS on your OpenVZ box? Does is fail with the following error? Container already locked Tried “vzctl restart VEID” and “vzctl start VEID –force” or “vzctl stop VEID –fast” Here is how you can fix it: 1. …
Unable to start your OpenVZ VPS due to quota issue? # vzctl start Starting container … vzquota : (error) quota file is corrupted vzquota on failed  Here is a dirty quick fix Turn off quota – vzquota off (or …
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.