cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
707
Views
0
Helpful
2
Replies

Need to know how to block port 80 to outside probes

marcus-young
Level 1
Level 1

I have tried everything in the book but must be doing something wrong I want to block port 80 to outsiders how do you do this on a cisco 800 series router

2 Replies 2

johansens
Level 4
Level 4

Use IOS access-lists:

If you have a Cisco 805:

interface Serial0

..stuff..

ip access-group 101 in

..stuff..

!

access-list 101 deny tcp any 192.168.1.0 255.255.255.0 eq 80

access-list 101 permit ip any any

First line says:

Deny all TCP port 80 sessions originating from "anywhere" with a destination to 192.168.1.0/24

Second line says:

Permit all IP-traffic originating from "anywhere" with a destination of "anywhere".

Where 192.168.1.0/24 is your Ethernet-subnet.

//Stig

4rch4ng3l
Level 1
Level 1

The other guy's got the idea right, but you need a wildcard mask instead of a subnet mask.

0.0.0.255