Linux Netfilter discussions
 help / color / mirror / Atom feed
* how to ignore forwarded traffic?
@ 2014-04-21  1:22 Sven Köhler
  2014-04-21  8:38 ` Anton 'EvilMan' Danilov
  0 siblings, 1 reply; 5+ messages in thread
From: Sven Köhler @ 2014-04-21  1:22 UTC (permalink / raw)
  To: netfilter

Hi,

consider the following example:
you have a router between two networks, and you want to cut off the
router from the outside world using some iptables rules. However, all
traffic that is forwarded by the router between the two networks
basically is to be ignored by iptables (i.e., the router does not play
firewall for any of the two networks).

Currently, if conntrack is loaded on the router, then conntrack -L on
the router lists all the connections, not only those to and from the
router, but also all connections between the two. Certainly, it takes
some CPU cycles for the router to keep track of all the connections.
Also, the number of connections that conntrack can take of is limited.

So is there a way to let Linux "bypass" conntrack and maybe other
netfilter stuff when it comes to forwarded packets?


Kind Regards,
  Sven


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-04-22  6:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-21  1:22 how to ignore forwarded traffic? Sven Köhler
2014-04-21  8:38 ` Anton 'EvilMan' Danilov
2014-04-21 14:56   ` Sven Köhler
2014-04-21 15:45     ` Sven Köhler
2014-04-22  6:45       ` Anton 'EvilMan' Danilov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox