Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2007 10:09:14 -0700 (PDT)
From:      Umar <unix.co@gmail.com>
To:        freebsd-pf@freebsd.org
Subject:   local proxy
Message-ID:  <12825908.post@talk.nabble.com>

next in thread | raw e-mail | index | archive | help

Dear Members!!

 I want to restrict my users that they don't bypass my squid proxy in linux
iptables I achieved with these rulese.

$IPTABLES -t nat -A PREROUTING -s 192.168.1.0/24 -d ! 192.168.1.250 -p TCP
--dport 3128 -j DROP
$IPTABLES -t nat -A PREROUTING -s 192.168.1.0/24 -d ! 192.168.1.250 -p TCP
--dport 8080 -j DROP
$IPTABLES -t nat -A PREROUTING -s 192.168.1.0/24 -d ! 192.168.1.250 -p TCP
--dport 80 -j DROP
$IPTABLES -t nat -A PREROUTING -s 192.168.1.0/24 -d ! 192.168.1.250 -p TCP
--dport 6588 -j DROP

now please help me how I can do the same thing with PF

Regards,

Umar Draz


-- 
View this message in context: http://www.nabble.com/local-proxy-tf4497398.html#a12825908
Sent from the freebsd-pf mailing list archive at Nabble.com.




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