Contents ...
udn網路城邦
查詢目前iptables 規則
2017/07/10 01:11
瀏覽371
迴響0
推薦0
引用0

iptables -L -n  查詢目前iptables 規則

root@www ~]# iptables -L -n
######## 本機型防火牆設定 針對進來流量設定 ########
Chain INPUT (policy ACCEPT)   <==針對 input="" br="">

target  prot opt source     destination <==說明欄 span="">

ACCEPT  all  --  0.0.0.0/0  0.0.0.0/0   state RELATED,ESTABLISHED <==第 1="" span="">

ACCEPT  icmp --  0.0.0.0/0  0.0.0.0/0                             <==第 2="" span="">

ACCEPT  all  --  0.0.0.0/0  0.0.0.0/0                             <==第 3="" span="">

ACCEPT  tcp  --  0.0.0.0/0  0.0.0.0/0   state NEW tcp dpt:22      <==第 4="" span="">

EJECT  all  --  0.0.0.0/0  0.0.0.0/0   reject-with icmp-host-prohibited

全站分類:知識學習 其他
自訂分類:Linux 系統
上一則: Ubunto 網路設定 固定IP
下一則: DNS Service bind需安裝套件

限會員,要發表迴響,請先登入