Mem*_*pan 19 linux firewall centos iptables
我正在使用 CentOS,并在输入以下iptables
命令时:
iptables -L -v
Run Code Online (Sandbox Code Playgroud)
输出如下:
Chain INPUT (policy ACCEPT 19614 packets, 2312K bytes) pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 13881 packets, 32M bytes) pkts bytes target prot opt in out source destination
Run Code Online (Sandbox Code Playgroud)
这是什么意思?我可以使用 SSH 连接。我在哪里可以看到那个规则?
Fra*_*ran 23
空iptables
规则只是意味着你没有规则。没有规则意味着表“策略”控制遍历该表的每个数据包会发生什么。在policy ACCEPT
每个表的手段,所有的数据包通过每个表允许的。因此,您没有处于活动状态的防火墙。
归档时间: |
|
查看次数: |
24111 次 |
最近记录: |