Olá, Tente fazer esse redirecionamento na chains INPUT ou na tabela mangle.
Abraços Gilberto O cleinte de ip 10.10.10.1 Em Fri, 7 May 2004 15:20:00 -0300 "Daniel" <[EMAIL PROTECTED]> escreveu: > tente o seguinte: > > iptables -t nat -A PREROUTING -t eth? -p TCP -d 10.10.10.1 --dport 4080 -j > DNAT > --to 10.10.10.2:80 > > coloque o número da placa de rede que tem esse ip no lugar do ? e tire > o -destinatio depois do --to > com o dnat já se subentende que é destination nat. > > comunique-nos se fucinou, ok? :-) > > espero ter ajudado > > daniel > > > ----- Original Message ----- > From: "guto carvalho" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Friday, May 07, 2004 2:53 PM > Subject: redirecionamento > > > Ae gente uma dúvida... > > Situação > > habilitei o forward > echo 1 > /proc/sys/net/ipv4/ip_forward > > coloquei accept como politica padrão em todas as cadeias da tabela > filter e nat em 2 workstations... > > veja na workstation 10.10.10.1 fiz este redirecionamento > > iptables -t nat -A PREROUTING -p TCP -d 10.10.10.1 --dport 4080 -j DNAT > --to-destination 10.10.10.2:80 > > o apache esta rodando na 10.10.10.2 na porta 80 aceitando conexoes > normalmente mas quando vou na 10.10.10.3 e mando acessar 10.10.10.1:4080 > o redirecionamento nao funciona....alguma sugestao?! > > > tks pela força! > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > >

