Solved

cisco 857 port forwarding

Posted on 2014-01-21
2
581 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
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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…
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
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…

762 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

24 Experts available now in Live!

Get 1:1 Help Now