![我们如何才能有效地扫描我们的端口范围?](https://linux22.com/image/732112/%E6%88%91%E4%BB%AC%E5%A6%82%E4%BD%95%E6%89%8D%E8%83%BD%E6%9C%89%E6%95%88%E5%9C%B0%E6%89%AB%E6%8F%8F%E6%88%91%E4%BB%AC%E7%9A%84%E7%AB%AF%E5%8F%A3%E8%8C%83%E5%9B%B4%EF%BC%9F.png)
我正在尝试创建一个脚本来检查我的防火墙是否正常工作。
为此,我需要一个检查我们范围的命令。
答案1
您可以使用 nmap 命令
sudo nmap -sT remote_host
了解更多信息https://www.digitalocean.com/community/tutorials/how-to-use-nmap-to-scan-for-open-ports-on-your-vps
我正在尝试创建一个脚本来检查我的防火墙是否正常工作。
为此,我需要一个检查我们范围的命令。
您可以使用 nmap 命令
sudo nmap -sT remote_host
了解更多信息https://www.digitalocean.com/community/tutorials/how-to-use-nmap-to-scan-for-open-ports-on-your-vps