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.
Loading...
Related Quiz
- You are debugging an application and need to trace the system calls it makes. Which tool in Linux would you employ?
- You've been given a task to find all occurrences of the word "error" in a directory containing numerous log files. Which command would you primarily use for this search?
- In the context of VPNs in Linux, the _________ protocol is known for its speed and efficiency but may not be as secure as other options.
- For a package manager, what is the significance of the "dependency resolution" process?
- The _________ utility is used to create, grow, shrink, and repair ext2, ext3, and ext4 file systems.