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

首頁(yè) > 服務(wù)器 > Web服務(wù)器 > 正文

如何恢復(fù)iptables的默認(rèn)設(shè)置

2024-09-01 13:47:16
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(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 that's not default in filter and nat table.
#
/usr/local/sbin/iptables -X
/usr/local/sbin/iptables -t nat -X'

PS:更多相關(guān)教程《iptables配置》

發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 辉南县| 张家港市| 灵石县| 山丹县| 保定市| 丹巴县| 屯昌县| 青川县| 通化市| 邳州市| 奇台县| 临沂市| 泌阳县| 都江堰市| 三门县| 蓬溪县| 内江市| 松阳县| 琼中| 沙湾县| 钟祥市| 赣榆县| 塔城市| 张家港市| 筠连县| 阳高县| 胶南市| 丰台区| 鹤峰县| 盐津县| 综艺| 平山县| 同仁县| 类乌齐县| 东乌珠穆沁旗| 敦煌市| 定襄县| 三台县| 留坝县| 宝清县| 平江县|