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

Port Forwarding Cisco 1841 internal resources available globally through non-standard ports

Jack AllTrades
Level 1
Level 1

I have a public facing static IP address (e.g. 12.12.12.12).  When it receives traffic on nonstandard ports I would like that traffic to be forwarded to inside local interfaces.

 

A few examples are if traffic comes to:

12.12.12.12:5000 to forward to 10.10.5.2:5000
12.12.12.12:5001 to forward to 10.10.5.3:5001
12.12.12.12:5010 to forward to 10.10.5.2:5010

12.12.12.12:6000 to forward to 10.10.6.2:6000
12.12.12.12:6050 to forward to 10.10.6.4:6050

12.12.12.12:7000 to forward to 10.10.7.2:7000

etc. etc.

 

Can this be done without a pool of public facing IP addresses?  Even if using a pool (e.g. 12.12.12.13, 12.12.12.16, and 12.12.12.18), it would still need to be a one to many, or many to many mapping because there are five internal servers to reach with the above traffic examples.

 

Am I on the right track?

 

Thanks

 

 

1 Reply 1

Jack AllTrades
Level 1
Level 1

It was doable!  Thanks to the help from the King of Cisco who I know through other channels.

 

The solution was this:

 

ip nat inside source static tcp 10.10.5.2 5000 12.12.12.12 5000
ip nat inside source static tcp 10.10.5.3 5001 12.12.12.12 5001
ip nat inside source static tcp 10.10.5.2 5010 12.12.12.12 5010


ip nat inside source static tcp 10.10.6.2 6000 12.12.12.12 6000
ip nat inside source static tcp 10.10.6.4 6050 12.12.12.12 6050


ip nat inside source static tcp 10.10.7.2 7000 12.12.12.12 7000

etc. etc.

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card