[ previous ] [ next ] [ threads ]
 
 From:  Petr Verner <verner at ipps dot cz>
 To:  Krzysztof Ostrowski <kostrowski at orix dot pl>
 Cc:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: Odp: Re: [m0n0wall] transparent proxy
 Date:  Fri, 5 Dec 2003 11:53:07 +0100
you have to set address translation (ipnat) as well.
the rule looks like: 
rdr XXX 192.168.10.0/24 port 80 -> 192.168.10.1 port 8080 tcp
where XXX is name of your LAN interface.
but it does not work becouse your proxy is in the same net (LAN) with clients.

>  I known how to do this in IPFW ,( something like  ipfw add 00012 fwd
> 192.168.10.1,8080 tcp from 192.168.10.0/24 to any dst-port 80 via fxp0 )
>  but when i put rules to firewall it's not working.
> I think it's  becouse packet i going to IPfilter first and lattter to
> IPFW.
>  So i have to add rules for ipfilter. I don't know IPfilter, so i don't
> know what rule should i add.
>
> _____________________________________________
> Krzysztof Ostrowski
> IT Administrator
>
> kostrowski at orix dot pl