View Single Post
  #8   (View Single Post)  
Old 7th March 2010
Simon Simon is offline
Port Guard
 
Join Date: Jan 2010
Posts: 30
Default

i don't understand why it doesn't work.

my pf.conf :
--------------
me="egress:network"
mywebsite="www.mywebsite.com"
set skip on lo
set drop policy drop
match in scrub all (no-df max-mss 1440)
rdr pass on egress proto tcp from $me to ! $mywebsite \
port 80 -> $mywebsite port 80
block log all
pass out on egress proto icmp all icmp-type { echoreq unreach }
pass out on egress proto udp from $me to any port domain
pass out on egress proto tcp from $me to $mywebsite port 80
Reply With Quote