I am trying to add the following rule:
iptables -t nat -A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080
but what I am getting is:
FATAL: Module ip_tables not found. iptables v1.4.7: can't initialize iptables table `nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded.
Looking through the forums I came to the conclusion that the iptable_nat module is not installed/activated. By issuing
FATAL: Module iptable_nat not found.
Any ideas how to install/activate this.