login
Header Space

 
 

Netfilter kernel module

November 16, 2008 - 1:31pm
Submitted by lagigliaivan on November 16, 2008 - 1:31pm.
Linux

Hi All,

I need to develop a kernel module which changes the IP address of a package according to its mac address. It would be a sort of L2 Nat.

Somebody know if I can do this using Netfilter??

Thanks.

why don't use "mac" match?

November 17, 2008 - 2:38am

hi,

i think you can use "mac" match in the nat table, without any programming effort..

let us know: can it satisfy your needs?

be happy

See ebt_snat / ebt_dnat.

November 18, 2008 - 6:11pm
Anonymous (not verified)

See ebt_snat / ebt_dnat.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
speck-geostationary