分页: 1 / 1

如何写这个iptables规则

发表于 : 2017-11-13 13:14
whaha
将本机上,所有对外连接的ip地址和端口,记录下来并写入log文件。
如何写这个规则?

Re: 如何写这个iptables规则

发表于 : 2017-11-13 13:50
九天星

代码: 全选

netstat -al >>a.log

Re: 如何写这个iptables规则

发表于 : 2017-11-14 18:52
whaha
可否用iptables来完成?

Re: 如何写这个iptables规则

发表于 : 2017-11-15 22:10
astolia
iptables -I OUTPUT -j LOG