How to Blacklist an Entire AS with Shorewall

AS stands for Autonomous System and is a collection of connected Internet Protocol (IP) routing prefixes under the control of one or more network operators (or Internet Service Providers, ISP). In this article, I offer an example of preventing any connection attempts from the whole set of IPv4 IP addresses assigned to the French ISP OVH using Shorewall.