I have a VDS server which I believe is a clean install of debian sarge and I have updated it. I'm trying to set an iptables rule so that requests on port 80 will redirect to port 8080 for tomcat but when I run...
Code:
iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080
I get this response...
Code:
modprobe: QM_MODULES: Function not implemented
modprobe: QM_MODULES: Function not implemented
modprobe: Can't locate module ip_tables
iptables v1.2.11: can't initialize iptables table `nat': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
I was planning on following these
recommendations but I'm stymied at the first hurdle.
Any advice much appreciated...