Hello,
thanks for your advice.
I can't test it yet, because I have a problem with the
transparent proxy.
I used following command to redirect all incoming requests
on port 80:
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j
REDIRECT --to-port 880
But SUSE don't redirect the request.
On the client I have as the standard gateway the IP of the
proxy server and in the Firefox configuration no proxy.
I can't understand why that won't work, when I use the
proxy in the config von Firefox, it will work.
Regards,
Chris
----- Original Message -----
From: "Henrik Nordstrom" <henrik_at_henriknordstrom.net>
To: <a_at_exdo.de>
Sent: Wednesday, October 07, 2009 10:39 PM
Subject: Re: AW: Re: [squid-users] Squid and Intranet
> ons 2009-10-07 klockan 11:22 +0200 skrev a_at_exdo.de:
>> > ons 2009-10-07 klockan 09:24 +0200 skrev a_at_exdo.de:
>> >> Hello,
>> >>
>> >> Sorry for my mistake.
>> >> It works.
>> >> But what is when I using the IP-Tables to route every request on port
>> >> 80
>> >> on my proxy port 880.
>> >> Will route the request for local IPs on the proxy port too?
>> >
>> > Yes. Unless you add exceptions for those before the REDIRECT..
>> >
>> > iptables -t nat -A PREROUTING -i eth0 -d local.network/mask -j ACCEPT
>> > iptables -t nat -A PREROUTING -i eth0 -d other.local.ip -j ACCEPT
>> >
>> > Regards
>> > Henrik
>> >
>>
>> Also first I must add these rules and then my rule?
>
> Yes, what I said (before the REDIRECT).
>
> Regards
> Henrik
>
>
Received on Fri Oct 09 2009 - 17:59:59 MDT
This archive was generated by hypermail 2.2.0 : Sat Oct 10 2009 - 12:00:02 MDT