国产探花免费观看_亚洲丰满少妇自慰呻吟_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ā)表
主站蜘蛛池模板: 陈巴尔虎旗| 恭城| 班戈县| 平塘县| 镇原县| 措美县| 吉安县| 麦盖提县| 霞浦县| 离岛区| 新安县| 进贤县| 紫金县| 察雅县| 苍溪县| 长寿区| 临武县| 凯里市| 大新县| 固安县| 红河县| 迁安市| 新泰市| 康乐县| 万安县| 襄垣县| 南京市| 三都| 大关县| 哈尔滨市| 平陆县| 开封市| 剑河县| 宿松县| 乌海市| 饶阳县| 姜堰市| 左贡县| 巧家县| 凤台县| 苍梧县|