cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
632
Views
0
Helpful
1
Replies
mcbosher71
Beginner

How to block a single port 1841

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
Rising star

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.

Create
Recognize Your Peers
Content for Community-Ad