好吧,今天又被领导批评了….不过还好,我每次被批评了顶多会看会书,正好昨天OSC测试的事情,觉得自己再看看iptables的好,都忘没了…
禁止某个IP
iptables -A INPUT -p tcp -s 192.168.1.50 –dport 80 -j DROP
顺道请教下@红薯 ,昨天你DROP掉那些测试IP是用的什么啊?
好吧,iptables太高深了,我再看会再写
时间:2012-11-08 21:24:16
Latest posts by Zhiming Zhang (see all)
- aws eks node 自动化扩展工具 Karpenter - 8月 10, 2022
- ReplicationController and ReplicaSet in Kubernetes - 12月 20, 2021
- public key fingerprint - 5月 27, 2021