I have below command
ip6tables -A INPUT -m ipv6header --header hop,dst,route,frag,auth,esp,none,prot --tcp-flags ACK SYN
But getting error as ip6tables v1.8.4 (legacy): unknown option "--tcp-flags"
I have tried --tcp-flags
option with iptables
, It works fine. But in ip6tables
, it gives error
quote from
man ip6tables
add the argument
--protocol tcp
.According to the man page,
--tcp-flags
is part of an extension that is loaded if--protocol tcp
is specified. Your command line does not seem to specify--protocol tcp
, hence the extension is not present and the option is not available.