Home  
  Microsoft  
  Cisco  
  CompTIA  
  CWNP  
  InfoSecurity  
  Forums  
  Blogs  
  Topsites  
  Watch free videos online  
     
  Subnet Calculator  
  Online Degrees  
  Exam Vouchers  
  Free Magazines  
     

  Watch free videos online  
   

 

Member
Registered Member
 
Dubuku57's Avatar
 
Join Date: May 2009
Location: Singapore
Posts: 81

Certifications: CCNA
Dubuku57 is on a distinguished road
Old 07-02-2009, 11:38 PM   #1 (permalink)
Question Stuck on ACL

Hi,

When configuring ACL on a router interface to prevent telnet traffic, i wrote this ACL list:

access-list 101 deny tcp 5.1.1.10 0.0.0.0 5.1.3.0 0.0.0.255 eq telnet
access-list 101 permit any any
Router A: int eth0 (ethernet interface connects to the PCs)
Router A: ip access-group 101 in

My config is smth like this:
Router A connects to PC A(5.1.1.8/24), B(5.1.1.10/24)
Router B to PC C(5.1.2.10/2), PC D(5.1.2.20/24)
Router C to PC E(5.1.3.8/24), PC F(5.1.3.10/24)
RouterA--RouterB--RouterC

Now suddenly PC F is not able to telnet into PC B..Why is this so? Shouldnt it be just PC B not able to telnet PC E and PC F?

Thanks guys!


Dubuku57 is offline   Reply With Quote

Login/register to remove this advertisement.
Junior Member
Registered Member
 
Join Date: May 2009
Posts: 13

Certifications: CCNA
Danny0990 is on a distinguished road
Old 07-02-2009, 11:46 PM   #2 (permalink)

to prevent telnet you need to apply the list to your vty

so you would be doing:

line vty 0 4
access-class _____ in
login

Danny0990 is offline   Reply With Quote
BOFH - Network Division
Registered Member
 
Forsaken_GA's Avatar
 
Join Date: Aug 2008
Location: The Plane of Suck
Posts: 984

Certifications: CCNP, CCDP, MCP, A+
Forsaken_GA is a jewel in the roughForsaken_GA is a jewel in the roughForsaken_GA is a jewel in the rough
Old 07-03-2009, 12:23 AM   #3 (permalink)

without seeing your exact topology and all of the configs, I'd bet that your return traffic is getting bumped by the ACL



__________________
--- Tearline v1.0
* Origin: narco.noctum.net 'So what if you can see the dark inside of me...' (127:0/0.1)

"We think the packets are being devoured by Nidhoggr, the Net Serpent"

Forsaken_GA is offline   Reply With Quote
Member
Registered Member
 
Dubuku57's Avatar
 
Join Date: May 2009
Location: Singapore
Posts: 81

Certifications: CCNA
Dubuku57 is on a distinguished road
Old 07-03-2009, 01:19 AM   #4 (permalink)

Hi Danny,

Doesnt this command 'access class' only apply is i want to restrict access to the router itself? But my acl is trying to restrict the telnet traffic to the PCs...Is it the same?

Actually im unabe to telnet from any PC to any PC.. do i need to set passwords on the vty lines of the routers?

Think im confusing myself...argh!

Dubuku57 is offline   Reply With Quote
BOFH - Network Division
Registered Member
 
Forsaken_GA's Avatar
 
Join Date: Aug 2008
Location: The Plane of Suck
Posts: 984

Certifications: CCNP, CCDP, MCP, A+
Forsaken_GA is a jewel in the roughForsaken_GA is a jewel in the roughForsaken_GA is a jewel in the rough
Old 07-03-2009, 01:30 AM   #5 (permalink)

if you're trying to telnet directly to your computers, they need to be running a telnet server to receive and process that traffic. most operating systems these days don't run a telnet daemon by default, it's something you have to enable on purpose (telnet is quite insecure, passwords are transmitted in clear text and can be sniffed on the wire, which is why ssh has replaced it for most of the world)

Setting passwords and access class on the router will only effect traffic destined for the router, not passing through it to another address



__________________
--- Tearline v1.0
* Origin: narco.noctum.net 'So what if you can see the dark inside of me...' (127:0/0.1)

"We think the packets are being devoured by Nidhoggr, the Net Serpent"

Forsaken_GA is offline   Reply With Quote
Member
Registered Member
 
Dubuku57's Avatar
 
Join Date: May 2009
Location: Singapore
Posts: 81

Certifications: CCNA
Dubuku57 is on a distinguished road
Old 07-03-2009, 11:49 PM   #6 (permalink)

Oh! How do i find out if the telnet daemon is running on the PC? The error message when i try to telnet out is

"Connection to x.x.x.x is closed by foriegn host"(from anh PC to router) - this cus i din set the password i guess.
"Connection refused by remote host"(from PC F,C,etc to PC B,D,etc)
"Connection timed out;Remote host not responding" (from PC B to F only)

Is there any specific error message that can tell me which it is?

Thanks lot..

Dubuku57 is offline   Reply With Quote
BOFH - Network Division
Registered Member
 
Forsaken_GA's Avatar
 
Join Date: Aug 2008
Location: The Plane of Suck
Posts: 984

Certifications: CCNP, CCDP, MCP, A+
Forsaken_GA is a jewel in the roughForsaken_GA is a jewel in the roughForsaken_GA is a jewel in the rough
Old 07-03-2009, 11:52 PM   #7 (permalink)

while logged into that pc, drop to a command prompt and type

telnet localhost

if it tells you connection refused, you aint running a telnet daemon on that box



__________________
--- Tearline v1.0
* Origin: narco.noctum.net 'So what if you can see the dark inside of me...' (127:0/0.1)

"We think the packets are being devoured by Nidhoggr, the Net Serpent"

Forsaken_GA is offline   Reply With Quote
Member
Registered Member
 
Dubuku57's Avatar
 
Join Date: May 2009
Location: Singapore
Posts: 81

Certifications: CCNA
Dubuku57 is on a distinguished road
Old 07-04-2009, 01:17 PM   #8 (permalink)

Oh okay, doesnt seem like telnet runs here.. Thanks!!

Dubuku57 is offline   Reply With Quote
Member
Registered Member
 
Dubuku57's Avatar
 
Join Date: May 2009
Location: Singapore
Posts: 81

Certifications: CCNA
Dubuku57 is on a distinguished road
Old 07-04-2009, 01:35 PM   #9 (permalink)

Since im unable to test this out, could you pls enlighten me on what the behaivour would be? Im thinking with the ACL(below), PC B wont be able to telnet PC E and F. But im wondering if PC E and F would be able to telnet into B? Like would returning traffic be blocked also(like in the case of HTTP)?

access-list 101 deny tcp 5.1.1.10 0.0.0.0 5.1.3.0 0.0.0.255 eq telnet
access-list 101 permit any any
Router A: int eth0 (ethernet interface connects to the PCs)
Router A: ip access-group 101 in

Thanks again!

Dubuku57 is offline   Reply With Quote
Member
Registered Member
 
Dubuku57's Avatar
 
Join Date: May 2009
Location: Singapore
Posts: 81

Certifications: CCNA
Dubuku57 is on a distinguished road
Old 07-08-2009, 12:07 AM   #10 (permalink)
Default Stuck on ACL contd

Any advice on returning telnet(or any other traffic) for the above problem? Thanks so much...

Dubuku57 is offline   Reply With Quote
Bookmarks
Go Back TechExams.net IT Certification Forums > Cisco > CCNA / CCENT
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT. The time now is 05:05 PM.

 
 
Featured Sponsors

TrainSignal - “Hands On” computer training for IT professionals. Network+ Training, MCSE, Cisco & more! Visit Train Signal’s free training site to get loads of Free Computer Training, videos, articles and practice exams.

Preplogic - Sign up now to get Unlimited Access to PrepLogic's entire video training library. Enjoy open access to Microsoft Server 2008, CCNA, CISSP®, PMP and many more. Get Unlimited Access

 

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
TechExams.net 2009