Re: Destination NAT from an LKM

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

 



On Jan 5 2007 16:02, Tom Blane wrote:
>
> I have an LKM that hooks into the NF_IP_PRE_ROUTING hook for IP 
> traffic. The kernel module examines certain fields of the IP header 
> and then makes a decision as to either allow the packet on to its 
> intended destination or to re-route the packet to another system. 
> However Im having a problem re-routing the traffic. [...]

Why is not it possible for you to use the regular (iptables) DNAT?

> Any pointers towards code or articles would be great.

Your code is first to show.


	-`J'
-- 


[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