Solved

Cisco 5505 NAT Question

Posted on 2013-01-22
3
532 Views
Last Modified: 2013-01-22
This should be an easy one for the experts out there...  I'm a beginner on Cisco devices and looking for the right commands to run to accomplish what I need to do.  

I have port forwarding set up and it was working but now one of the internal devices has changed IP addresses and I need to change the route to reflect the change...

I had:
static (inside,outside) tcp interface 8080 192.168.10.245 www netmask 255.255.255.255

And now the internal IP is not .245,  but .246 and I need to get it changed.

I also need to set up additional ports forwarding to additional internal IPs so if you could help me with the access lists, that would be great.  Currently, they look like this:

access-list outside_in extended permit tcp any host <outside address> eq 8080

Thank you!
Don
0
Comment
Question by:dcotriss
3 Comments
 
LVL 24

Accepted Solution

by:
Ken Boone earned 500 total points
ID: 38807114
config t
no static (inside,outside) tcp interface 8080 192.168.10.245 www netmask 255.255.255.255
static (inside,outside) tcp interface 8080 192.168.10.246 www netmask 255.255.255.255
Also issue the following command to clear the translation table:
clear xlate

To add addition entries do this

static (inside,outside) tcp interface xxx 192.168.10.yyy zzz netmask 255.255.255.255

xxx = dest port that something external will use to hit
yyy = last octet of internal host that will receive the request
zzz = dest port that the internal host will respond to

note xxx can be the same as yyy

For the ACL do this:

access-list outside_in extended permit tcp any host <outside address> eq 8080

just add a line for the new entry and change 8080 to whatever was xxx in the above example.
0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 38807159
Remember that for the additional ports you don't only need an ACL entry but a static as wel:

static (inside,outside) tcp interface/outside_addres outside_port inside.address inside_port netmask 255.255.255.255

access-list outside_in extended permit tcp any host outside_address eq outside_port
0
 

Author Comment

by:dcotriss
ID: 38807466
Thank you guys...
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

If you have an ASA5510 then this sort of thing would be better handled with a CSC Module, however on an ASA5505 thats not an option, and if you want to throw in a quick solution to stop your staff going to facebook during work time, then this is the…
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now