Announcement

Collapse
No announcement yet.

Forward a range of ports to a single private IP - A new question.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Forward a range of ports to a single private IP - A new question.

    Hi david

    I tried the following :

    access-list 101 permit tcp host any range 2000 2100 any
    route-map NAT permit 10
    match ip add 101
    ip nat inside source static x.x.x.x y.y.y.y route-map NAT

    and it works,

    But what if you had 2 private IP's sitting behind the router and you would like to forward a certain port range (say 2000 to 2100) to one IP address and another port range (say 10000 to 20000) to another IP. I tried it and it didn't work


    You could manually add numerous entries, like
    ip nat inside source static udp 10.0.0.5 2000 y.y.y.y 2000 extendable
    ....
    and
    ip nat inside source static udp 10.0.0.6 10000 y.y.y.y 10000 extendable
    ....
    but that would be cumbersome.

    Is there a more effecient way?

    Yusuf
Working...
X