help developing kernel module for nat
delleceste at gmail.com
Thu Sep 8 14:51:35 CEST 2005
I'm writing a nat module for study purposes in linux kernel.
I do NAT, changing addresses and port in network packets (outgoing and
Then i recalculate checksum.
i don't mangle payload (not interested in ftp).
Should i do any other adjustment? (TCP window, seq/ack) ?
I think it should be enough, since process should be transparent to hosts
behind nat machine,
the fact is that in some networks it works fine, in other networks
Tried changing mtu and clamp-tcpmss-to-pmtu with no effect.
More information about the netfilter