cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
366
Views
0
Helpful
1
Replies

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

thomasdzubin
Level 1
Level 1

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?

1 Reply 1

ssoberlik
Level 4
Level 4

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.0.0.2 10-20 200.1.1.1 30-40 tcp

Review Cisco Networking for a $25 gift card