Re: [squid-users] blocking external users on a bridge when firewall is disabled

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Thu, 14 Sep 2006 10:10:28 +0200

ons 2006-09-13 klockan 19:39 +0000 skrev William Bohannan:

> goes overtime on caching and external users start using it? Is there a way
> to make squid only accept connections from my internal interface? I am
> running two nics in bridge mode.

Yes.

The default squid.conf shipped with Squid reads:

# TAG: http_access
# Allowing or Denying access based on defined access lists
[...]

#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS

# Example rule allowing access from your local networks. Adapt
# to list your (internal) IP networks from where browsing should
# be allowed
#acl our_networks src 192.168.1.0/24 192.168.2.0/24
#http_access allow our_networks

# And finally deny all other access to this proxy
http_access deny all

Regards
Henrik

Received on Thu Sep 14 2006 - 02:10:34 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:03 MDT