login
Header Space

 
 

Prevent circumventing dansguardian with pf

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <misc@...>
Date: Wednesday, April 25, 2007 - 11:05 am

Greetings!  Included below is my pf.conf set up to use 
dansguardian (proxyport 3128, filterport 8080)
and tinyproxy (listen port 3128) as a transparent 
proxy.

What changes do I need to make to keep someone on 
int_if/int_net from circumventing dansguardian
by changing their browser to point to 3128?

Thanks and take care,

Allen

------8<------cut here------8<------

ext_if="rl0"
int_if="xl0"
int_net="192.168.0.0/24"
proxy_server  =  "127.0.0.1"

tcp_services="{ 113 }"
icmp_types="echoreq"

set block-policy return
set skip on lo
scrub in

nat on $ext_if from !($ext_if) -> ($ext_if:0)
rdr on $int_if inet proto tcp 
   from $int_net 
   to any port www -> $proxy_server port 8080

block in

antispoof quick for { lo $int_if }

pass in inet proto icmp all icmp-type $icmp_types keep state
pass in on $ext_if inet proto tcp 
   from any 
   to ($ext_if) port $tcp_services flags S/SA keep state
pass on $int_if
pass out keep state
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Prevent circumventing dansguardian with pf, Allen Theobald, (Wed Apr 25, 11:05 am)
Re: Prevent circumventing dansguardian with pf, Bryan Irvine, (Mon May 7, 9:31 pm)
Re: Prevent circumventing dansguardian with pf, Chad M Stewart, (Wed Apr 25, 1:29 pm)
Re: Prevent circumventing dansguardian with pf, Henning Brauer, (Fri May 4, 9:10 am)
Re: Prevent circumventing dansguardian with pf, Open Phugu, (Fri May 4, 9:26 am)
Re: Prevent circumventing dansguardian with pf, Joachim Schipper, (Fri May 4, 10:04 am)
Re: Prevent circumventing dansguardian with pf, Bret Lambert, (Fri May 4, 9:47 am)
Re: Prevent circumventing dansguardian with pf, Sebastian Benoit, (Fri May 4, 11:38 am)
Re: Prevent circumventing dansguardian with pf, Jeffrey C. Ollie, (Fri May 4, 10:37 am)
Re: Prevent circumventing dansguardian with pf, Henning Brauer, (Fri May 4, 9:42 am)
Re: Prevent circumventing dansguardian with pf, Antoine Jacoutot, (Fri May 4, 10:01 am)
speck-geostationary