View Single Post
  #1   (View Single Post)  
Old 30th March 2010
jhp jhp is offline
Real Name: John
New User
 
Join Date: Mar 2010
Location: Derbyshire, UK
Posts: 5
Default Selective PF RDR

Hi Everyone

Does anyone know if it's possible to selectively redirect clients using pf to my squid proxy?

I tried this and it didn't seem to work, though it does work if I redirect all. I would like the direct servers list to go direct and not go through the transparent squid (due to authentication and other reasons on the client PCs).

Code:
direct_servers="{ !172.26.0.24, !172.26.0.32, !172.26.0.39, !172.26.0.41 }"

rdr on $int_if inet proto tcp from $int_if:network to $direct_servers port www -> 127.0.0.1 port 3128
Thanks for your time!

John
Reply With Quote