Date: Fri, 19 Sep 2003 15:48:30 +1200 From: Marcos Biscaysaqu <marcos@thepacific.net> To: Bob Hall <rjhjr@cox.net>, freebsd-stable@freebsd.org Subject: Re: ipfw + trasnparent proxy Message-ID: <3F6A7C8E.7080205@thepacific.net> In-Reply-To: <20030918010728.GB14063@kongemord.krig.net> References: <3F669753.4040205@thepacific.net> <20030916064224.GA90448@e-Gitt.NET> <20030916065615.GB5711@kongemord.krig.net> <3F6775D0.1030501@thepacific.net> <20030916222806.GA8681@kongemord.krig.net> <20030917004141.GC8911@kongemord.krig.net> <3F68D526.8080909@thepacific.net> <20030918010728.GB14063@kongemord.krig.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi there Why the redirectionis no working, what more I need? ${fwcmd} add fwd 127.0.0.1,3128 tcp from any to any 80 in via ${iif} thanks Marcos Bob Hall wrote: >On Thu, Sep 18, 2003 at 09:41:58AM +1200, Marcos Biscaysaqu wrote: > > >>Hi Bob. >> I have the proxy working and setting to trasnparent proxy, and I >>have got my IPFW working. the problem is >>I have my proxy on port 3218 and I want redirect all the traffic on port >>80 to my proxy so the client don't need setup the proxy in them browser. >>Do you know how can I make work it with IPFW. >>thanks >> >> > >OK. To recapitulate, you need > options IPFIREWALL #firewall > options IPFIREWALL_FORWARD #enable transparent proxy support >in the kernel config file, and then you need to recompile. If IPFW works, >then you obviously have the first. Make sure you've recompiled with the >second also. > >You need the following line in rc.firewall: > ${fwcmd} add fwd 127.0.0.1,3128 tcp from any to any 80 in via ${iif} >where iif is the internal interface that your proxy box uses to communicate >with your LAN. For example, my firewall file contains > iif="fxp0" > >Further questions should go to freebsd-questions, rather than >freebsd-stable. > >Bob Hall >_______________________________________________ >freebsd-stable@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-stable >To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > > > -- Marcos Biscaysaqu Systems Administrator ThePacific.Net Ltd.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F6A7C8E.7080205>