Meraki 阻止了一些谷歌(这是不受欢迎的)

网络工程 梅拉基
2021-07-30 10:59:54

我管理一个小型网络,并使用 Meraki 设备来运行它。我们这些将 www.google.com 解析为 172.217.5.238 的人可以访问 Google、Gmail 等。但是,我们这些将 www.google.com 解析为 172.217.5.228 的人无法访问 Google、Gmail 等. 他们的访问被 Meraki 阻止。我不希望 Meraki 阻止 Google。

$ curl -v www.google.com
* Rebuilt URL to: www.google.com/
*   Trying 172.217.5.228...
* Connected to www.google.com (172.217.5.228) port 80 (#0)
> GET / HTTP/1.1
> Host: www.google.com
> User-Agent: curl/7.43.0
> Accept: */*
>
< HTTP/1.1 302 Found
< Location: http://wired.meraki.com:8090/blocked.cgi?blocked_server=172.217.5.228:80&blocked_url=http%3A%2F%2Fwww.google.com%2F&blocked_categories=bc_057
< Content-Type: text/html
< Content-Length: 216
< Cache-Control: no-cache
< Content-Type: text/html
< Pragma: no-cache
< Expires: 0
< Continue: close
<
<html><body>You are being <a href='http://wired.meraki.com:8090/blocked.cgi?blocked_server=172.217.5.228:80&amp;blocked_url=http%3A%2F%2Fwww.google.com%2F&amp;blocked_categories=bc_057'>redirected</a>.</body></html>
* Connection #0 to host www.google.com left intact

我提醒你,我不是网络工程师,我也不在电视上玩。

2个回答

根据您上面的输出,此特定站点与已阻止的类别匹配bc_057,因此触发了它。

Security Appliance > Configure > Content Filtering什么配置下?检查Web search filtering,Blocked URL patternsBlocked Website Categories

如果在 下没有任何明显的东西Content Filtering,这可能是通过组策略应用的(这可以解释为什么它对某些用户而不是其他用户有问题)。

在 Meraki 中,组策略配置会覆盖默认配置。

检查Group Policies并确认此处未应用被阻止的网站类别、URL 模式或 Web 搜索过滤。

这两个 IP 地址都解析为 iad30s07-in-f14.1e100.net(使用 nslookup)。另外,为什么有些机器会解析为一个而其他机器会解析为另一个(除非您有多个位置,也许)?无论哪种方式,他们都在击中同一个盒子。

Curl 会误导性地连接到 RESTful API(网站),而您的浏览器可能无法使用完全相同的方法(GET、POST 等)连接到同一个网站。浏览器具有 curl 没有的 CORS 限制。

因此,我想说您遇到的问题可能是浏览器/端点问题,而不是网络问题。

确定问题。一旦你这样做了,你就可以取得一些进展。祝你好运。