There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

[Question] IP Block By Region

I know cloudlfare and other cloud providers often provide geoblocking features if you host with them.

Does anybody know of any similar foss packages for us self-hosters?

I know I don’t have any need for somebody outside of my country to access my server, so geoblocking IPs would be a great security feature.

terribleplan , (edited )
@terribleplan@lemmy.nrd.li avatar

It depends on what specific thing you want to add geoblocking to, but often something like the MaxMind GeoIP database, which then can feed into a firewall to pre-emptively geo-block at a connection level, or as part of e.g. nginx geolocating the IP a of the connecting IP then making the blocking decision at request time.

There's a forward-auth that uses Traefik's forward-auth to do this, which is probably how I would go about it if I wanted it at an HTTP level.

chandz05 ,

Yep SWAG reverse proxy (which uses ngjnx) can use Maxmind for geoblocking pretty easily

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • [email protected]
  • lifeLocal
  • goranko
  • All magazines