Hello,
I'm doing inside the VE the iptables command on shell and get an error:
# iptables -t nat -A PREROUTING -s 0.0.0.0/0 -p tcp --dport 80 -j REDIRECT --to-port 8080
iptables v1.3.5: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
On the HN I have expand in /etc/vz/vz.conf the line with iptables_nat:
IPTABLES="ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length iptables_nat"
Using Kernel: 2.6.18-92.1.13.el5.028stab059.6 #1 SMP
finished with rebooting the HN. What did I have forgot?
best regards
Frank