Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 311
  • Last Modified:

Opening Ports on CISCO 877w

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.
0
deepslalli
Asked:
deepslalli
  • 2
  • 2
1 Solution
 
ionut_mirCommented:
Do you mean to access it through telnet?

line vty 0 4
secret cisco
login
0
 
klinko2kCommented:
You need to create a static nat translation.  

Here are the parameters I used in the example:
Inside LAN IP:  192.168.1.50
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 192.168.1.50 3389 int fa0/0 3389
0
 
deepslalliAuthor Commented:
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?
0
 
klinko2kCommented:
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.

enable
configure terminal
username USER password PASSWORD
domain name cisco.com  <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
exit
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:  http://www.chiark.greenend.org.uk/~sgtatham/putty/



0
 
deepslalliAuthor Commented:
Thank you for your help - the solutiuon that you provided did the trick. Thank you again
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now