Subject: Re: resetting the IP packet filter rules without rebooting...
To: None <>
From: Martin Husemann <>
List: netbsd-users
Date: 11/25/2002 15:11:50
On Mon, Nov 25, 2002 at 09:05:06AM -0500, Sam Carleton wrote:
> This subject pretty much says it all, how does one go about applying
> the IP packet filter rules (ipf.conf and ipnat.conf) without rebooting
> the NetBSD machine?

I use 

  sh /etc/rc.d/ipnat reload

(which does a "ipnat -F -C -f /etc/ipnat.conf" internally)

That's the nice thing about /etc/rc.d scripts - you don't have to remember the
details for each of them, since they accept a common set of commands like
start, stop, restart and reload (where the latter is not always implemented,