Enable NAT support for VE
First check whether kernel iptables_nat module is loaded in the host server.
VE0_# lsmod | grep ^iptable_nat
If not, use the below given command
modprobe iptable_nat
To enable iptable_nat in VE
vzctl set <VEID> –iptables iptable_nat –save
# restart your VE
VE0_# vzctl restart <VEID>
# check it
VE0_# vzctl exec <VEID> iptables -t nat -L -v –line-number
Praji's Blog