Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2005 23:11:32 +0200
From:      peter@bgnett.no (Peter N. M. Hansteen)
To:        freebsd-questions@freebsd.org
Subject:   Re: For administrators setting-up pf
Message-ID:  <86u0g7o7p7.fsf@amidala.datadok.no>
In-Reply-To: <dc6701ba05092610251935f2e6@mail.gmail.com> (Carstea Catalin's message of "Mon, 26 Sep 2005 18:25:52 %2B0100")
References:  <dc6701ba05092610251935f2e6@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Carstea Catalin <carstea.catalin@gmail.com> writes:

> i want to setting up my firewall pf with some rules to do 2 conditions:
> Deny all except:
> 2. permit only for 3 users access to pop3 ( ex.: nat only for 3 users
> and only for pop3)

For this, you might want to look into authpf. it lets you set up per
user rules which might be what you are looking for.

> 3. redirect all port  to 8080 for all users. I use proxy for cache and
> log traffic.

You can redirect to eg squid or another proxy. All ports sounds a bit
ambitious - Daniel Hartmeier has a nice writeup on how to set up a
transparent squid at http://www.benzedrine.cx/transquid.html

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
"First, we kill all the spammers" The Usenet Bard, "Twice-forwarded tales"




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