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
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.
La mejor manera que veo en otros foros es bloquear cualquier IP que no esté marcada como “IP residencial”, y creo que lo hacen a través del panel de control de Cloudflare. Poseo un RDP de Hetzner y veo que los foros bloquean la IP del servidor para visitar sus publicaciones y obtienen la página de bloqueo de Cloudflare. Cuando verifiqué la IP en ipinfo.io, vi que ya estaba marcada como IP de alojamiento.
No hay una solución lista. Sin embargo, es posible detectar VPN. Necesitas integrar el inicio de sesión con una API de terceros como IP2Location.io. Informa si la VPN, el proxy residencial o incluso si la dirección IP se origina en un centro de datos.