cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
485
Views
0
Helpful
5
Replies

Accessing My Cisco lab from outside (from the internet)

Hi ,

Does anyone have an idea about , how can I access my Cisco router from the internet . I can telnet from inside but I can't from outside.

I can ping the router from outside but I can't access it using telnet.

5 Replies 5

Julio E. Moisa
VIP Alumni
VIP Alumni

If you are using a public IP you could create a static NAT to translate the private IP to the Public IP and using specific ports like ssh or telnet. 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

I already did , but still does not work .

Hi

is possible to see your config? and if you have a diagram?




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

!
ip dhcp pool testpool
network 10.0.0.0 255.255.255.0
default-router 10.0.0.1
dns-server 4.2.2.2
!
!
ip domain name test
!
!
!
!
!
!
interface FastEthernet0/0
description INTERFACE CONNECTED TO INTERNET
ip address dhcp
ip nat outside
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 10.0.0.1 255.255.255.0
ip nat inside
duplex auto
speed auto
!
ip forward-protocol nd
!
!
ip http server
no ip http secure-server
ip nat inside source list 100 interface FastEthernet0/0 overload
!
access-list 100 permit ip any any
!
!
!
control-plane
!
!
!
line con 0
line aux 0
line vty 0 4
password test
login
rotary 33
transport input ssh
line vty 5 10
password test
login
rotary 33
transport input ssh
line vty 11 100
login
!
scheduler allocate 20000 1000
end

Hi

Try to configure something like this static NAT:

ip nat inside source static tcp <private IP> 22 <Public IP> 22




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<