要求防火墙开放25端口,只允许192.168.26.0网段的主机访问,请问命令是?
1373 次浏览
- A、firewall-cmd --add-rich-rule 'rule family=ipv4 source address=192.168.26.0/24 service name=smtp accept'
- B、firewall-cmd --add-rich-rule 'rule family=ipv4 source address=192.168.26.0/24 service=smtp accept'
- C、firewall-cmd --add-rich-rule 'rule family=ipv4 source address=192.168.26.0/24 port port=25 protocol=tcp accept'
- D、firewall-cmd --add-rich-rule 'rule family=ipv4 source address=192.168.26.0/24 port port=25 accept'
微信公众号