Don't you need to have a pass line somewhere? Investigate keeping state, too.

On 27/05/05, Kevin Frand <[EMAIL PROTECTED]> wrote:
> I have two private networks that need to pass filemaker data.  The
> filemaker server lives in Priv1, the clients reside in Priv2:
> If I use an rdr statement, the packets pass through, but can't be
> responded to.
> If I nat, the packets never arrive at the filemaker server.
> 
> Any suggestions?
> 
> Thanks,
> Kevin
> 
> #       $OpenBSD: pf.conf,v 1.28 2004/04/29 21:03:09 frantzen Exp $
> #
> # See pf.conf(5) and /usr/share/pf for syntax and examples.
> # Remember to set net.inet.ip.forwarding=1 and/or net.inet6.ip6.forwarding=1
> # in /etc/sysctl.conf if packets are to be forwarded between interfaces.
> 
> ###############
> #   Macros    #
> ###############
> priv1_if="sis0"
> priv2_if="sis1"
> priv1_add="172.18.152.33"
> priv2_add="192.168.192.34"
> filemaker="172.18.152.16"
> client="192.168.192.104"
> 
> ###############
> #   Tables    #
> ###############
> #none
> 
> ###############
> #   Options   #
> ###############
> #none
> 
> ###############
> # Translation #
> ###############
> #none
> 
> ###############
> # Redirection #
> ###############
> nat on $priv2_if proto tcp from $client to $priv2_add -> $filemaker
> #rdr on $priv2_if proto tcp from any to $priv2_add port 5001 ->
> $filemaker port 5001
> 
> ####################
> # Packet Filtering #
> ####################
> #none
> 
> 


-- 
Adam Gleave
[ OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005 ]

Reply via email to