-
先學(xué)最基礎(chǔ)知識(shí)查看全部
-
iptables -F iptables -I INPUT -p tcp --dport 21 -j ACCEPT iptables -I INPUT -p tcp --dport 22 -j ACCEPT iptables -I INPUT -p icmp -j ACCEPT iptables -I INPUT -m state --state ESTABLISHED.RELATED -j ACCEPT iptables -A INPUT -j REJECT iptables -nL查看全部
-
iptables信息記錄LOG查看全部
-
netfilter查看全部
-
netfilter查看全部
-
netfilter查看全部
-
iptalbes -A INPUT -j REJECT 屏蔽其他規(guī)則查看全部
-
netstat -luntp 查看端口情況 iptables -v iptables -Ln (列出iptables 規(guī)則) (白名單原規(guī)則設(shè)置) iptables -F 清空原iptables 規(guī)則 iptables -I INPUT -p tcp --dport 80 -j ACCEPT iptables -I INPUT -p tcp --dport 22 -j ACCEPT iptables -I INPUT -p tcp --dport 22 -j ACCEPT iptables -I INPUT -p icmp -j ACCEPT查看全部
-
規(guī)則詳細(xì)查看全部
-
iptables 規(guī)則組成查看全部
-
limit模塊 作用:限制流量查看全部
-
connlimit模塊,限制客戶(hù)端IP并發(fā)。查看全部
-
DNAT轉(zhuǎn)發(fā)端口查看全部
-
SNAT 原地址 to 目標(biāo)地址轉(zhuǎn)換。查看全部
-
修改的內(nèi)核參數(shù)詳細(xì),0改為1. net.ipv4.ip_forward = 1(0關(guān)閉;1開(kāi)啟) 臨時(shí)生效:echo 1 >/proc/sys/net/ipv4/ip_forward查看全部
舉報(bào)
0/150
提交
取消