niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Apps » Squid
Help required for making squid 2.6 stable 2 transparent
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
SHERDIL
*nix forums beginner


Joined: 18 Jul 2006
Posts: 9

PostPosted: Tue Aug 01, 2006 6:55 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
Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Sat Nov 22, 2008 9:02 pm | All times are GMT
navigation Forum index » Apps » Squid
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Free DNS service required rashed Postfix 0 Tue Aug 12, 2008 11:21 am
No new posts Insert header and footer in every page served by squid ehmedk Squid 0 Tue Apr 22, 2008 6:16 pm
No new posts transparent proxy Crystal Akimoto Squid 3 Fri Jan 26, 2007 5:58 am
No new posts Help required for configuring the VPN Server in Linux SHERDIL security 0 Sun Nov 19, 2006 2:22 pm
No new posts Urgent and imp. Making Squid 2.6 stable as tranpsarent proxy SHERDIL Squid 0 Thu Aug 03, 2006 11:18 am

Gundam 00 | Mortgages | Discount Magazines | Loans | Web Advertising
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
[ Time: 0.1160s ][ Queries: 16 (0.0513s) ][ GZIP on - Debug on ]