On Sat, 30 Mar 2002, Steven Kerr wrote: > Hi > > Is there a way to tell squid NOT to listen to a specific interface. > > I know you can set up a 'acl' to deny from specific addresses, but I > don't want squid to bind to the port on a specific interface > > Is it possible, something along the lines of the samba host allow > directive > > hosts allow = 192.168.1 > > SK > head -48 /etc/squid/squid.conf | tail -28
# TAG: http_port # Usage: port # hostname:port # 1.2.3.4:port # # The socket addresses where Squid will listen for HTTP client # requests. You may specify multiple socket addresses. # There are three forms: port alone, hostname with port, and # IP address with port. If you specify a hostname or IP # address, then Squid binds the socket to that specific # address. This replaces the old 'tcp_incoming_address' # option. Most likely, you do not need to bind to a specific # address, so you can use the port number alone. # # The default port number is 3128. # # If you are running Squid in accelerator mode, then you # probably want to listen on port 80 also, or instead. # # The -a command line option will override the *first* port # number listed here. That option will NOT override an IP # address, however. # # You may specify multiple socket addresses on multiple lines. # #http_port 3128 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
