The iptables command that allows traffic only from a specific IP address, say 10.0.0.1, to a specific port, say 22, uses the ________ option.

  • -s
  • -p
  • -dport
  • -A
The iptables command that allows traffic only from a specific IP address, say 10.0.0.1, to a specific port, say 22, uses the -s (source) option. This option specifies the source IP address from which traffic is allowed.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *