NAT only - No connection tracking
Hi all,
How can I make my iptable to do just NAT, no connection tracking?
No matter how hard I tried to configure netfilter to load only iptable_nat, it will load ip_conntrack too.
Basically, I want to make my iptable to become a NAT device without stateful inspection.
It this possible?
.//Jet
Quoted 3 lines · On Monday 11 November 2002 10:56 am, [email protected] wrote:
Hi all,
How can I make my iptable to do just NAT, no connection tracking?
Yes - just don't compile connection tracking support in, and don't try to use the -m state match.
Quoted 2 lines
No matter how hard I tried to configure netfilter to load only
iptable_nat, it will loadip_conntracktoo.
I suggest you recompile the kernel without building the conntrack module.
Quoted 2 lines
Basically, I want to make my iptable to become a NAT device without stateful inspection.
You do realise that your NAT rules will become a lot more complicated because of this, don't you ?
Antony.
Signature · 3 lines
Having been asked to provide a reference for this man, I can confidently state that you will be very lucky indeed if you can get him to work for you.
Quoted 7 lines · Antony Stone
Quoted 3 lines · On Monday 11 November 2002 10:56 am, [email protected] wrote:
Hi all,
How can I make my iptable to do just NAT, no connection tracking?
Yes - just don't compile connection tracking support in, and don't try to use the -m state match.
I was wrong. I forgot that when you compile the kernel, the netfilter
options start with "Connection tracking (required for NAT) ?"
Therefore you are correct, you cannot do NAT without connection tracking.
Sorry for the misleading (nay, incorrect !) advice earlier....
Antony.
Signature · 2 lines
The difference between theory and practice is that in theory there is no difference, whereas in practice there is.