国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 網(wǎng)管 > 服務器 > 正文

如何恢復iptables的默認設置

2020-05-27 13:38:00
字體:
供稿:網(wǎng)友

   /usr/local/sbin/iptables -P INPUT ACCEPT

  /usr/local/sbin/iptables -P FORWARD ACCEPT

  /usr/local/sbin/iptables -P OUTPUT ACCEPT

  #

  # reset the default policies in the nat table.

  #

  /usr/local/sbin/iptables -t nat -P PREROUTING ACCEPT

  /usr/local/sbin/iptables -t nat -P POSTROUTING ACCEPT

  /usr/local/sbin/iptables -t nat -P OUTPUT ACCEPT

  #

  # flush all the rules in the filter and nat tables.

  #

  /usr/local/sbin/iptables -F

  /usr/local/sbin/iptables -t nat -F

  #

  # erase all chains thats not default in filter and nat table.

  #

  /usr/local/sbin/iptables -X

  /usr/local/sbin/iptables -t nat -X

發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 远安县| 兴安县| 鞍山市| 榆社县| 应城市| 中宁县| 阿巴嘎旗| 眉山市| 泾川县| 鸡西市| 霍山县| 博爱县| 桂林市| 亚东县| 米泉市| 泉州市| 桃源县| 辉县市| 页游| 开封县| 泽州县| 台江县| 漳州市| 绵竹市| 嘉荫县| 蚌埠市| 巫山县| 金华市| 涪陵区| 大埔区| 交口县| 常州市| 黑龙江省| 理塘县| 南雄市| 乳山市| 新绛县| 连州市| 河北省| 吉首市| 磴口县|