Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2003 08:42:24 +0200
From:      Oliver Brandmueller <ob@e-Gitt.NET>
To:        freebsd-stable@freebsd.org
Subject:   Re: ipfw + trasnparent proxy
Message-ID:  <20030916064224.GA90448@e-Gitt.NET>
In-Reply-To: <3F669753.4040205@thepacific.net>
References:  <3F669753.4040205@thepacific.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi.

On Tue, Sep 16, 2003 at 04:53:39PM +1200, Marcos Biscaysaqu wrote:
> Someone know if is possible make a transparent proxy and redirect by 
> ipfw, ??

Yes, it is.

ipfw add fwd 192.168.1.1,3128 tcp from 192.168.1.0/24 to any 80

On 192.168.1.1:3128 should be an http proxy capable of handling
transparent connections in this case. Problem here is, that redirection 
to another port only works on the same machine, this means the router 
should also have an proxy running. Or you redirect to another machine on 
port 80 (next hop, must be in the same network as the router and the 
proxy must be running on Port 80).

Not every high level protocol works with transparent proxying.

Using a transparent proxy should only be done, when users know it.

- Oliver

-- 
| Oliver Brandmueller | Offenbacher Str. 1  | Germany       D-14197 Berlin |
| Fon +49-172-3130856 | Fax +49-172-3145027 | WWW:   http://the.addict.de/ |
|               Ich bin das Internet. Sowahr ich Gott helfe.               |
| Eine gewerbliche Nutzung aller enthaltenen Adressen ist nicht gestattet! |



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030916064224.GA90448>