Damian Gatabria wrote: > iptables -t nat -A PREROUTING -p tcp -i eth0 -m multiport \ > --dports mysql -j DNAT --to some.other.host > > changing "some.other.host" to 127.0.0.1 doesn't work > as expected, and packets seem to be dropped altogether. > Using tcpdump i can see packets reaching eth0, but > never reaching loopback. > > Is there any way to make iptables do what i'm looking > for? Any help will be greatly appreciated. Use -j REDIRECT instead of DNAT. -- Jamie - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html