cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3517
Views
0
Helpful
3
Replies

NAT Translating Destination IP and Port

krugar100
Level 1
Level 1

Hi,

I am struggling with NAT translation on a Cisco router. I want to translate all HTTP traffic that exits my network to change the destination IP to 117.166.1.1  and translate the destination port from tcp 80 to tcp 3128.

i.e. If a PC with an IP 192.168.1.10 enters 200.1.1.1 into the webbrowser, instead of the traffic going to 200.1.1.1 on port 80, it will be directed to 117.166.1.1 on port 3128

This is because I am using a cloud url filter and want all HTTP traffic to go to that proxy.

I believe this can be done with an outside NAT but I am unable to get this work. Anyone know how to do this?

Thanks

K

3 Replies 3

Raju Sekharan
Cisco Employee
Cisco Employee

Hi

You didn't paste your config

your translation config should be like below

ip nat outside source static tcp 117.166.1.1 3128  200.1.1.1 80 add-route

Thank you

Raju

Hi Raju, I used 200.1.1.1 as one example but i am want to translate all traffic that has destination port 80.
Any idea how to do this?

Thanks
Sent from Cisco Technical Support iPhone App

krugar100
Level 1
Level 1

Hi can anyone offer any other suggestions? Cheers

Sent from Cisco Technical Support iPhone App

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