View Single Post
  #4   (View Single Post)  
Old 18th January 2009
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,128
Default

You could do something like this:
Code:
nat on $EXT_IF from 192.168.1.0/24 to any -> x.x.x.88
nat on $EXT_IF from 10.0.0.0/24 to any -> x.x.x.89
Just adjust it your two groups. See the BNF grammar at the end of the pf.conf man page.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote