Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Working squid.conf Re: Example of DVB+EON+Squid?




    [ Part 1, Text/PLAIN  89 lines. ]
    [ Unable to print this part. ]

Martin Moerman wrote:
      Hi all,

      I have tried to configure squid like this but then with the
      114
      transponder and I can't get squid correctly working.
      a ping works over EON but I have done the line below and
      squid is running
      ok. but i see no traffic then over dvb0 with tcpdump..
       

    Since I have a squid working for more than a week without any
interruption except the ones due to EON I'll send you  a squid conf
HOW-TO.

    I am using drivers 0.04 and dvbd2 on RedHat 6.2 with kernel
downgraded to 2.2.13 without any problem .

    First of all you must have a squid working without dvb interface. For
this  you must set the access control section as in the example below.
Also you can modify the httpd _port option.

    After that you must have a working squid for a client in your
network.

    Then you must declare the parent as bellow  .  Setting the never
direct does not allow the squid to feed from another way that the dvb.

    Since the squid.conf has more than 60k you have here only the tags
that you must modify in Boldface
 

# WELCOME TO SQUID 2
# ------------------
#
# This is the default Squid configuration file. You may wish
# to look at http://cache.is.co.za/squid/ for documentation,
# or the Squid home page (http://squid.nlanr.net/) for the FAQ.
#
# The default Squid config file shows what the defaults for
# various options happen to be.  If you don't need to change the
# default, you shouldn't uncomment the line.  Doing so may cause
# run-time problems.  In some cases "none" refers to no default
# setting at all, whilst in other cases it refers to a valid
# option - the comments for that keyword indicate if this is the
# case.
#
_______________________________ stuff deleted _____________________

http_port 8080  # My option! not necessary

_______________________________ stuff deleted _____________________

#          hostname             type     port   port  options
#          -------------------- -------- ----- -----  -----------
cache_peer 194.177.32.44        parent    8080    0   no-query default
login=********:********
 

______________________________ stuff deleted ________________________

# ACCESS CONTROLS
#
-----------------------------------------------------------------------------

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl CONNECT method CONNECT
acl my_client src ***.***.***.***/***.***.***.*** # your
netaddress/netmask

____________________________stuff deleted ____________________

#Default configuration:
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
#
http_access allow localhost
http_access allow my_client
http_access deny all

___________________________ stuff deleted _________________________

#  TAG: never_direct
never_direct allow all

___________________________ stuff deleted _______________________


Home | Main Index | Thread Index