Port Forwarding - Cisco

Posted on 2012-04-10
Last Modified: 2012-04-28
Hello Experts

Well, last week I got help here to gain access to a customer's Cisco 851w router.  That question has been answered and I've got it configured for internet access using pppoe.

Now I need to configure port forwarding for printing.

As near as I can tell I just need the CLI commands to set up port forwarding to the ports they've assigned.  

Any help will be greatly appreciated.


Question by:thedslguy
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
LVL 17

Expert Comment

ID: 37827825
Port forwarding is achieved through a static NAT translation using the optional extendable keyword. The following is the syntax for the IOS command that will automatically redirect all traffic to a host computer.

ip nat inside source static tcp [internal address of computer] port [public address assigned by ISP] port extendable
LVL 17

Expert Comment

ID: 37827832

Expert Comment

by:Ashok Dewan
ID: 37827864
this commands

ip nat inside source static { tcp | udp } <localaddr> <localport> <globaladdr> <globalport>
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 34

Expert Comment

by:Istvan Kalmar
ID: 37827955
please show the config if you need more assistance

Accepted Solution

thedslguy earned 0 total points
ID: 37827973
Anuroopsundd, neil40m

I input that command and get an error.  It doesn't like the work "source"

The full command I'm giving is:

Router#(config-if)ip nat inside source static tcp 9100-9102 < public static IP address >

Author Closing Comment

ID: 37905306
I'm not sure why folks stopped posting for this, but the customer and I decided together to simply replace the router with something he could work with without having to call a professional every time he needed to make any changes.<br /><br />So I've opted to withdraw the question.<br /><br />Thanks anyway,everyone.<br /><br />thedslguy

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

New Server  was moved from behind Router R2 f0/1 to behind router R1 int f/01 and has now address But we want users still to be able to connected to it by old IP. How to do it ? We can used destination NAT (DNAT).  In DNAT…
How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
After creating this article (, 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 (, 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…

751 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