Hello,
I have a difficult ip (tcp) rewrite question (IPs are examples): Mashine 1 123.123.123.123 ------------- internet Mashine 2 213.213.213.213 ------------- internet I now want to make a rule to forward all traffik to 123.123.123.123:81 to 213.213.213.213:80. Mashines 1 and 2 are not connected through a local network Kernel 2.4.17, latest netfilter code, no special patches applied to netfilter code. I tried: (on mashine 1) iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 81 -j DNAT --to-destination 213.213.213.213:80 and with simply --to and get a timeout with requests from remote hosts to 123.123.123.123:81 but can reach 213.213.213.213:80 Any hints? Thanks, Alexander Newald
