Source NAT

Jimmy squid at oranged.to
Wed Aug 31 13:18:39 CEST 2005


Hello,

I currently have a situation that I am hoping iptables can resolve. The
issue is that I need to NAT the source address based on the destination
address. Is that possible with IPTables ?

For example

if dst = 1.1.1.1 src = 10.1.1.1
if dst = 1.1.2.1 src = 10.1.1.2

Can anyone give me any advice on completing that?

Regards,






More information about the netfilter mailing list