Opening Ports on CISCO 877w

Posted on 2009-02-10
Last Modified: 2012-05-06
Hi guys,

I have recently brought a CISCO 877w. I need to open a port on this router so I can access it externally.

Does anyone know how to do it, not using the GUI.

Cheers and much appreciated.
Question by:deepslalli
    LVL 5

    Expert Comment

    Do you mean to access it through telnet?

    line vty 0 4
    secret cisco
    LVL 4

    Expert Comment

    You need to create a static nat translation.  

    Here are the parameters I used in the example:
    Inside LAN IP:
    Port:  tcp 3389 (terminal services)
    Int fa0/0:  outside interface.  use whatever interface connects to the internet on your router, it may be a vlan or bvi depending on your configuration.

    ip nat inside source static tcp 3389 int fa0/0 3389

    Author Comment

    Sorry guys, maybe I wasn't being clear.

    I need the commands on how to run this as well.

    I need to access my router from the outside. For example, I need to put in my static IP adress and use a port to access my router from home eg. 2xx.x9.xx3.xx4:4430

    I know I can't use Interent Explorer as the CISCO router has no GUI, so I would have to telnet in.

    Does that make more sense?
    LVL 4

    Accepted Solution

    If you want to access it over the public internet, SSH will be the preferred way as telnet is all transmitted in clear text.

    Here are the config commands for your router.

    configure terminal
    username USER password PASSWORD
    domain name  <anything will work here, just need a domain name
    crypto key generate rsa
        1024 <It will prompt for a modulus size, choose the default or 1024.
    line vty 0 4    <enter the vty line configuration mode
    transport input ssh
    login local
    write memory

    You will now be able to SSH to your router via the public or private ip address (once the vty lines are configured, this is the default) with the username and password you configured.

    SSH uses port 22 by default.  You can use any SSH client, or if you don't have one, Putty is free:


    Author Closing Comment

    Thank you for your help - the solutiuon that you provided did the trick. Thank you again

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    So, you're experiencing issues on your network and you've decided that you need to perform some tests to determine whether your cabling is good.  You're likely thinking that you may need to spend money which you probably don't have on hiring/purchas…
    Is your computer hacked? learn how to detect and delete malware in your PC
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    761 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

    15 Experts available now in Live!

    Get 1:1 Help Now