欢迎来到财会考试题库网 财会考试题库官网
logo
全部科目 > 大学试题 > 计算机科学 > 计算机程序设计 > 结构化查询语言(SQL)

单项选择题

配置nat表中的地址伪装规则的命令是()。

    A.iptables -p nat -A POSTROUTING -t tcp --dport 80-s 192.168.10.0/24-j MASQUERADE
    B.iptables -o nat -A POSTROUTING -p tcp --dport 80-s 192.168.10.0/24-j MASQUERADE
    C.iptables -t nat -A POSTROUTING -p tcp --dport 80-s 192.168.10.0/24-j MASQUERADE
    D.iptables -t nat -A POSTROUTING -p dhcp --dport 80-s 192.168.10.0/24-j MASQUERADE

点击查看答案&解析

相关考题

  • 单项选择题
    配置nat表的规则的命令是()。

    A.iptables -I nat -A POSTROUTING -p tcp --dport 80-s 192.168.10.0/24-j SNAT --to 20.0.0.1
    B.iptables -t nat -A POSTROUTING -p tcp --dport 80-s 192.168.10.0/24-j SNAT --to 20.0.0.1
    C.iptables -t nat -A POSTROUTING -q tcp --dport 80-s 192.168.10.0/24-j SNAT --to 20.0.0.1
    D.iptables -t nat -o POSTROUTING -p tcp --dport 80-s 192.168.10.0/24-j SNAT --to 20.0.0.1

  • 单项选择题
    允许客户端访问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

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题