NAT: can I forward (translate) multiple RANGEs of ports?

Unanswered Question
Aug 2nd, 2007

I want to forward different ranges of ports to different IPs...can it be done easily? I know I can forward individual ports with the "ip nat inside source static" statement, but I need to forward a bunch of ranges and I don't want to put in SEVERAL HUNDRED (!) single-port translation statements!

If I cannot forward ranges, can I set up multiple ranges in several access-lists and then use a "route-map xxx permit" statement to get the ranges specified in the access-list to go to different servers?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
ssoberlik Wed, 08/08/2007 - 17:59

I think in Cisco Broadband Operating System (CBOS) versions 2.4(1) and later, you can use port ranges. The ports do not have to be the same, but the range of ports must be consistent. set nat entry add {inside address} {port range} {outside NAT address} {port range} {protocol}.Ex set nat entry add 10-20 30-40 tcp


This Discussion