Re: IP Masq weirdness

Paul Rusty Russell (Paul.Russell@rustcorp.com.au)
Mon, 25 Oct 1999 08:31:02 +1000


In message <199910231157.PAA22488@ms2.inr.ac.ru> you write:
> BTW, Juan, did you solve this problem in netfilter? Someone asked
> me recently, I did not know the answer and redirected him to you
> and Paul.

Hi Alexey et al,

I was looking at this yesterday: is there any way to get the
correct address from the skb (this is in NF_IP_POST_ROUTING), using
the dst field, or do I really need to use ip_route_output? I can do
either, although using policy routing to control masquerading is not
very clever in netfilter, since you can just specify the NAT address
directly, but I don't really want to surprise people.

Rusty.

--
Hacking time.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/