cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1316
Views
0
Helpful
5
Replies

Port forwarding [Solved]

p.maillot
Level 1
Level 1

Hello All,

I have the following problem.

I need to forward a specific range for udp port (32000 to 32999) to a local ip adress.

I actually to do that, I use this command

ip nat inside source static udp 192.168.40.1 32000 interface Ethernet0 32000
ip nat inside source static udp 192.168.40.1 32001 interface Ethernet0 32001
ip nat inside source static udp 192.168.40.1 32002 interface Ethernet0 32002

.

.

.

.

.

.

it's not possible to forward a range for port?

I used a nat configuration for internet access.

ip nat pool POOL-NAT x.x.x.x x.x.x.x netmask 255.255.255.0
ip nat inside source list 100 interface Ethernet0 overload

Regards

1 Accepted Solution

Accepted Solutions

Hi,

Have this config in your NAT process

ip nat inside destination list xxx pool inside

access-list xxx permit udp any any range xxxxx xxxxx

Best Regards,

Christopher

View solution in original post

5 Replies 5

vragotha
Level 3
Level 3

Hi,

   This feature is not currently supported. The only way to do it currently is to manually add static nat entries for each port. CSCsk86712 is an enhancement bug filed for this

Hi,

Have this config in your NAT process

ip nat inside destination list xxx pool inside

access-list xxx permit udp any any range xxxxx xxxxx

Best Regards,

Christopher

All works perfectly now.

Thank you Christopher for your assistance........

Hello, please could you check in what IOS version this enhacement was included already ?

tahnks

Version 12.3(26)

Review Cisco Networking products for a $25 gift card