Here is the problem,
I have a server behind a cisco 7206 router. I'm using Cisco Nat static command to map outside ports to an internal server. This particular server must expose a range of ports to the internet, let's say ports 1024 thru 2048.
I know that I can use the following command to do this on port at a time:
ip nat inside source static tcp "inside_ip" 1024 "outside_ip" 1024 extendable
ip nat inside source static tcp "inside_ip" 1025 "outside_ip" 1025 extendable
This works fine and I understand how nat works, but what a pain to enter in 1000 CLI entries. Is there anyway to use a range of ports?