On Fri, 2003-01-17 at 20:06, Hélio Dubeux wrote: > I have a machine with squid + nat with an valid ip (1.1.1.1) and a false ip > (2.2.2.2) and running apache on port 80, i want to publish another apache > server on port 8000 in a machine with ip (3.3.3.3). how can i do this > redirect? I´ve already used: > > iptables -A PREROUTING -t nat -p tcp -d 1.1.1.1 --dport 8000 -j DNAT -to > 3.3.3.3:8000 > > My clients type on their browser http://1.1.1.1:8000 and i wanto to show the > content of 3.3.3.3:8000 > > Anyone can plz help me? > The PREROUTING seems fine, just remember to also add a FORWARD rule to allow the packet to be 'forwarded' to 3.3.3.3 Paulo