|
|
|
|
|
|
| Author |
Message |
SHERDIL *nix forums beginner
Joined: 18 Jul 2006
Posts: 9
|
Posted: Tue Aug 01, 2006 6:52 am Post subject:
Help required for making squid 2.6 stable 2 transparent
Subject description: Help required for making squid 2.6 stable 2 transparent
|
|
|
Hello,
Dear All.
This is my squid.conf file.
visible_hostname testing
http_port 3128
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_dir ufs /usr/local/squid/var/logs 100 16 256
cache_access_log /usr/local/squid/var/logs/access.log
cache_log /usr/local/squid/var/logs/cache.log
cache_store_log /usr/local/squid/var/logs/store.log
pid_filename /usr/local/squid/var/logs/squid.pid
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 to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling
acl manager proto cache_obaject
acl CONNECT method CONNECT
acl our_networks src 192.168.254.0/24
http_access allow our_networks
http_access allow localhost
http_access deny all
http_reply_access allow all
acl ie6 browser MSIE[[:space:]]6
header_access Accept-Encoding deny ie6
cache_mgr root
cache_effective_user nobody
and this is my iptalbes rules.
echo 1 > /proc/sys/net/ipv4/ip_forward
echo 1 > /usr/include/linux/netfilter_ipv4/ip_conntrack.h
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
but i m not able to run the squid as transparnet proxy, can anybody help me in this regard.
With Thanks.
Shoaib Akbar. |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Sat Nov 22, 2008 9:02 pm | All times are GMT
|
|
MPAA | Society 2007 | Free Advertising | Ringtones | Remortgages
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|