cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
691
Views
0
Helpful
5
Replies
Highlighted
Beginner

Port forwarding [Solved]

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
Highlighted

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
Highlighted
Participant

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

Highlighted

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

Highlighted

All works perfectly now.

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

Highlighted

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

tahnks

Highlighted

Version 12.3(26)