歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> Linux資訊 >> Linux文化 >> iptables -X 和 iptables -F有什麼區別?

iptables -X 和 iptables -F有什麼區別?

日期:2017/2/27 12:06:05   编辑:Linux文化

>>> 此貼的回復 >> -F 是清空指定某個 chains 內所有的 rule 設定。比方 iptables -F -t filter,那就是把 filter table 內所有的INPUT/OUTPUT/FORWARD chain 設定的規則都清空。

-X 是刪除使用者自訂 table 項目,一般使用 iptables -N xxx 新增自訂 chain 後,可以使用 iptables -X xxx 刪除之。

[ 關閉窗口 ]

Copyright © 1999-2000 LSLNET.COM. All rights reserved. 藍森林網站 版權所有。 E-mail : [email protected]
Copyright © Linux教程網 All Rights Reserved