cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1559
Views
4
Helpful
4
Replies

NAT configuration on Cisco 877-K9

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,

2 Accepted Solutions

Accepted Solutions

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.

View solution in original post

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.

View solution in original post

4 Replies 4

Varun Uniyal
Level 1
Level 1

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.

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.

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

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.