Hi all,

 I have installed a proxy server in a DMZ and I need to redirect all
http traffic from my internal lan to this proxy server in my openbsd
firewall.

 Readming pf.conf manual and squid wiki, I see that this can be
accomplished using divert-to and divert-reply in pf.conf.

 Configuration is like this??

pass in quick on inet proto tcp from 192.0.2.0/24 to port www
divert-to 172.16.1.1 port 8080
pass out quick inet from 192.0.2.0/24 divert-reply

Thanks.

Reply via email to