国产探花免费观看_亚洲丰满少妇自慰呻吟_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ā)表
主站蜘蛛池模板: 都安| 上杭县| 巨野县| 高邮市| 巩留县| 南澳县| 汪清县| 锡林郭勒盟| 望城县| 新干县| 庆城县| 和龙市| 德格县| 鹤山市| 博湖县| 定陶县| 泗洪县| 灵石县| 富蕴县| 乌拉特后旗| 富锦市| 专栏| 托克逊县| 大姚县| 南阳市| 萝北县| 云南省| 湘潭市| 治多县| 辽宁省| 崇左市| 吉木乃县| 东乌珠穆沁旗| 杂多县| 盐山县| 巴南区| 苍山县| 乌拉特后旗| 大余县| 华宁县| 贡嘎县|