Hi, these simple rules works for me !
Remember how good is the learning process !
I hope this can help !
ext_if="vr0"
dmz_if="sis1"
int_if="sis0"
ext_ip="123.45.67.89"
#Don't Filter on the loopback interface
set block-policy drop
set skip on lo
#NORMALIZACION DE PAQUETES
scrub in all
scrub out on $ext_if all random-id
nat on $ext_if from !($ext_if) -> $ext_ip
block in on { sis0 , vr0 } all
block out on { sis0 , vr0 } all
pass out keep state
antispoof quick for { lo $int_if }
pass in on $int_if inet proto tcp all flags S/SA keep state
pass in on $int_if inet proto udp all keep state
pass in on $int_if inet proto icmp all keep state
pass in on $int_if inet proto esp all keep state
pass out on $ext_if inet proto tcp all flags S/SA keep state
pass out on $ext_if inet proto udp all keep state
pass out on $ext_if inet proto icmp all keep state
pass out on $ext_if inet proto esp all keep state
On Wed, Feb 25, 2009 at 8:39 PM, patrick keshishian <pkeshish@gmail.com>wrote: