?
Solved

cisco 857 port forwarding

Posted on 2014-01-21
2
Medium Priority
?
597 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 1000 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 1000 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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

We've been using the Cisco/Linksys RV042 for years as: - an internet Gateway - a site-to-site VPN device - a leased line site-to-site subnet-to-subnet interface (And, here I'm assuming that any RV0xx behaves the same way as an RV042.  So that's …
The Cisco RV042 router is a popular small network interfacing device that is often used as an internet gateway. Network administrators need to get at the management interface to make settings, change passwords, etc. This access is generally done usi…
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…
Suggested Courses

770 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