02-07-2011 07:39 PM - edited 03-04-2019 11:20 AM
Hi,
I want just want to know on how to add NAT inside and outside ip address.
For instance:
Original Address = 119.xx.xxx.257 (8138)
Translated Address = 119.xx.xx.28 (8138)
On the example above, I can access my web application by typing www.wesbite.com:8138
The settings above was configured by the previous administrator and unfortunately I dont know how to configure same thing as he did.
Now, I made new web application and set it to port 8139, so I should be able to access it by typing the www.wesbite.com:8139
In order to make it accessable on the internet, I should make configuration first on the router via NAT, and I dont know how.
Also, I tried to edit NAT configuration via Cisco SDM (Secutiry Device Manager)
Cisco SDM>Configure>NAT>Edit NAT Configuration
I clicked Add button but nothing happens, even clicking Edit and Delete button
Anyone can help?
Thank you,
Solved! Go to Solution.
02-08-2011 01:31 AM
Hi,
If you want access your web application www.wesbite.com that can be access via port 80
But not sure you should need to access via port 8138
For the above two ports you can configure NAT statements like below...
Log into your router..
Go to enable mode
router>en
Now to go global configuration mode
router#conf t
Here configure the NAT statements...
router(config)# ip nat inside source static tcp 119.xx.xxx.257 80 119.xx.xx.28 80
OR
router(config)# ip nat inside source static tcp 119.xx.xxx.257 8138 119.xx.xx.28 8138
Please rate the helpfull posts.
Regards,
Naidu.
02-08-2011 10:52 PM
Hi,
Yes, you can delete and edit the NAT config in you router
TO Delete give the command like below
router(config)# no ip nat inside source static tcp 119.xx.xxx.257 8138 119.xx.xx.28 8138
TO Edit give the command like below
Say for example you want the website access view https (443), so you want edit the existing NAT config.
Copy the entire config into notepad and put 443 instead 8138 like below....
router(config)# ip nat inside source static tcp 119.xx.xxx.257 443 119.xx.xx.28 443
Hope this clear you...
Please rate the helpfull posts.
Regards,
Naidu.
02-08-2011 12:27 AM
use :
router>en
router#conf t
router(config)# ip nat inside source static tcp 119.xx.xxx.257 8139 119.xx.xx.28 8139
I am assuming the port 8139 is tcp. If it's udp you can make that change in the config.
02-08-2011 01:31 AM
Hi,
If you want access your web application www.wesbite.com that can be access via port 80
But not sure you should need to access via port 8138
For the above two ports you can configure NAT statements like below...
Log into your router..
Go to enable mode
router>en
Now to go global configuration mode
router#conf t
Here configure the NAT statements...
router(config)# ip nat inside source static tcp 119.xx.xxx.257 80 119.xx.xx.28 80
OR
router(config)# ip nat inside source static tcp 119.xx.xxx.257 8138 119.xx.xx.28 8138
Please rate the helpfull posts.
Regards,
Naidu.
02-08-2011 09:11 PM
thanks for your response.. i can now access the site via www.website.com:8139
one more thing.. how can I Delete it? or Edit it
02-08-2011 10:52 PM
Hi,
Yes, you can delete and edit the NAT config in you router
TO Delete give the command like below
router(config)# no ip nat inside source static tcp 119.xx.xxx.257 8138 119.xx.xx.28 8138
TO Edit give the command like below
Say for example you want the website access view https (443), so you want edit the existing NAT config.
Copy the entire config into notepad and put 443 instead 8138 like below....
router(config)# ip nat inside source static tcp 119.xx.xxx.257 443 119.xx.xx.28 443
Hope this clear you...
Please rate the helpfull posts.
Regards,
Naidu.
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