Activating telnet on dialer interface

Hi, I'm a bit of a Cisco newb, so some help would be appreciated.

I have a Cisco 827h that is acting as a basic DSL modem/ router, however, telnet is not activated on the dialer port (I want in active temporarily while I do some remote work).

Very simply, how do I activate telnet on the dialer interface?

From this group, I got the following commands

in config mode:

enable password enter_your_enable_password_here line vty 0 4 password enter_your_telnet_password_here login ^C write

Is this correct? Does this look at the dialer interface?

Your help is really appreciated, thanks

Nick

Reply to
youngerpants
Loading thread data ...

in order to help, here is my config file (with IP's and passwords blanked out)

Current configuration : 1559 bytes ! version 12.3 no service pad service timestamps debug datetime msec service timestamps log datetime msec service password-encryption ! hostname xxxxxxxxxx ! boot-start-marker boot-end-marker ! enable secret 5 xxxxxxxxxxxxx ! username admin privilege 15 password 7 xxxxxxxxxxx no aaa new-model ip subnet-zero ip name-server xxx.xxx.xxx.xxx ip name-server xxx.xxx.xxx.xxx ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Ethernet0 ip address xxx.xxx.xxx.xxx 255.255.255.0 ip nat inside hold-queue 100 out ! interface ATM0 no ip address ip access-group 101 in no ip mroute-cache no atm ilmi-keepalive dsl operating-mode auto hold-queue 224 in pvc 0/38 encapsulation aal5mux ppp dialer dialer pool-member 1 ! ! interface Dialer0 ip address xxx.xxx.xxx.xxx 255.255.255.248 ip nat outside encapsulation ppp dialer pool 1 dialer-group 1 ppp authentication chap callin ppp chap hostname xxxxxxxxxx ppp chap password 7 xxxxxxxxxxxx ! ip nat inside source list 1 interface Dialer0 overload ip classless ip route 0.0.0.0 0.0.0.0 Dialer0 ip http server no ip http secure-server ! access-list 1 permit xxx.xxx.xxx.xxx 0.0.0.7 access-list 101 permit tcp any any established access-list 101 deny ip any any dialer-list 1 protocol ip permit ! ! ! line con 0 password 7 xxxxxxxxxxxxxx login transport preferred all transport output all stopbits 1 line vty 0 4 exec-timeout 120 0 password 7 xxxxxxxxxxxxxx login local length 0 transport preferred all transport input all transport output all ! scheduler max-task-time 5000 end

Can anyone tell me why I cant telnet in from the "outside"

thanks again

Reply to
youngerpants

Hi,

I wouldn't allow telnet access from the outside world, rather setup ssh from the outside...much safer.

telnet access through and it should be applied to the dialer interface as far as I am aware and not the ATM interface.

Edit your access-list 101 to look like this for telnet: access-list 101 permit tcp any any established access-list 101 permit tcp any any eq telnet access-list 101 deny ip any any

and then apply to your dialer interface. int dialer 0 ip access-group 101 in

If you want to only have certain IPs accessing telnet then create a new access-list and apply it to the line:

access-list 2 permit xxx.xxx.xxx.xxx access-list 2 permit xxx.xxx.xxx.xxx access-list 2 deny any

Then apply access-list 2 to the line: access-class 2 in

Hope this helps

Rob

Reply to
RobO

I don't think that SSH is an option on the 827.

Reply to
Chris

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.