Re: mark value as routing key

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

 



On Thu, 20 Oct 2005, Marco Berizzi wrote:

Locally generated packet with destination port 80
are going through the adsl table but the packet
source ip is 1.1.1.254. Why source ip packet is
1.1.1.254? Should't it be 10.10.10.6?

Because source address assignment takes place very early, before there even is a packet to be seen by iptables, by using a very special routing lookup.

To get around this you can SNAT the traffic before it leaves the box, or configure the application to specifically use the correct source address.


Regards
Henrik


[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