Câu 138: XK0-005: CompTIA Linux+
A DevOps engineer needs to allow incoming traffic to ports in the range of 4000 to 5000 on a Linux server. Which of the following commands will enforce this rule?
Nội dung câu hỏi
A DevOps engineer needs to allow incoming traffic to ports in the range of 4000 to 5000 on a Linux server. Which of the following commands will enforce this rule?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. iptables -f filter -I INPUT -p tcp --dport 4000:5000 -A ACCEPT
- B. iptables -t filter -A INPUT -p tcp --dport 4000:5000 -j ACCEPT — đáp án hiện tại
- C. iptables filter -A INPUT -p tcp --dport 4000:5000 -D ACCEPT
- D. iptables filter -S INPUT -p tcp --dport 4000:5000 -A ACCEPT
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.