I´m using centOS and I want to redirect port xxxx to anthor port.
node.js is installed. I have tried it with this note: Best practices when running Node.js with port 80 (Ubuntu / Linode)
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3000
I get an error-message: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
If there is another way to redirecting ports just let me know please.