Redhat_7.6_RHCE-IPTABLES

iptables****

我們提供的服務(wù)有:網(wǎng)站制作、成都網(wǎng)站制作、微信公眾號開發(fā)、網(wǎng)站優(yōu)化、網(wǎng)站認(rèn)證、西湖ssl等。為上千余家企事業(yè)單位解決了網(wǎng)站和推廣的問題。提供周到的售前咨詢和貼心的售后服務(wù),是有科學(xué)管理、有技術(shù)的西湖網(wǎng)站制作公司

注意:1、iptables 默認(rèn):ACCEPT 2、注意方向

[root@10 /]# iptables -nvL OUTPUT --line //查看out方向的規(guī)則
Redhat_7.6_RHCE-IPTABLES
[root@10 /]# iptables -L OUTPUT
Redhat_7.6_RHCE-IPTABLES

[root@10 /]# iptables -L INPUT INPUT 方向
Redhat_7.6_RHCE-IPTABLES

[root@10 /]# iptables -L OUTPUT
[root@10 /]# iptables -L OUTPUT --line
[root@10 /]# iptables -D OUTPUT 1
Redhat_7.6_RHCE-IPTABLES

[root@10 /]# iptables -A INPUT -s 192.168.10.20 -j DROP
[root@10 /]# iptables -vnL INPUT --line
Redhat_7.6_RHCE-IPTABLES

Redhat_7.6_RHCE-IPTABLES

[root@10 ~]# iptables -t filter -I OUTPUT -s 192.168.10.10 -j ACCEPT
[root@10 ~]# iptables -t filter -I OUTPUT -d 192.168.10.10 -j ACCEPT
//插入語句 -s原地址 -j 動作
Redhat_7.6_RHCE-IPTABLES

//在out方向做 -s 192.168.10.112 to 192.168.10.10

Redhat_7.6_RHCE-IPTABLES

文章名稱:Redhat_7.6_RHCE-IPTABLES
當(dāng)前網(wǎng)址:http://muchs.cn/article34/gdsgse.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供營銷型網(wǎng)站建設(shè)用戶體驗、商城網(wǎng)站、關(guān)鍵詞優(yōu)化、企業(yè)網(wǎng)站制作、全網(wǎng)營銷推廣

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

網(wǎng)站建設(shè)網(wǎng)站維護(hù)公司