02-11-2017 12:21 PM - edited 03-05-2019 08:00 AM
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.
02-11-2017 12:35 PM
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.
02-11-2017 01:42 PM
I already did , but still does not work .
02-11-2017 02:50 PM
Hi
is possible to see your config? and if you have a diagram?
02-11-2017 03:08 PM
!
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
02-11-2017 05:09 PM
Hi
Try to configure something like this static NAT:
ip nat inside source static tcp <private IP> 22 <Public IP> 22
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide