I was looking at iptables
man pages. But I did not find anything about --sport
and --dport
.
--sport
is short for--source-port
--dport
is short for--destination-port
Why are those options missing from Ubuntu manpages? I also looked at
iptables --help
info iptables
--source-port
and-destination-port
(and their short forms) are provided by thetcp
extension (and some other extensions). Extensions are documented in the iptables-extensions man page.