Is there a way to detect VPNs and block them from creating accounts because if there’s a way to do that that’d be nice as it would stop people from using them to circumvent ip bans
1 个赞
There’s no really easy way, specially with the commercial VPNs who have evolved to circumvent the solutions put in place by Netflix, Hulu, etc.
So, if multibillion companies have not managed to effectevily block commercials VPNs, Discourse will not be able.
5 个赞
我在其他论坛上看到的最佳方法是阻止任何未被标记为“住宅 IP”的 IP 地址,我认为他们是通过 Cloudflare 控制面板来完成的。我拥有一台来自 Hetzner 的 RDP,并看到论坛阻止了服务器 IP 访问他们的帖子,并显示 Cloudflare 阻止页面。当我通过 ipinfo.io 检查 IP 时,我看到它已被标记为主机 IP。
没有现成的解决方案。但是,可以检测到 VPN。您需要将登录与第三方 API(例如 IP2Location.io)集成。它会报告 VPN、住宅代理,甚至 IP 地址是否源自数据中心。