Discussion in 'Systems Administration' started by hackeris, Aug 10, 2019.

  1. Easest way to block a country with iptables in linux?
  2. go here: https://www.ip2location.com/free/visitor-blocker and scroll to the bottom

    choose the country you want to block, then under Output Format choose Linux iptables. it'll download a list of iptables commands you can run to block that country's IP blocks.