Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jun 2005 18:22:45 +0200 (CEST)
From:      "P.U.Kruppa" <root@pukruppa.de>
To:        dk dkrules <dkrules7@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Very Dissapointed
Message-ID:  <20050609181128.G48525@www.pukruppa.net>
In-Reply-To: <BAY21-F20031309C5747F0945F69F8AFC0@phx.gbl>
References:  <BAY21-F20031309C5747F0945F69F8AFC0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 9 Jun 2005, dk dkrules wrote:

> I am very dissappointed. I have been looking on the net for 3 days now 
> looking for easy setup guides or How to guides and setting up FreeBSD 5.x 
> with transparent proxy and firewall and there simply is no easy way 
> explaining to beginners how to do such a setup.
1) Before you start playing around with squid and firewall you
    have to make sure your FreeBSD box works as a gateway.
2) When this is done look into google for setup of squid as a
    transparent proxy (these are two or three entries in a config
    file).
3) enable firewall in /etc/rc.conf with lines like
    firewall_enable="YES"
    firewall_script="/etc/firewall.conf"
4) edit your /etc/firewall.conf with something like

    ipfw add 500 fwd 127.0.0.1 tcp from any to any 80 recv rl0
    ipfw add 60000 allow all from any to any

    where rl0 is the device name of your NIC.
5) reboot

Regards,

Uli.

*********************************************
* Peter Ulrich Kruppa - Wuppertal - Germany * 
*********************************************



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