[squid-users] transparent proxy problem again

This is a discussion on [squid-users] transparent proxy problem again within the Squid Users forums, part of the Web Server and Related Forums category; Hi, For life of it I am still unable to get transparent proxy working. Now I am trying it on ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-30-2003
Payal Rathod
 
Posts: n/a
Default [squid-users] transparent proxy problem again

Hi,
For life of it I am still unable to get transparent proxy working.
Now I am trying it on a single standalone Linux Mdk 9.1 box with
dial-up connection to net with squid.

Then I removed the proxy tab from links and tried surfing the net hoping
that access_log will be filled no matter if proxy is enabled or not, but
I can still browse the sites and access_log is not filled/logged at all.
Only when I enable proxy settings in my browser it is getting accessed.

Can someone help in this?
My squid configuration details are given below.


# squid -v
Squid Cache: Version 2.5.STABLE1-20030121
configure options: i586-mandrake-linux-gnu --prefix=/usr
--exec-prefix=/usr --bindir=/usr/sbin --sbindir=/usr/sbin
--sysconfdir=/etc/squid --datadir=/usr/share --includedir=/usr/include
--libdir=/usr/lib --libexecdir=/usr/lib/squid --localstatedir=/var
--sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --enable-poll --enable-snmp
--enable-removal-policies=heap,lru --enable-useragent-log --enable-carp
--enable-async-io --enable-storeio=aufs,coss,diskd,ufs,null
--enable-htcp --enable-delay-pools --enable-linux-netfilter
--with-pthreads --enable-ssl --enable-auth=basic,digest,ntlm
--enable-basic-auth-helpers=winbind,multi-domain-NTLM,getpwnam,YP,SMB,SASL,PAM,NCSA,MSNT,LDAP
--enable-ntlm-auth-helpers=SMB,fakeauth,no_check,winbind
--enable-digest-auth-helpers=password

I have in my squid.conf,

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

iptables is used like this,

# iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT
--to-port 3128

# iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
REDIRECT tcp -- anywhere anywhere tcp dpt:http
redir ports 3128

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

With warm regards,
-Payal


--
"Visit GNU/Linux Success Stories"
http://payal.staticky.com
Guest-Book Section Updated.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:55 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0