单项选择题
允许客户端访问http服务上的网站的命令是()。
A.iptables -t filter -A FORWARD -s 192.168.10.0/24-p tcp --dport 80-j ACCEPT
B.iptables -y filter -A FORWARD -s 192.168.10.0/24-p tcp --dport 80-j ACCEPT
C.iptables -t filter -A FORWARD -d 192.168.10.0/24-p tcp --dport 80-j ACCEPT
D.iptables -t filter -L FORWARD -s 192.168.10.0/24-q tcp --dport 80-j ACCEPT
相关考题
-
单项选择题
添加规则,允许客户端ping外网,外网服务器不能ping客户端的命令是()。
A.iptables -t filter -A FORWARD -s 192.168.10.0/24-p icmp --icmp-type 8-j ACCEPT
B.iptables -t filter -A FORWARD -o 192.168.10.0/24-p icmp --icmp-type 8-j ACCEPT
C.iptables -t filter -O FORWARD -s 192.168.10.0/24-p icmp --icmp-type 8-j ACCEPT
D.iptables -t filter -A FORWARD -s 192.168.10.0/24-p icmp --icmp-type 8-l ACCEPT -
单项选择题
iptables中清除以前的规则()。
A.iptables -t 表-F
B.iptables -t 表-L
C.iptables -t 表-P
D.iptables -t 表-A -
单项选择题
iptables中修改FORWARD链默认规则为DROP是()。
A.iptables -t filter -L FORWARD
B.iptables -t filter -F FORWARD
C.iptables -t filter -A FORWARD
D.iptables -t filter -P FORWARD
