我的 ufw 中有以下规则。我想允许从某些 IP 访问端口 9200(elasticsearch)。我显然添加了一些规则,但如果启用了 ufw,我无法使用添加的 IP 从外部访问 es。配置中是否存在错误?
To Action From
-- ------ ----
22 ALLOW IN Anywhere
80 ALLOW IN Anywhere
443/tcp ALLOW IN Anywhere
9020 DENY IN Anywhere
9200 DENY IN Anywhere
5606 DENY IN Anywhere
8015 ALLOW IN Anywhere
9300 ALLOW IN 94.130.132.23
9200 ALLOW IN 94.130.132.23
9200/tcp ALLOW IN 94.130.132.23
22 (v6) ALLOW IN Anywhere (v6)
80 (v6) ALLOW IN Anywhere (v6)
443/tcp (v6) ALLOW IN Anywhere (v6)
9020 (v6) DENY IN Anywhere (v6)
9200 (v6) DENY IN Anywhere (v6)
5606 (v6) DENY IN Anywhere (v6)
8015 (v6) ALLOW IN Anywhere (v6)