[英]How to find all ip addresses blocked by iptables -A
Without meaning to do so, I probqbly block Ip Address of Googlebot using iptables -A INPUT -s xxx -j DROP
. 毫无意义,我可能会使用
iptables -A INPUT -s xxx -j DROP
阻止Googlebot的IP地址。 That's maybe the reason why my web site is not referenced by Google. 这也许就是Google未引用我的网站的原因。 Question: As I don't know which Ip is google's, So How to find the log of iptables and accept all Ip blocked using
iptables -D INPUT -s xxx -j DROP
? 问题:由于我不知道哪个Ip是Google的,所以如何查找iptables的日志并接受使用
iptables -D INPUT -s xxx -j DROP
阻止的所有Ip?
try the following command in Linux 在Linux中尝试以下命令
iptables -L INPUT -v -n
You can search for specific IP by using GREP 您可以使用GREP搜索特定的IP
iptables -L INPUT -v -n | grep "192.168.2.1"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.