Hello, me again....I asked about setting up an access list to deny the ports that shieldsup! ( say is still open on my 801 ISDN router, namely port 23 (telnet) and port 80. I've just revisited this after a couple of months no action and still having trouble with it and I can't quite grasp some of the concepts. So I have a couple of questions that a Cisco expert may be able to answer:
1. When the documentation talks about applying access lists to an interface, I am meant to be applying them to BRI0? If I do a "show interface" command at telnet I get references to BRI0, BRI0:1, BRI0:2 and finally ethernet 0.
2. For the life of me I can't seem to deny incoming telnet. The commands I have used are:
[ul]
[li]Telnet to router[/li]
[li]type "enable" to become priveleged EXEC mode[/li]
[li]type "configure" to go into Global configuration[/li]
[li]type "access-list 121 deny tcp any any eq 23"[/li]
[li]type "interface BRI0" to enter interface config mode[/li]
[li]type "ip access-group 100 in to activate access list 100"[/li][/ul]
If I then go back to Privelege mode (router#) and type "show access-lists" I get:
Standard IP access list 18
permit 192.168.0.0, wildcard bits 0.0.0.255 (201596 matches) check=1123
Extended IP access list 100
deny tcp any host 192.168.0.1 eq telnet
Extended IP access list 121
deny udp any eq netbios-dgm any (29416 matches)
deny udp any eq netbios-ns any (30494 matches)
deny udp any eq netbios-ss any
deny tcp any eq 137 any
deny tcp any eq 138 any
deny tcp any eq 139 any
permit ip any any time-range TIME (active) (225633 matches)
deny tcp any any eq telnet
The telnet reference at the end is from an earlier attempt a few weeks ago (that doesn't block it), but anyway, it doesn't seem to show the port 23 I just denied. Am I doing this wrong?
4. I know there is the router's FastStep config text file in my Cisco fastStep directory, but where is the routers configuration file kept that has details of the existing access lists?
Sorry if these are simple questions!
Thanks
Dan
1. When the documentation talks about applying access lists to an interface, I am meant to be applying them to BRI0? If I do a "show interface" command at telnet I get references to BRI0, BRI0:1, BRI0:2 and finally ethernet 0.
2. For the life of me I can't seem to deny incoming telnet. The commands I have used are:
[ul]
[li]Telnet to router[/li]
[li]type "enable" to become priveleged EXEC mode[/li]
[li]type "configure" to go into Global configuration[/li]
[li]type "access-list 121 deny tcp any any eq 23"[/li]
[li]type "interface BRI0" to enter interface config mode[/li]
[li]type "ip access-group 100 in to activate access list 100"[/li][/ul]
If I then go back to Privelege mode (router#) and type "show access-lists" I get:
Standard IP access list 18
permit 192.168.0.0, wildcard bits 0.0.0.255 (201596 matches) check=1123
Extended IP access list 100
deny tcp any host 192.168.0.1 eq telnet
Extended IP access list 121
deny udp any eq netbios-dgm any (29416 matches)
deny udp any eq netbios-ns any (30494 matches)
deny udp any eq netbios-ss any
deny tcp any eq 137 any
deny tcp any eq 138 any
deny tcp any eq 139 any
permit ip any any time-range TIME (active) (225633 matches)
deny tcp any any eq telnet
The telnet reference at the end is from an earlier attempt a few weeks ago (that doesn't block it), but anyway, it doesn't seem to show the port 23 I just denied. Am I doing this wrong?
4. I know there is the router's FastStep config text file in my Cisco fastStep directory, but where is the routers configuration file kept that has details of the existing access lists?
Sorry if these are simple questions!
Thanks
Dan