知乎專欄 | 多維度架構 | 微信號 netkiller-ebook | QQ群:128659835 請註明“讀者” |
neo@monitor:~$ sudo netstat-nat Proto NATed Address Destination Address State tcp 10.8.0.14:1355 172.16.1.25:ssh ESTABLISHED tcp 10.8.0.14:1345 172.16.1.63:ssh ESTABLISHED tcp 10.8.0.14:1340 172.16.1.46:ssh ESTABLISHED tcp 10.8.0.14:1346 172.16.1.25:ssh ESTABLISHED tcp 10.8.0.14:1344 172.16.1.62:ssh ESTABLISHED tcp 10.8.0.14:1343 172.16.1.48:ssh ESTABLISHED
你也同時可以使用下面命令查看
$ cat /proc/net/ip_conntrack $ cat /proc/net/nf_conntrack