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

Port forward to external Ip Address

stratemeyerjw
Level 1
Level 1

Hello Everyone, 

I am facing an issue and I am hoping someone can walk me through this. First off, i am a complete newbie when it comes to cisco ios. I have cisco cp professional installed and configured to my Cisco 881W router. I have an ftp server (192.168.1.133), web server (same ip) and db server (192.168.1.134). Our old public ip is 69.146.28.102. Our company recently decided to move to the cloud. Since it takes time for the domain to be forwarded to our new servers, I have to redirect all requests to our old server to our new servers. I have to make it seamless since we have mobile applications in the field that connect to our old servers. Our new servers are located at 212.54.150.193. I don't quite understand, but our cloud server has the same ip internally as our public static ip. (checked via ipconfig /all)

So what i need to do:
change nat to point to 212.54.150.193 port 21 instead of 192.168.1.133 port 21.

If i just had that working, I could use netsh for the rest until our domain forward is updated. Any ideas?
 


 

3 Replies 3

stratemeyerjw
Level 1
Level 1

I have attached our startup-config that we had configured by our cisco solutions vender. 

Hello

so your public ip addres hasnt changed only the public ip for this server - 69.146.28.102 coreect?

if so

no ip nat inside source static tcp 192.168.1.133 21 69.146.28.102 21 extendable
ip nat inside source static tcp 192.168.1.133 21 212.54.150.193 21 extendable

 

and probarly these too:
 

no ip nat inside source static tcp 192.168.1.133 80 69.146.28.102 80 extendable
no ip nat inside source static tcp 192.168.1.134 1433 69.146.28.102 1433 extendable
no ip nat inside source static tcp 192.168.1.133 3389 69.146.28.102 3380 extendable
no ip nat inside source static tcp 192.168.1.133 5222 69.146.28.102 5222 extendable
no ip nat inside source static tcp 192.168.1.133 5223 69.146.28.102 5223 extendable
no ip nat inside source static tcp 192.168.1.133 7777 69.146.28.102 7777 extendable


iip nat inside source static tcp 192.168.1.133 80 212.54.150.193 80 extendable
ip nat inside source static tcp 192.168.1.134 1433 212.54.150.193 1433 extendable
ip nat inside source static tcp 192.168.1.133 3389 212.54.150.193 3380 extendable
ip nat inside source static tcp 192.168.1.133 5222 212.54.150.193 5222 extendable
ip nat inside source static tcp 192.168.1.133 5223 212.54.150.193 5223 extendable
ip nat inside source static tcp 192.168.1.133 7777 212.54.150.193 7777 extendable

 

res

Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

stratemeyerjw
Level 1
Level 1

Here is an image of the network. The user is not on a vpn. they are connecting via web services and regular tcp connection to our db server. 

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