08-18-2011 11:43 PM - edited 03-04-2019 01:19 PM
I have a router which uses command line interface at home. I want to access thi from any where ouside. I have a normal internet over cable connection. What setups have to be made on the router to make it remotely accessable (especially when there is no gui in the router). Can someone answer plz
08-19-2011 12:26 AM
Hi,
I think the easiest way would be to connect to it via ssh and as you have a dynamic IP you would have to use dynDNS to be able to connect to it by name instead of IP.
1) for SSH
- crypto key generate rsa general-keys label mySSHKeys modulus 1024
-ip ssh version 2
- line vty 0 4
login authentication VTY
transport input ssh
2)for the authentication
- enable secret XXXXX
-username user secret xxxxx
- aaa new-model
-aaa authentication login VTY local-case none
-aaa authentication enable default local-case enable
you'll be prompted for case-sensitive user/pass when login via ssh( which is only protocol permitted) and then you'll have to enter same user/pass for going into privileged mode
3) for DynDNS :
http://packetlife.net/blog/2009/dec/28/dynamic-dns-ios/
http://www.cisco.com/en/US/docs/ios/ipaddr/command/reference/iad_dns1.html
http://www.cisco.com/en/US/docs/ios/12_3/12_3y/12_3ya8/gt_ddns.html
Regards.
Alain.
08-19-2011 08:16 PM
thanks alain. will try that and get back
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