Access list

15 pts.
Tags:
Access List
router
I want to config a router to deny any use for TCP port 80. How can I do that?

Answer Wiki

Thanks. We'll let you know when a new response is added.

On a Cisco router first create the access list which would look something like the following (issued in config mode) :

access-list 101 deny tcp any any eq 80
access-list 101 permit ip any any

Next apply to the correct interface (must be in config-if mode) as an inbound or outbound access list using one of the following commands:

ip access-group 101 out

or

ip access-group 101 in
<b>
Make sure you test any and all access lists before putting them in to production. If you enter the wrong thing it can shut your network down so proceed with caution and at your own risk.</b>

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    Any chance you could give a hint about what kind of router you're working with? There's not much chance of helping without something to go on. Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following