亚洲熟女综合色一区二区三区,亚洲精品中文字幕无码蜜桃,亚洲va欧美va日韩va成人网,亚洲av无码国产一区二区三区,亚洲精品无码久久久久久久

25個常用的Linux iptables規(guī)則

一些常用的 Linux iptables 規(guī)則,請根據(jù)自己的具體需要再修改。

25個常用的Linux iptables規(guī)則

# 1. 刪除所有現(xiàn)有規(guī)則

25個常用的Linux iptables規(guī)則

# 2. 設(shè)置默認的 chain 策略

25個常用的Linux iptables規(guī)則

# 3. 阻止某個特定的 IP 地址

25個常用的Linux iptables規(guī)則

# 4. 允許全部進來的(incoming)SSH

25個常用的Linux iptables規(guī)則

# 5. 只允許某個特定網(wǎng)絡進來的 SSH

25個常用的Linux iptables規(guī)則

# 6. 允許進來的(incoming)HTTP

25個常用的Linux iptables規(guī)則

# 7. 多端口(允許進來的 SSH、HTTP 和 HTTPS)

25個常用的Linux iptables規(guī)則

# 8. 允許出去的(outgoing)SSH

25個常用的Linux iptables規(guī)則

# 9. 允許外出的(outgoing)SSH,但僅訪問某個特定的網(wǎng)絡

25個常用的Linux iptables規(guī)則

# 10. 允許外出的(outgoing) HTTPS

25個常用的Linux iptables規(guī)則

# 11. 對進來的 HTTPS 流量做負載均衡

25個常用的Linux iptables規(guī)則

# 12. 從內(nèi)部向外部 Ping

25個常用的Linux iptables規(guī)則

# 13. 從外部向內(nèi)部 Ping

25個常用的Linux iptables規(guī)則

# 14. 允許環(huán)回(loopback)訪問

25個常用的Linux iptables規(guī)則

# 15. 允許 packets 從內(nèi)網(wǎng)訪問外網(wǎng)

25個常用的Linux iptables規(guī)則

# 16. 允許外出的 DNS

25個常用的Linux iptables規(guī)則

# 17. 允許 NIS 連接

25個常用的Linux iptables規(guī)則

# 18. 允許某個特定網(wǎng)絡 rsync 進入本機

25個常用的Linux iptables規(guī)則

# 19. 僅允許來自某個特定網(wǎng)絡的 MySQL 的鏈接

25個常用的Linux iptables規(guī)則

# 20. 允許 Sendmail 或 Postfix

25個常用的Linux iptables規(guī)則

# 21. 允許 IMAP 和 IMAPS

25個常用的Linux iptables規(guī)則

# 22. 允許 POP3 和 POP3S

25個常用的Linux iptables規(guī)則

# 23. 防止 DoS 攻擊

25個常用的Linux iptables規(guī)則

# 24. 設(shè)置 422 端口轉(zhuǎn)發(fā)到 22 端口

25個常用的Linux iptables規(guī)則

# 25. 為丟棄的包做日志(Log)

25個常用的Linux iptables規(guī)則

作者:數(shù)據(jù)庫開發(fā)

來源:http://os.51cto.com/art/201709/551245.htm

相關(guān)新聞

歷經(jīng)多年發(fā)展,已成為國內(nèi)好評如潮的Linux云計算運維、SRE、Devops、網(wǎng)絡安全、云原生、Go、Python開發(fā)專業(yè)人才培訓機構(gòu)!