How to use nmap port scanning tool to scan the network segment in linux open ports

In another linux host, you can use nmap command

,such as

I open port 1111 on 1.1.1.2

-A INPUT -p tcp -m state --state NEW -m tcp --dport 1111 -j ACCEPT

Executed on 1.1.1.1

Can be found

 

Reproduced in: https: //www.cnblogs.com/xiaoliu66007/p/11083622.html

Guess you like

Origin blog.csdn.net/weixin_33953384/article/details/93664560