跳到主要內容

發表文章

目前顯示的是有「iptables」標籤的文章

刪除 iptables 裡的規則

1. 找出行號,方便刪除 root@cw2-netflow:~# iptables -L --line-numbers Chain INPUT (policy ACCEPT) num  target     prot opt source               destination         1    sshguard   all  --  anywhere             anywhere             Chain FORWARD (policy ACCEPT) num  target     prot opt source               destination         Chain OUTPUT (policy ACCEPT) num  target     prot opt source               destination         Chain sshguard (1 references) num  target     prot opt source       ...