• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 288
  • Last Modified:

Cisco Router 2600 .. How to turn off out going Port?


On the Cisco router 2600, I need to block (outgoing and incomming) port (IRC).
How do I do this.


- Jeff
1 Solution
You need to use an access-list to do this. The problem is that there are a lot of ports that might be used by IRC but here's an example of what to do:

In config mode:

access-list 100 deny tcp any any eq 6667
access-list 100 permit ip any any

interface serial 0/0
 ip access-group 100 in
 ip access-group 100 out

Do you see the logic? You create an access list with a number. then you apply it on the interface where you want the control as an access-group. In means traffic entering the interface. Out means traffic leaving the interface. You wanted it both ways, so you have it. You could make different lists and apply one in and the other out.

Access lists have an implicit deny at the end, so you have to do the above. the better thing is to set up a list that permits everything you'll allow and deny everything else at the end.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now