you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 6 days ago (6 children)

So do it. Get a list of the IP ranges assigned to Canada and whitelist them, block connections to all other IPs.

  • source
  • parent
  • hideshow 6 child comments
  • [+] 3 points 6 days ago (5 children)
  • [–] 2 points 6 days ago (4 children)

    No, it's really not. You can get lists of which IP ranges are assigned to which country (helps with blocking bots). Haveing a whitelist of only Canadian IPs is pretty trivial.

  • source
  • parent
  • hideshow 4 child comments
  • [+] 2 points 5 days ago (3 children)
  • [–] 2 points 5 days ago (2 children)

    https://ipinfo.io/countries/ca

    Grab the CSV and use it as a whitelist for your firewall. If you're on lemmy it's well within your wheelhouse. Even if it's not, grany could ask chatgpt to slop it together for you.

  • source
  • parent
  • hideshow 2 child comments