I have a Cisco 2911 running c2900-universalk9-mz.SPA.152-4.M5.bin. I am trying to figure out a way to port forward various ports on a single public address, to multiple internal destination ips/subnets. For instance port 21 will foward to the FTP server but ports 80, 5000, & 10000-20000 to the web server. So far the only method that seems to work is line by line, IE:
ip nat inside source static udp 10.58.1.15 10000 interface GigabitEthernet0/0 10000
ip nat inside source static udp 10.58.1.15 10001 interface GigabitEthernet0/0 10001
ip nat inside source static udp 10.58.1.15 80 interface GigabitEthernet0/0 80
ip nat inside source static tcp 10.26.7.10 21 interface GigabitEthernet0/0 21
And so on. Is there any easier way then generating 10k lines of config to perform a simple task? If something like a standard home router and do this I feel there is an easier way unless I am missing something.
Thanks in advance!
-Chris