08-25-2014 11:04 AM - edited 03-04-2019 11:36 PM
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?
08-25-2014 11:11 AM
08-25-2014 04:44 PM
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
08-25-2014 11:18 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide