Solved

cisco 857 port forwarding

Posted on 2014-01-21
2
589 Views
Last Modified: 2014-01-27
I need to forward anything coming in on my cisco router from ip address 192.168.1.1 port 51581 to 51590 to the ip address 192.168.1.2 with the same ports

I cant get onto the SDM so have to to it via telnet  what would I had to do? I had set it up previously a year ago and I haven't touched it since but the router rebooted and the config hasn't been saved and need it back asap.
0
Comment
Question by:CaptainGiblets
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Assisted Solution

by:vnicolae
vnicolae earned 250 total points
ID: 39797529
Not sure what you mean.... both your addresses are on the same subnet (most likely on the inside interface)

If you want to create a forwarding between the outside interface and a private address,
create a static map like this. I asume x.x.x.x is your public address and 192.168.1.2 is your private one.

first, create the acls on the outside interface:

access-list acl_outside permit tcp any host x.x.x.x eq 51581
access-list acl_outside permit tcp any host x.x.x.x eq 51582
access-list acl_outside permit tcp any host x.x.x.x eq 51583
..... do the same until port 51590

static (inside,outside) tcp x.x.x.x 51581 192.168.1.2 5181 netmask 255.255.255.255 0 0
static (inside,outside) tcp x.x.x.x 51582 192.168.1.2 5182 netmask 255.255.255.255 0 0
.... and so on....

let me know if this answers your question.
0
 
LVL 9

Accepted Solution

by:
BigPapaGotti earned 250 total points
ID: 39797534
How is the modem setup? What is your external interface?

Let's assume you have a Dialer0 setup as your external (ISP Facing interface) The command would be

"ip nat inside source static tcp 192.168.1.2 51581 interface Dialer0 51581"
"ip nat inside source static tcp 192.168.1.2 51582 interface Dialer0 51582"
"ip nat inside source static tcp 192.168.1.2 51583 interface Dialer0 51583"
"ip nat inside source static tcp 192.168.1.2 51584 interface Dialer0 51584"
"ip nat inside source static tcp 192.168.1.2 51585 interface Dialer0 51585"
"ip nat inside source static tcp 192.168.1.2 51586 interface Dialer0 51586"
"ip nat inside source static tcp 192.168.1.2 51587 interface Dialer0 51587"
"ip nat inside source static tcp 192.168.1.2 51588 interface Dialer0 51588"
"ip nat inside source static tcp 192.168.1.2 51589 interface Dialer0 51589"
"ip nat inside source static tcp 192.168.1.2 51590 interface Dialer0 51590"

Then you need to update your outside ACL so that the traffic is permitted. This is accomplished via the command below assuming your outside ACL is named OutsideIN:

R(config)#ip access-list extended OutsideIn
R(config-ext-nacl)# permit tcp any host 192.168.1.2 range 51581 51590

Hope this helps
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Network traffic routing plays key role in your network, if you have single site with heavy browsing or multiple sites, replicating important application data from your Primary Default Gateway ,you have to route your other network traffic from your p…
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
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…

737 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