Mike,

It seems you put nat rule in ipf.conf, which is supposed to hold filter
rule.

Move the rule to ipnat.conf.

Andrew




On Wed, 2006-06-28 at 11:45 -0400, Mike Epplin wrote:
> 
> I am new at ipf and have read numerous resources.  I am trying to have SNMP
> traps received by a server, redirected to another server on a different
> port.  The rule I am trying to use is as follows
> 
> rdr bge0 0.0.0.0/8 port 162 -> 10.170.24.127 port 7900 udp
> 
> here is what I get when I try to start up
> 
> cat /etc/opt/ipf/ipf.conf
> rdr bge0 0.0.0.0/8 port 162 -> 10.170.24.127 port 7900 udp
> 
> ./S65ipfboot stop
> 
> ./S65ipfboot start
> syntax error error at "bge0", line 1
> ./S65ipfboot: load of /etc/opt/ipf/ipf.conf into alternate set failed
> Not switching config due to load error.
> 
> 
> 

Reply via email to