iptables and the PREROUTING chain

So it looks like the PREROUTING chain does not exist in the filter table. When attempting to drop packets in the PREROUTING chain, you need to specify the table. For instance, the nat table:

iptables -t nat -A PREROUTING -p tcp -i eth2 -s -d ! -m multiport –dports 80,8080 -j DNAT –to

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply