Re: Change destination ip address in incoming packet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



El sÃb, 12-03-2005 a las 10:14 +0100, Tony Di Bernardo escribiÃ:
> Hello,
> I would like to know if there is a way to change the destination IP address in the IP header of an incoming packet in a linux box. I don't want to do DNAT because I don't need that the packet comes back to the host. All I need is to change destination address and put the packet in the net again.
> 
> Thanks
> tony

Do SNAT and DNAT, that way you change the destination IP and the origin
IP.

Regards.

-- 

Jose Maria Lopez Hernandez
Director Tecnico de bgSEC
jkerouac@xxxxxxxxx
bgSEC Seguridad y Consultoria de Sistemas Informaticos
http://www.bgsec.com
ESPAÃA

The only people for me are the mad ones -- the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn, burn
like fabulous yellow Roman candles.
                -- Jack Kerouac, "On the Road"





[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux