Help on outgoing packet (without NAT)

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

 



Howdy,

I'd like some help on how can I redirect the outgoing packets without using NAT.

I have a machine, that when requests to IP 5.5.5.5 and port 80 are made, the request be redirected to 192.168.1.221:80
I'm trying this but no luck, maybe I'm close to it:

iptables -I FORWARD -d 5.5.5.5 -p tcp --dport 80 --to 192.168.1.221:80

What can I missing or what do I need to add?

Thanks in advanced,
Jorge Bastos,
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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