* are restore-mark and -m connmark same ?
@ 2015-09-03 8:35 Akshat Kakkar
0 siblings, 0 replies; only message in thread
From: Akshat Kakkar @ 2015-09-03 8:35 UTC (permalink / raw)
To: netfilter@vger.kernel.org
ARE
iptables -t mangle -A PREROUTING -j CONNMARK --restore-mark
iptables -t mangle -A PREROUTING -m mark ! --mark -0x0 -j ACCEPT
and
iptables -t mangle -A PREROUTING -m connmark --ctstate RELATED,
ESTABLISHED -j ACCEPT
_exactly_ same or there can be any case/condition where this will fail ?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-09-03 8:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-03 8:35 are restore-mark and -m connmark same ? Akshat Kakkar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).