* Performance of iptables with web proxy
@ 2005-01-17 6:03 DurgaPrasad Adusumalli
2005-01-17 7:58 ` Askar
0 siblings, 1 reply; 3+ messages in thread
From: DurgaPrasad Adusumalli @ 2005-01-17 6:03 UTC (permalink / raw)
To: netfilter
I am using web proxy content filter (Dansguardian) to scan all
outgoing traffic from my LAN. I am using transparent proxying with an
iptable rule that forwards all outgoing traffic to web proxy. This
setup works but all the browsing activity gets slowed down. When I
configure my browser to use proxy Internet access gets faster.
Can someone suggest me how can I enhance the performance of iptables
with this rule is place and without configuring my browser to use
proxy.
Thanks in advance.
Durga Prasad.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Performance of iptables with web proxy
2005-01-17 6:03 Performance of iptables with web proxy DurgaPrasad Adusumalli
@ 2005-01-17 7:58 ` Askar
0 siblings, 0 replies; 3+ messages in thread
From: Askar @ 2005-01-17 7:58 UTC (permalink / raw)
To: DurgaPrasad Adusumalli; +Cc: netfilter
wrong list, why not ask in squid mailing list
regards
On Mon, 17 Jan 2005 11:33:07 +0530, DurgaPrasad Adusumalli
<adusumallid@gmail.com> wrote:
> I am using web proxy content filter (Dansguardian) to scan all
> outgoing traffic from my LAN. I am using transparent proxying with an
> iptable rule that forwards all outgoing traffic to web proxy. This
> setup works but all the browsing activity gets slowed down. When I
> configure my browser to use proxy Internet access gets faster.
>
> Can someone suggest me how can I enhance the performance of iptables
> with this rule is place and without configuring my browser to use
> proxy.
>
> Thanks in advance.
> Durga Prasad.
>
>
--
(after bouncing head on desk for days trying to get mine working, I'll make
your life a little easier)
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Performance of iptables with web proxy
@ 2005-01-17 9:06 Gary W. Smith
0 siblings, 0 replies; 3+ messages in thread
From: Gary W. Smith @ 2005-01-17 9:06 UTC (permalink / raw)
To: Askar, DurgaPrasad Adusumalli; +Cc: netfilter
Read the entire question again... It has more to do with iptables than
squid.
You probably could do some type of fancy pre/post routing. What you
would need to do is write a special routing entry that says anything on
port 80 or 443 going out the firewall that is from any IP address other
than the proxy server needs to be routed to the proxy. I'm not sure how
to do this directly.
But if the proxy server is in the firewall then the rules change. This
is from the squid site. This redirects you to another port on the same
server but what you want is
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT
--to-port 3128
There is another module named tproxy (or something like that) which
sounds like it might do what you want but it might require a kernel
recompile.
HTH
Gary
-----Original Message-----
From: netfilter-bounces@lists.netfilter.org
[mailto:netfilter-bounces@lists.netfilter.org] On Behalf Of Askar
Sent: Sunday, January 16, 2005 11:58 PM
To: DurgaPrasad Adusumalli
Cc: netfilter@lists.netfilter.org
Subject: Re: Performance of iptables with web proxy
wrong list, why not ask in squid mailing list
regards
On Mon, 17 Jan 2005 11:33:07 +0530, DurgaPrasad Adusumalli
<adusumallid@gmail.com> wrote:
> I am using web proxy content filter (Dansguardian) to scan all
> outgoing traffic from my LAN. I am using transparent proxying with an
> iptable rule that forwards all outgoing traffic to web proxy. This
> setup works but all the browsing activity gets slowed down. When I
> configure my browser to use proxy Internet access gets faster.
>
> Can someone suggest me how can I enhance the performance of iptables
> with this rule is place and without configuring my browser to use
> proxy.
>
> Thanks in advance.
> Durga Prasad.
>
>
--
(after bouncing head on desk for days trying to get mine working, I'll
make
your life a little easier)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-01-17 9:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-17 6:03 Performance of iptables with web proxy DurgaPrasad Adusumalli
2005-01-17 7:58 ` Askar
-- strict thread matches above, loose matches on Subject: below --
2005-01-17 9:06 Gary W. Smith
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.