NATing a range of IPs
Is it possible to NAT a range of IPs? Like for example:
iptables -t nat -A PREROUTING -p tcp -s <range of IPs> --dport 80 -j
REDIRECT --to-port 13001
As you can see what I would like to do is redirect port 80 from the
range of IPs (in this case 18.104.22.168 - 22.214.171.124) to port 13001.
It works great is I try one IP, or the whole block, I'm just unsure of
how you represent a range? I see references to a IP range in the man
pages, but no examples.