Skip to contentSkip to conversation

flush current NAT mappings.

DISCUSSION Jarek 2 participants 2 messages Dec 26, 2005 netfilter

lore
Share & tools
lore

Jarek

author
#0 lore raw

Hello all.

I was playing with iptables and came to idea, that sometimes I need to flush current NAT mappings (not iptables rules).
I think I should clear somewhere from conntrack tables, but where?

I was doing it easily under FreeBSD.
I think iptables/Linux should hangle this possibility too?

Thanks,
Jarek

#1 lore raw
Quoted 3 lines · Jarek

I was playing with iptables and came to idea, that sometimes I need to flush current NAT mappings (not iptables rules).
I think I should clear somewhere from conntrack tables, but where?

You can flush the whole conntrack table with the conntrack-tool:

http://www.netfilter.org/projects/conntrack/index.html

Signature · 1 line
Pablo