Not sure which IP you are talking about.
Blocking your users to certain sites.
Blocking outside users.
This site has many examples. One should fit with what you are after. http://www.linuxsecurity.com/resourc...AQ/FAQ-10.html
If not search on google for squid.conf ip access list. Found many post on that if no one else has any ideas here.