Can't telnet to AS from WAN!

imsiskoimsisko Member Posts: 32 ■■□□□□□□□□
Hi folks!

I have this issue that I can telnet to my Access Server from the LAN but not from WAN. I thought it's router/firewall misconfiguration but when I assign the same port forwarding rule to another device(my pc) it works fine. Here is the config of the AS:

AS#sh run
Building configuration...

Current configuration:
!
version 11.2
no service password-encryption
no service udp-small-servers
no service tcp-small-servers
!
hostname AS
!
aaa new-model
aaa authentication login default local
!
username sisko password 0 cisco
ip subnet-zero
no ip domain-lookup
ip host R1 2001 100.1.1.1
ip host R2 2002 100.1.1.1
ip host R3 2003 100.1.1.1
ip host S1 2004 100.1.1.1
ip host S2 2005 100.1.1.1
ip host S3 2006 100.1.1.1
ip host S4 2007 100.1.1.1
!
interface Loopback0
ip address 100.1.1.1 255.255.255.255
no ip directed-broadcast
no logging event subif-link-status
!
interface Ethernet0
ip address 10.0.0.10 255.255.255.224
no logging event subif-link-status
!
interface Serial0
no ip address
no logging event subif-link-status
shutdown
no fair-queue
!
ip default-gateway 10.0.0.1
ip classless
!
line con 0
exec-timeout 0 0
password cisco
line 1 8
no exec
transport input all
line 9 16
line aux 0
line vty 0 4
exec-timeout 0 0
password cisco
!
end

AS#

My default gateway is 10.0.0.1/27
Any thoughts?

Thanks!

Comments

  • alan2308alan2308 Member Posts: 1,854 ■■■■■■■■□□
    Router#conf t
    Router(config)#line vty 0 4
    Router(config-line)#password cisco
    Router(config-line)#login

    Ttelnet access requires a password and the login command to allow telnet logins.

    Edit: You can also use the "no login" command, which contrary to what it sounds like it would do, allows telnet login without needing a password.
  • imsiskoimsisko Member Posts: 32 ■■□□□□□□□□
    Yes I've tried to add that command as well but the router didn't accept it.

    #Incomplete command

    The only format that worked was the

    #login authentication default

    The weird thing is that I can telnet into the router from a local computer (username and password required) but not from the outside network.
    I'll again *later when I go home.*

    Thanks!
  • networker050184networker050184 Mod Posts: 11,962 Mod
    You need to use the ip route command for a static default route not the ip default-gateway.
    An expert is a man who has made all the mistakes which can be made.
  • imsiskoimsisko Member Posts: 32 ■■□□□□□□□□
    Thanks networker! I did some searching and it finally makes sense why it worked with a switch but not with the router!!
Sign In or Register to comment.