Ubuntu: Options missing from iptable man page



Question:

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  


Solution:1

--source-port and -destination-port (and their short forms) are provided by the tcp extension (and some other extensions). Extensions are documented in the iptables-extensions man page.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »