cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
759
Views
0
Helpful
1
Replies

How to block a single port 1841

mcbosher71
Level 1
Level 1

Hi,

I need to block a single port on my wan side fa0/1 .. my telnet port 23 as it is open and im not going to use it and want to close it ?

thank you

1 Reply 1

ericgarnel
Level 7
Level 7

This example shows how to allow telnet from an internal network, ssh from any but deny anyone else while logging all activity

ip access-list extended TerminalAccess

permit tcp host 10.0.0.2 any eq telnet log

permit tcp any any eq 22 log

deny tcp any any log

!

line vty 0 4

access-class TerminalAccess in

You could also use the line "transport input none"

The best option is to have some secure means to remotely manage the device.

Review Cisco Networking products for a $25 gift card