String allZones = CommandUtil.exeCmd("firewall-cmd --list-all-zones");模拟一下返回结果
时间: 2024-05-25 17:16:46 浏览: 135
酒店预订管理系统 SSM毕业设计 附带论文.zip
allZones = "public (default)\n interfaces: eth0\n sources: \n services: dhcpv6-client mdns ssh\n ports: \n protocols: \n masquerade: no\n forward-ports: \n icmp-blocks: \n rich rules: \n\ninternal\n interfaces: \n sources: \n services: \n ports: \n protocols: \n masquerade: no\n forward-ports: \n icmp-blocks: \n rich rules: \n\nexternal\n interfaces: eth1\n sources: \n services: dhcpv6-client mdns ssh\n ports: \n protocols: \n masquerade: no\n forward-ports: \n icmp-blocks: \n rich rules: "
阅读全文