Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access-list. How can I block only one computer from the LAN to WWW

Status
Not open for further replies.

ixleplix

MIS
Feb 6, 2003
129
We have a Pix515 and need to block one problem users inside ip from accessing the internet. I thought I had the syntax correct when I entered the following;

access-list 150 deny tcp host 172.16.1.17 0.0.0.0 eq www
access-list 150 permit ip any any
access-group 150 in interface inside

and nothing happened?
From what I'd read this seemed to be the correct approach, what am I doing wrong?




 
If you want to block ALL activity from the host, the commands would be the following:

access-list 150 deny ip host 172.16.1.17 any
access-list 150 permit ip any any
access-group 150 in interface inside
 
Thanks. We modified it to read

access-list 105 deny tcp host 172.16.50.2 any eq www
access-list 105 permit ip any any
access-group 105 in interface inside

and now it works like a charm!
Thanks again for the help.

 
Just in case your wondering the 1st ip 172.16.1.17 was a test and the 2nd 172.16.50.2 was the final implementation.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top